You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brian Stansberry (JIRA)" <ji...@codehaus.org> on 2009/04/17 19:55:57 UTC

[jira] Commented: (MRELEASE-440) release:prepare fails due to svn "file exists" complaint

    [ http://jira.codehaus.org/browse/MRELEASE-440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173322#action_173322 ] 

Brian Stansberry commented on MRELEASE-440:
-------------------------------------------

Full console output from the attempt:

paul@xyz:~/jboss/cluster/jboss-ha-server-api$ mvn release:prepare
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'release'.
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Cluster HA Server API Classes
[INFO]    task-segment: [release:prepare] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [release:prepare]
[INFO] Verifying that there are no local modifications...
[INFO] Executing: svn --non-interactive status
[INFO] Working directory: /home/paul/jboss/cluster/jboss-ha-server-api
[INFO] Checking dependencies and plugins for snapshots ...
What is the release version for "JBoss Cluster HA Server API Classes"? (org.jboss.cluster:jboss-ha-server-api) 1.2.0: : 1.1.1.GA
What is SCM release tag or label for "JBoss Cluster HA Server API Classes"? (org.jboss.cluster:jboss-ha-server-api) jboss-ha-server-api-1.1.1.GA: : 1.1.1.GA
What is the new development version for "JBoss Cluster HA Server API Classes"? (org.jboss.cluster:jboss-ha-server-api) 1.2.1-SNAPSHOT: : 1.2.0-SNAPSHOT
[INFO] Transforming 'JBoss Cluster HA Server API Classes'...
[INFO] Not generating release POMs
[INFO] Executing goals 'clean verify'...
[INFO] Executing: mvn clean verify --no-plugin-updates -P jboss.repository,local-properties,local-properties
[INFO] Scanning for projects...
        WAGON_VERSION: 1.0-beta-2
        [INFO] ------------------------------------------------------------------------
        [INFO] Building JBoss Cluster HA Server API Classes
        [INFO]    task-segment: [clean, verify]
        [INFO] ------------------------------------------------------------------------
        [INFO] [clean:clean]
        [INFO] Deleting directory /home/paul/jboss/cluster/jboss-ha-server-api/target
        [INFO] [resources:resources]
        [INFO] Using default encoding to copy filtered resources.
        [INFO] [compiler:compile]
        [INFO] Compiling 31 source files to /home/paul/jboss/cluster/jboss-ha-server-api/target/classes
        [INFO] [resources:testResources]
        [INFO] Using default encoding to copy filtered resources.
        [INFO] [compiler:testCompile]
        [INFO] Compiling 3 source files to /home/paul/jboss/cluster/jboss-ha-server-api/target/test-classes
        [INFO] [surefire:test]
        [INFO] Surefire report directory: /home/paul/jboss/cluster/jboss-ha-server-api/target/surefire-reports
        
        -------------------------------------------------------
         T E S T S
        -------------------------------------------------------
        Running org.jboss.test.ha.framework.server.HASingletonTestCase
        Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec
        Running org.jboss.test.ha.framework.server.HAServiceTestCase
        Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
        Running org.jboss.test.ha.framework.server.SimpleCachableMarshalledValueUnitTestCase
        Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
        
        Results :
        
        Tests run: 28, Failures: 0, Errors: 0, Skipped: 0
        
        [INFO] [jar:jar]
        [INFO] Building jar: /home/paul/jboss/cluster/jboss-ha-server-api/target/jboss-ha-server-api.jar
        [INFO] Preparing source:jar
        [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
        [INFO] No goals needed for project - skipping
        [INFO] [source:jar {execution: attach-sources}]
        [INFO] Building jar: /home/paul/jboss/cluster/jboss-ha-server-api/target/jboss-ha-server-api-sources.jar
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD SUCCESSFUL
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 7 seconds
        [INFO] Finished at: Fri Apr 17 13:34:09 EDT 2009
        [INFO] Final Memory: 23M/258M
        [INFO] ------------------------------------------------------------------------
        [INFO] Checking in modified POMs...
[INFO] Executing: svn --non-interactive commit --file /tmp/maven-scm-283179634.commit --targets /tmp/maven-scm-7196099861339186009-targets
[INFO] Working directory: /home/paul/jboss/cluster/jboss-ha-server-api
[INFO] Tagging release with the label 1.1.1.GA...
[INFO] Executing: svn --non-interactive copy --file /tmp/maven-scm-1939954517.commit . https://svn.jboss.org/repos/jbossas/projects/cluster/ha-server-api/tags/1.1.1.GA
[INFO] Working directory: /home/paul/jboss/cluster/jboss-ha-server-api
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: File '/repos/jbossas/projects/cluster/ha-server-api/tags/1.1.1.GA/src/main/java/org/jboss/ha/framework/server/HASingletonImpl.java' already exists

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36 seconds
[INFO] Finished at: Fri Apr 17 13:34:20 EDT 2009
[INFO] Final Memory: 18M/272M
[INFO] ------------------------------------------------------------------------

> release:prepare fails due to svn "file exists" complaint
> --------------------------------------------------------
>
>                 Key: MRELEASE-440
>                 URL: http://jira.codehaus.org/browse/MRELEASE-440
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>            Reporter: Brian Stansberry
>
> Attempting a mvn release:prepare fails with an svn complaint about a file already existing, but the file didn't exist, or at least not before the mvn release:prepare command
> svn: Commit failed (details follow):
> svn: File '/repos/jbossas/projects/cluster/ha-server-api/tags/1.1.1.GA/src/main/java/org/jboss/ha/framework/server/HASingletonImpl.java' already exists
> Probably relevant, the file in question is the only one that was changed prior to the release.

-- 
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