Kelvin, I know that the internet is 'without errors', but I would like to suggest to you that you take a closer look at Jerome's answer and try if it solves your problem.
Kind regards, Stephan On 07/04/14 16:10, Kelvin Young wrote: > Hi , > the phase is copy from the link , so I sure it is correct command. > > > 2014-04-07 18:17 GMT+08:00 J?r?me LELEU <[email protected] > <mailto:[email protected]>>: > > Hi, > > /Unknown lifecycle phase "chean"/: did you type /chean/ instead of > /clean/? > Best, > J?r?me > > > > 2014-04-07 12:08 GMT+02:00 Kelvin Young <[email protected] > <mailto:[email protected]>>: > > Hi , > I have followed the link to setup it , but got the following > error , would advise what is wrong ? thanks > > error message > > ================================================================================================================ > Some problems were encountered while building the effective > model for adde.com:local-cas:war:1.0-SNAPSHOT > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-war-plugin is missing. @ line > 13, column 12 > [WARNING] > [WARNING] It is highly recommended to fix these problems > because they threaten the stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no > longer support building such malformed projects. > [WARNING] > [INFO] > [INFO] Using the builder > > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder > with a thread count of 1 > [INFO] > [INFO] > > ------------------------------------------------------------------------ > [INFO] Building local-cas 1.0-SNAPSHOT > [INFO] > > ------------------------------------------------------------------------ > [INFO] > > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > > ------------------------------------------------------------------------ > [INFO] Total time: 0.292 s > [INFO] Finished at: 2014-04-07T18:05:01+08:00 > [INFO] Final Memory: 7M/85M > [INFO] > > ------------------------------------------------------------------------ > [ERROR] Unknown lifecycle phase "chean". You must specify a > valid lifecycle phase or a goal in the format > <plugin-prefix>:<goal> or > <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. > Available lifecycle phases are: validate, initialize, > generate-sources, process-sources, generate-resources, > process-resources, compile, process-classes, > generate-test-sources, process-test-sources, > generate-test-resources, process-test-resources, test-compile, > process-test-classes, test, prepare-package, package, > pre-integration-test, integration-test, post-integration-test, > verify, install, deploy, pre-clean, clean, post-clean, > pre-site, site, post-site, site-deploy. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run > Maven with the -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug > logging. > [ERROR] > [ERROR] For more information about the errors and possible > solutions, please read the following articles: > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException > > ================================================================================================================ > $vi pom.xml > > ================================================================================================================ > > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd "> > <modelVersion>4.0.0</modelVersion> > <groupId>adde.com <http://adde.com/></groupId> > <artifactId>local-cas</artifactId> > <packaging>war</packaging> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <plugin> > <artifactId>maven-war-plugin</artifactId> > <configuration> > <warName>cas</warName> > </configuration> > </plugin> > </plugins> > </build> > <dependencies> > <dependency> > <groupId>org.jasig.cas</groupId> > <artifactId>cas-server-webapp</artifactId> > <version>${cas.version}</version> > <type>war</type> > <scope>runtime</scope> > </dependency> > </dependencies> > <properties> > <cas.version>3.5.2</cas.version> > </properties> > <repositories> > <repository> > <id>ja-sig</id> > > <url>http://oss.sonatype.org/content/repositories/releases/ </url> > </repository> > </repositories> > </project> > Let's walk through this step by step: > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > </project> > > ================================================================================================================ > > > 2014-03-26 13:52 GMT+08:00 amy <[email protected] > <mailto:[email protected]>>: > > I am new to use CAS . > I am doing the project of upgrade CAS 2.x to CAS 3 latest > version , I just find these two version are very different > , for example , I just found the file web.xml in CAS2 , > the corresponding file in CAS3 is called pom.xml , am I > right ? > I know there are many different in this two version , > could advise which configuration file has changed the file > name ? if I upgrade from CAS2 to CAS3 , what I should do ? > could you provide advice ? very thanks > -- > You are currently subscribed to [email protected] > <mailto:[email protected]> as: [email protected] > <mailto:[email protected]> > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed [email protected] > <mailto:[email protected]> as:[email protected] > <mailto:[email protected]> > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed [email protected] > <mailto:[email protected]> as:[email protected] > <mailto:[email protected]> > To unsubscribe, change settings or access archives, > seehttp://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
