scm plugin help please

2009-02-20 Thread Mick Knutson
I am trying to use the scm plugin to perform an svn update. I can
successfully run svn cleanup, svn up, and svn ci from the command line. But
when I run a mvn scm:update -e I get an error saying my pom.xml is locked as
shown below:


*733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ svn cleanup

733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ svn up
At revision 5.*

*733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ mvn
scm:update -e*
*+ Error stacktraces are turned on.*
*[INFO] Scanning for projects...*
*[INFO] Searching repository for plugin with prefix: 'scm'.*
*WAGON_VERSION: 1.0-beta-2*
*[INFO]
*
*[INFO] Building FXG:: POM*
*[INFO]task-segment: [scm:update] (aggregator-style)*
*[INFO]
*
*[INFO] [scm:update]*
*[INFO] Executing: cmd.exe /X /C svn --non-interactive update
c:\opt\projects\grd\trunk\fxg-pom*
*[INFO] Working directory: c:\opt\projects\grd\trunk\fxg-pom*
*[INFO] Svn command failed due to some locks in working copy. We try to run
a 'svn cleanup'.*
*[INFO] Executing: cmd.exe /X /C svn*
*[INFO] Working directory: c:\opt\projects\grd\trunk\fxg-pom*
*[ERROR] Provider message:*
*[ERROR] The svn command failed.*
*[ERROR] Command output:*
*[ERROR] svn: Working copy 'c:\opt\projects\grd\trunk\fxg-pom' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
Type 'svn help' for usage.*

*[INFO]
*
*[ERROR] BUILD ERROR*
*[INFO]
*
*[INFO] Command failed.The svn command failed.*
*[INFO]
*
*[INFO] Trace*
*org.apache.maven.lifecycle.LifecycleExecutionException: Command failed.The
svn command failed.*
*at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
*
*at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
*
*at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
*
*at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
*
*at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
*
*at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
*
*at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)*
*at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)*
*at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)*
*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: Command
failed.The svn command failed.*
*at
org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java:400)
*
*at
org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:93)*
*at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
*
*at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
*
*... 16 more*
*[INFO]
*
*[INFO] Total time: 7 seconds*
*[INFO] Finished at: Fri Feb 20 09:34:57 EST 2009*
*[INFO] Final Memory: 8M/16M*
*[INFO]
*

*733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $*


---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring  Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---


AW: scm plugin help please

2009-02-20 Thread Mark Struberg
may this be a reincarnation of the --non-interactive bug with svn-1.5 on MacOsX?

http://jira.codehaus.org/browse/SCM-402

what says svn if you execute the SVN command with and without the 
--non-interactive?

txs and LieGrue,
strub

--- Mick Knutson mickknut...@gmail.com schrieb am Fr, 20.2.2009:

 Von: Mick Knutson mickknut...@gmail.com
 Betreff: scm plugin help please
 An: maven users@maven.apache.org
 Datum: Freitag, 20. Februar 2009, 15:38
 I am trying to use the scm plugin to perform an svn update.
 I can
 successfully run svn cleanup, svn up, and svn ci from the
 command line. But
 when I run a mvn scm:update -e I get an error saying my
 pom.xml is locked as
 shown below:
 
 
 *733...@d5400lpl:
 /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ svn cleanup
 
 733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom
 $ svn up
 At revision 5.*
 
 *733...@d5400lpl:
 /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ mvn
 scm:update -e*
 *+ Error stacktraces are turned on.*
 *[INFO] Scanning for projects...*
 *[INFO] Searching repository for plugin with prefix:
 'scm'.*
 *WAGON_VERSION: 1.0-beta-2*
 *[INFO]
 *
 *[INFO] Building FXG:: POM*
 *[INFO]task-segment: [scm:update] (aggregator-style)*
 *[INFO]
 *
 *[INFO] [scm:update]*
 *[INFO] Executing: cmd.exe /X /C svn
 --non-interactive update
 c:\opt\projects\grd\trunk\fxg-pom*
 *[INFO] Working directory:
 c:\opt\projects\grd\trunk\fxg-pom*
 *[INFO] Svn command failed due to some locks in working
 copy. We try to run
 a 'svn cleanup'.*
 *[INFO] Executing: cmd.exe /X /C svn*
 *[INFO] Working directory:
 c:\opt\projects\grd\trunk\fxg-pom*
 *[ERROR] Provider message:*
 *[ERROR] The svn command failed.*
 *[ERROR] Command output:*
 *[ERROR] svn: Working copy
 'c:\opt\projects\grd\trunk\fxg-pom'
 locked
 svn: run 'svn cleanup' to remove locks (type
 'svn help cleanup' for details)
 Type 'svn help' for usage.*
 
 *[INFO]
 *
 *[ERROR] BUILD ERROR*
 *[INFO]
 *
 *[INFO] Command failed.The svn command failed.*
 *[INFO]
 *
 *[INFO] Trace*
 *org.apache.maven.lifecycle.LifecycleExecutionException:
 Command failed.The
 svn command failed.*
 *at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
 *
 *at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
 *
 *at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
 *
 *at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
 *
 *at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
 *
 *at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
 *
 *at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)*
 *at
 org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)*
 *at
 org.apache.maven.cli.MavenCli.main(MavenCli.java:287)*
 *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:
 Command
 failed.The svn command failed.*
 *at
 org.apache.maven.scm.plugin.AbstractScmMojo.checkResult(AbstractScmMojo.java:400)
 *
 *at
 org.apache.maven.scm.plugin.UpdateMojo.execute(UpdateMojo.java:93)*
 *at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
 *
 *at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
 *
 *... 16 more*
 *[INFO]
 *
 *[INFO] Total time: 7 seconds*
 *[INFO] Finished at: Fri Feb 20 09:34:57 EST 2009*
 *[INFO] Final Memory: 8M/16M*
 *[INFO]
 *
 
 *733...@d5400lpl:
 /cygdrive/c/opt/projects/grd/trunk/fxg-pom $*
 
 
 ---
 Thank You…
 
 Mick Knutson

Re: scm plugin help please

2009-02-20 Thread Mick Knutson
Does not look like that is it:

733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $
733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $
733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ *svn
--non-interactive up
At revision 5.*
733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ svn cleanup
--non-interactive
733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $* svn up
At revision 5.*
733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ svn cleanup
733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom $

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring  Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Twitter: http://twitter.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Fri, Feb 20, 2009 at 9:44 AM, Mark Struberg strub...@yahoo.de wrote:

 may this be a reincarnation of the --non-interactive bug with svn-1.5 on
 MacOsX?

 http://jira.codehaus.org/browse/SCM-402

 what says svn if you execute the SVN command with and without the
 --non-interactive?

 txs and LieGrue,
 strub

 --- Mick Knutson mickknut...@gmail.com schrieb am Fr, 20.2.2009:

  Von: Mick Knutson mickknut...@gmail.com
  Betreff: scm plugin help please
  An: maven users@maven.apache.org
  Datum: Freitag, 20. Februar 2009, 15:38
  I am trying to use the scm plugin to perform an svn update.
  I can
  successfully run svn cleanup, svn up, and svn ci from the
  command line. But
  when I run a mvn scm:update -e I get an error saying my
  pom.xml is locked as
  shown below:
 
 
  *733...@d5400lpl:
  /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ svn cleanup
 
  733...@d5400lpl: /cygdrive/c/opt/projects/grd/trunk/fxg-pom
  $ svn up
  At revision 5.*
 
  *733...@d5400lpl:
  /cygdrive/c/opt/projects/grd/trunk/fxg-pom $ mvn
  scm:update -e*
  *+ Error stacktraces are turned on.*
  *[INFO] Scanning for projects...*
  *[INFO] Searching repository for plugin with prefix:
  'scm'.*
  *WAGON_VERSION: 1.0-beta-2*
  *[INFO]
  *
  *[INFO] Building FXG:: POM*
  *[INFO]task-segment: [scm:update] (aggregator-style)*
  *[INFO]
  *
  *[INFO] [scm:update]*
  *[INFO] Executing: cmd.exe /X /C svn
  --non-interactive update
  c:\opt\projects\grd\trunk\fxg-pom*
  *[INFO] Working directory:
  c:\opt\projects\grd\trunk\fxg-pom*
  *[INFO] Svn command failed due to some locks in working
  copy. We try to run
  a 'svn cleanup'.*
  *[INFO] Executing: cmd.exe /X /C svn*
  *[INFO] Working directory:
  c:\opt\projects\grd\trunk\fxg-pom*
  *[ERROR] Provider message:*
  *[ERROR] The svn command failed.*
  *[ERROR] Command output:*
  *[ERROR] svn: Working copy
  'c:\opt\projects\grd\trunk\fxg-pom'
  locked
  svn: run 'svn cleanup' to remove locks (type
  'svn help cleanup' for details)
  Type 'svn help' for usage.*
 
  *[INFO]
  *
  *[ERROR] BUILD ERROR*
  *[INFO]
  *
  *[INFO] Command failed.The svn command failed.*
  *[INFO]
  *
  *[INFO] Trace*
  *org.apache.maven.lifecycle.LifecycleExecutionException:
  Command failed.The
  svn command failed.*
  *at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
  *
  *at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:512)
  *
  *at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:482)
  *
  *at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
  *
  *at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:227)
  *
  *at
 
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
  *
  *at
  org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)*
  *at
  org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)*
  *at
  org.apache.maven.cli.MavenCli.main(MavenCli.java:287)*
  *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