What's the output of svn --non-interactive status when you do it manually? I once had a problem because of the internationalization of the messages.
In my case, the svn messages were displayed in french. The calling code (was maven-buidnumber-plugin now that I think of it) was trying to parse the svn output. But as the code was written only for english output, it didn't work. The way I did: I deleted the i18n properties files from the local svn installation, then it worked fine. Cheers. > -----Message d'origine----- > De : Oscar Picasso [mailto:[EMAIL PROTECTED] > Envoyé : lundi 31 mars 2008 21:19 > À : Maven Users List > Objet : release : Unable to check for local modifications > > Hi, > > When I do a release:prepare I get an "Unable to check for > local modifications" (see below). > > From the logs it seems the problem come when maven tries to > execute svn --non-interactive status. > > However if I execute svn --non-interactive status, it works > fine. Any idea ? > > Thanks > > ============================================================== > =============== > [INFO] [release:prepare] > [INFO] Resuming release from phase 'scm-check-modifications' > [INFO] Verifying that there are no local modifications... > [INFO] Executing: svn --non-interactive status [INFO] Working > directory: C:\mycomp\workspace\my-app [INFO] > -------------------------------------------------------------- > ---------- > [ERROR] BUILD FAILURE > [INFO] > -------------------------------------------------------------- > ---------- > [INFO] Unable to check for local modifications Provider message: > The svn command failed. > Command output: > > [INFO] > -------------------------------------------------------------- > ---------- > [INFO] Trace > org.apache.maven.BuildFailureException: Unable to check for > local modifications Provider message: > The svn command failed. > Command output: > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (Defa > ultLifecycleExecutor.java:560) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone > Goal(DefaultLifecycleExecutor.java:493) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > (Defau > ltLifecycleExecutor.java:463) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:224) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > (DefaultLi > fecycleExecutor.java:143) > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) > at > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > 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.MojoFailureException: > Unable to check for loc al modifications Provider message: > The svn command failed. > Command output: > > at org.apache.maven.plugins.release.PrepareReleaseMojo.execute > (PrepareRe > leaseMojo.java:144) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo > (DefaultPlugi > nManager.java:447) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > (Defa > ultLifecycleExecutor.java:539) > ... 16 more > [INFO] > -------------------------------------------------------------- > ---------- > [INFO] Total time: 23 seconds > [INFO] Finished at: Mon Mar 31 13:31:51 EDT 2008 [INFO] Final > Memory: 31M/57M [INFO] ----------------------------------------- > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
