[
http://jira.codehaus.org/browse/MRELEASE-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209632#action_209632
]
Manuel Bernhardt commented on MRELEASE-492:
-------------------------------------------
I am facing the same issue.
I am running on Mac OS X 10.6 with SVN 1.6.5 and the SCM is the SVN at
SourceForge.
n309sim02:makumba-archetype manu$ mvn release:prepare -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building makumba-archetype
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare {execution: default-cli}]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: /bin/sh -c cd /Users/manu/workspace/makumba-archetype && svn
--non-interactive status
[INFO] Working directory: /Users/manu/workspace/makumba-archetype
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "makumba-archetype"?
(org.makumba:makumba-archetype) 1.1: :
What is SCM release tag or label for "makumba-archetype"?
(org.makumba:makumba-archetype) makumba-archetype-1.1: :
What is the new development version for "makumba-archetype"?
(org.makumba:makumba-archetype) 1.2-SNAPSHOT: :
[INFO] Transforming 'makumba-archetype'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[WARNING] Maven will be executed in interactive mode, but no input stream has
been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Building makumba-archetype
[INFO] [INFO] task-segment: [clean, verify]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] [clean:clean {execution: default-clean}]
[INFO] [INFO] Deleting directory /Users/manu/workspace/makumba-archetype/target
[INFO] [INFO] [resources:resources {execution: default-resources}]
[INFO] [WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] [INFO] Copying 8 resources
[INFO] [INFO] [resources:testResources {execution: default-testResources}]
[INFO] [WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] [INFO] skip non existing resourceDirectory
/Users/manu/workspace/makumba-archetype/src/test/resources
[INFO] [INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] [INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] [INFO] Setting property: resource.loader => 'classpath'.
[INFO] [INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [INFO] [archetype:jar {execution: default-jar}]
[INFO] [INFO] [archetype:add-archetype-metadata {execution:
default-add-archetype-metadata}]
[INFO] [INFO] [archetype:integration-test {execution: default-integration-test}]
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESSFUL
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Total time: 3 seconds
[INFO] [INFO] Finished at: Wed Feb 10 11:25:42 CET 2010
[INFO] [INFO] Final Memory: 21M/79M
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] Checking in modified POMs...
[INFO] Executing: /bin/sh -c cd /Users/manu/workspace/makumba-archetype && svn
--non-interactive commit --file
/var/folders/gr/grmlp1CuHLWR7vnaQRii9E+++TI/-Tmp-/maven-scm-683377382.commit
--targets
/var/folders/gr/grmlp1CuHLWR7vnaQRii9E+++TI/-Tmp-/maven-scm-7145763169583466944-targets
[INFO] Working directory: /Users/manu/workspace/makumba-archetype
[INFO] Tagging release with the label makumba-archetype-1.1...
[INFO] Executing: /bin/sh -c cd /Users/manu/workspace/makumba-archetype && svn
--non-interactive copy --file
/var/folders/gr/grmlp1CuHLWR7vnaQRii9E+++TI/-Tmp-/maven-scm-717299083.commit
--revision 0
https://makumba.svn.sourceforge.net/svnroot/makumba/trunk/makumba-archetype-1.1
scm:svn:https://makumba.svn.sf.net/svnroot/makumba/tags/makumba-archetype-1.1
[INFO] Working directory: /Users/manu/workspace/makumba-archetype
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message or revision
properties
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message or revision
properties
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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:60)
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.MojoFailureException: Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message or revision
properties
at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Wed Feb 10 11:25:43 CET 2010
[INFO] Final Memory: 20M/79M
[INFO] ------------------------------------------------------------------------
I tried running
svn update
mvn release:prepare
as advised in the comment, but without success:
n309sim02:makumba-archetype manu$ svn update
Revision 4534.
n309sim02:makumba-archetype manu$ mvn release:prepare -e+ Error stacktraces are
turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building makumba-archetype
[INFO] task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare {execution: default-cli}]
[INFO] Resuming release from phase 'scm-tag'
[INFO] Tagging release with the label makumba-archetype-1.1...
[INFO] Executing: /bin/sh -c cd /Users/manu/workspace/makumba-archetype && svn
--non-interactive copy --file
/var/folders/gr/grmlp1CuHLWR7vnaQRii9E+++TI/-Tmp-/maven-scm-892266840.commit
https://makumba.svn.sourceforge.net/svnroot/makumba/trunk/makumba-archetype-1.1
scm:svn:https://makumba.svn.sf.net/svnroot/makumba/tags/makumba-archetype-1.1
[INFO] Working directory: /Users/manu/workspace/makumba-archetype
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message or revision
properties
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message or revision
properties
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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:60)
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.MojoFailureException: Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Local, non-commit operations do not take a log message or revision
properties
at
org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:190)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Wed Feb 10 11:31:54 CET 2010
[INFO] Final Memory: 20M/79M
[INFO] ------------------------------------------------------------------------
> The svn tag command failed
> --------------------------
>
> Key: MRELEASE-492
> URL: http://jira.codehaus.org/browse/MRELEASE-492
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0-beta-9
> Environment: ubuntu 9.04 ,
> Apache Maven 2.1.0 (r755702; 2009-03-19 00:40:27+0530)
> Java version: 1.6.0_13
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.13/jre
> Default locale: en_IN, platform encoding: UTF-8
> OS name: "linux" version: "2.6.28-15-server" arch: "i386" Family: "unix"
> Reporter: Sridher Jakku
>
> when i run the mvn release:prepare this error comming
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.584
> sec
> [INFO] Running com.ipleanty.accure.module.orm.AppTest
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018
> sec
> [INFO]
> [INFO] Results :
> [INFO]
> [INFO] Tests run: 27, Failures: 0, Errors: 0, Skipped: 0
> [INFO]
> [INFO] [INFO] [antrun:run {execution: default}]
> [INFO] [INFO] Executing tasks
> [INFO] [echo]
> ------------------------------------------------------------------------
> [INFO] [echo] r2093 | js | 2009-10-13 20:02:29 +0530 (Tue, 13 Oct 2009)
> [INFO] [echo]
> ------------------------------------------------------------------------
> [INFO] [echo] Your orm Revision number : 2073
> [INFO] [INFO] Executed tasks
> [INFO] [INFO] [jar:jar]
> [INFO] [INFO] Building jar: /home/sridher/maven/svn/orm/target/orm-0.7.jar
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] BUILD SUCCESSFUL
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Total time: 26 seconds
> [INFO] [INFO] Finished at: Tue Oct 13 20:03:30 IST 2009
> [INFO] [INFO] Final Memory: 25M/114M
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] Checking in modified POMs...
> [INFO] Executing: /bin/sh -c cd /home/sridher/maven/svn/orm && svn --username
> js --password '*****' --non-interactive commit --file
> /tmp/maven-scm-327676631.commit --targets
> /tmp/maven-scm-7485856893453511468-targets
> [INFO] Working directory: /home/sridher/maven/svn/orm
> [INFO] Tagging release with the label orm-0.7...
> [INFO] Executing: /bin/sh -c cd /home/sridher/maven/svn/orm && svn --username
> js --password '*****' --non-interactive copy --file
> /tmp/maven-scm-895863680.commit .
> scm:svn:svn://192.168.1.10/Accure/orm/tags/orm-0.7
> [INFO] Working directory: /home/sridher/maven/svn/orm
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Local, non-commit operations do not take a log message or revision
> properties
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 41 seconds
> [INFO] Finished at: Tue Oct 13 20:03:32 IST 2009
> [INFO] Final Memory: 12M/119M
> [INFO]
> ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira