Hey,
I'm trying to build a release, however I seem to be having serious problems
with it. Somehow the SVN command fails when I try to release:perform.
Somehow I doubt that a maven 'target' directory should ever have ancestry
information. Whenever one runs a clean command the target dir gets removed
so....
I'm pretty much at a loss here.
Here's the stacktrace I get:
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Digi-Editor-Ear
[INFO] task-segment: [release:perform] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [release:perform {execution: default-cli}]
[INFO] Checking out the project to perform the release ...
[INFO] Executing: cmd.exe /X /C "svn --username thpeeters --password *****
--non
-interactive checkout http://subversion/col/digi/tags/digi-edt-ear-0.0.1
C:\proj
ectsmaven\digi\digi-edt-ear\target\checkout"
[INFO] Working directory: C:\projectsmaven\digi\digi-edt-ear\target
[ERROR] The svn command failed.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to checkout from SCM
Provider message:
The svn command failed.
Command output:
svn: 'C:\projectsmaven\digi\digi-edt-ear\target' has no ancestry information
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Unable to checkout from SCM
Provider message:
The svn command failed.
Command output:
svn: 'C:\projectsmaven\digi\digi-edt-ear\target' has no ancestry information
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:715)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:284)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
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: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.MojoFailureException: Unable to checkout
from
SCM
Provider message:
The svn command failed.
Command output:
svn: 'C:\projectsmaven\digi\digi-edt-ear\target' has no ancestry information
at
org.apache.maven.plugins.release.PerformReleaseMojo.execute(PerformRe
leaseMojo.java:137)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
... 17 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Sep 28 12:32:41 CEST 2010
[INFO] Final Memory: 9M/18M
[INFO]
------------------------------------------------------------------------
--
View this message in context:
http://maven.40175.n5.nabble.com/release-perform-fail-project-target-has-no-ancestry-information-tp2856506p2856506.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]