Please repost the error Maven returns when you run "mvn clean".

        Andy

On Tue, 8 Apr 2014, Kelvin Young wrote:

> Hi ,
>
> The error occurs when use "clean" , would advise how to fix it ? thanks
>
> 2014-04-07 23:58 GMT+08:00 Kelvin Young <[email protected]>:
>
>> Hi ,
>>
>> It should be "clean" , I used "clean" not "chean" .
>>
>>
>>
>>
>> 2014-04-07 22:34 GMT+08:00 Robert Oschwald <[email protected]>:
>>
>>
>>  Definitely no "chean" on
>>> https://wiki.jasig.org/display/CASUM/Best+Practice+-+Setting+Up+CAS+Locally+using+the+Maven+WAR+Overlay+Method
>>>
>>>
>>> and not on
>>>
>>>
>>> http://jasig.github.io/cas/current/installation/Maven-Overlay-Installation.htmlas
>>>  well.
>>>
>>> So what link are you referring to, Kelvin?
>>>
>>> Robert
>>>
>>>
>>>
>>>
>>>  Am 07.04.2014 um 16:24 schrieb Scott Battaglia <
>>> [email protected]>:
>>>
>>>   "clean" is the appropriate term, not "chean".  If you can point us to
>>> the exact link that says chean instead of clean, we'll be happy to change
>>> it (assuming we're the host of the page).
>>>
>>>
>>> On Mon, Apr 7, 2014 at 10:10 AM, Kelvin Young <[email protected]> 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]>:
>>>>
>>>>  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]>:
>>>>>
>>>>>>
>>>>>>
>>>>>> 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</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]>:
>>>>>>
>>>>>>> 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] 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
>>>>>>
>>>>>>
>>>>>  --
>>>>> 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
>>>>
>>>>
>>> --
>>> 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
>>>
>>>
>>
>
> -- 
> 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

Reply via email to