jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x Release Plugin
  • MRELEASE-440

release:prepare fails due to svn "file exists" complaint

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0-beta-9
  • Component/s: prepare
  • Labels:
    None

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. XML File
    pom.xml
    17/Apr/09 12:58 PM
    4 kB
    Brian Stansberry
  2. XML File
    pom.xml
    17/Apr/09 12:58 PM
    6 kB
    Brian Stansberry

Issue Links

duplicates

Bug - A problem which impairs or prevents the functions of the product. MRELEASE-375 release plugin does not work with subversion > 1.5.0

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Brian Stansberry added a comment - 17/Apr/09 12:54 PM

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

Show
Brian Stansberry added a comment - 17/Apr/09 12:54 PM 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] ------------------------------------------------------------------------
Hide
Permalink
Brian Stansberry added a comment - 17/Apr/09 12:58 PM

Attached the pom and it's parent. Grandparent is available at http://repository.jboss.org/maven2/org/jboss/jboss-parent/3/jboss-parent-3.pom

Show
Brian Stansberry added a comment - 17/Apr/09 12:58 PM Attached the pom and it's parent. Grandparent is available at http://repository.jboss.org/maven2/org/jboss/jboss-parent/3/jboss-parent-3.pom
Hide
Permalink
Bjarte Nilsen added a comment - 24/Apr/09 4:03 AM

Same problem for me - on a multimodule project using release-plugin version 2.0-beta-7

The file that the plugin claim to exist in - does not exsist at all in svn.

Show
Bjarte Nilsen added a comment - 24/Apr/09 4:03 AM Same problem for me - on a multimodule project using release-plugin version 2.0-beta-7 The file that the plugin claim to exist in - does not exsist at all in svn.
Hide
Permalink
Bjarte Nilsen added a comment - 24/Apr/09 4:26 AM

I just tried with 2.0-beta-9 and the problem had gone away.

Show
Bjarte Nilsen added a comment - 24/Apr/09 4:26 AM I just tried with 2.0-beta-9 and the problem had gone away.
Hide
Permalink
Olivier Lamy added a comment - 24/Apr/09 3:42 PM

fixed in 2.0-beta-9

Show
Olivier Lamy added a comment - 24/Apr/09 3:42 PM fixed in 2.0-beta-9

People

  • Assignee:
    Unassigned
    Reporter:
    Brian Stansberry
Vote (1)
Watch (2)

Dates

  • Created:
    17/Apr/09 12:49 PM
    Updated:
    23/Jun/09 4:16 PM
    Resolved:
    24/Apr/09 3:42 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.