I agree that maven error messages are not always as self explaining as they should but in this case it's quite obvious what's wrong:

> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------ > [INFO] Cannot create the build number because you have local modifications :

Your Working copy contains localy modified files and the build-number plugin doesn't lke that.

-Tim

[EMAIL PROTECTED] schrieb:
Hi Mavenizers,

After installing the subversion binaries, and retrying to compile I had this :

[DEBUG] Configuring mojo 'org.codehaus.mojo:maven-buildnumber-plugin:0.9.4:create' 
-->
[DEBUG]   (s) basedir = C:\works\workspaceM2\myAppName-v1.3
[DEBUG]   (s) doCheck = true
[DEBUG]   (s) doUpdate = true
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (s) urlScm = scm:svn:https://www.mycompany.ma/svnrepos/myAppName/v1.3
[DEBUG] -- end configuration --
[INFO] [buildnumber:create {execution: default}]
[INFO] Verifying there are no local modifications ...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: C:\works\workspaceM2\myAppName-v1.3
[INFO] Unknown file status: '!'.
[INFO] Unknown file status: '!'.
[INFO] Unknown file status: '!'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Cannot create the build number because you have local modifications : [pom.xml:unknown]
[mvn:unknown]
[.project:modified]
[.classpath:modified]

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot create the build number because you have local modifications : [pom.xml:unknown]
[mvn:unknown]
[.project:modified]
[.classpath:modified]

    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
    at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot create the build number because you have local modifications : [pom.xml:unknown]
[mvn:unknown]
[.project:modified]
[.classpath:modified]

    at 
org.codehaus.mojo.buildNumber.BuildNumberMojo.checkForLocalModifications(BuildNumberMojo.java:347)
    at 
org.codehaus.mojo.buildNumber.BuildNumberMojo.execute(BuildNumberMojo.java:288)
    at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
    at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
    ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33 seconds
[INFO] Finished at: Fri Apr 27 14:44:39 GMT 2007
[INFO] Final Memory: 4M/9M
[INFO] ------------------------------------------------------------------------



I just want a SIMPLE Build Number ! why is it so complicated ??

(sorry)

Thanks for helping
Nawfel BERAICH




___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to