[m2] svn not recognized?
I have the following scm definition: scm connectionscm:svn:http://svn.net.immi.com/svn/immi/trunk /connection developerConnectionscm:svn:http://svn.net.immi.com/svn/immi/trunk /developerConnection url${svn.url}/url /scm plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId version1.0-rc1/version configuration connectionUrl${svn.url}/connectionUrl username${scm.username}/username password${scm.password}/password excludes*.class/excludes includes*.java/includes debugtrue/debug /configuration /plugin But when doing an mvn scm:update, I get this error: [INFO] [INFO] [scm:update] [INFO] Executing: svn --non-interactive update [INFO] Working directory: C:\opt\immi\modules\immi [ERROR] Provider message: [ERROR] The svn command failed. [ERROR] Command output: [ERROR] 'svn' is not recognized as an internal or external command, operable program or batch file. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Command failed.The svn command failed. [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.Thesvn command failed. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:224) 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:280) 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: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.MojoExecutionException: Command failed.The svn command failed. at org.apache.maven.scm.plugin.AbstractScmMojo.checkResult( AbstractScmMojo.java:398) at org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java :93) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:539) ... 16 more Do I need to install subversion on my local machine? Or some svn client just to get access? I have been using Intellij for all svn access up to this point. -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---
Re: [m2] svn not recognized?
On Nov 9, 2007 9:28 AM, Mick Knutson [EMAIL PROTECTED] wrote: [ERROR] Command output: [ERROR] 'svn' is not recognized as an internal or external command, operable program or batch file. You need the command-line svn executable available on your path for this to work. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] svn not recognized?
Ok, then another general question would be... Should I do a build and release from the svn trunk itself? Or should I have a build machine actually get an update of the code locally then build and release? On 11/9/07, Wendy Smoak [EMAIL PROTECTED] wrote: On Nov 9, 2007 9:28 AM, Mick Knutson [EMAIL PROTECTED] wrote: [ERROR] Command output: [ERROR] 'svn' is not recognized as an internal or external command, operable program or batch file. You need the command-line svn executable available on your path for this to work. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick_dot_com http://www.myspace.com/sexybeotches http://www.thumpradio.com ---