Issue Details (XML | Word | Printable)

Key: MRELEASE-401
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Ian Springer
Votes: 4
Watchers: 7
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Release Plugin

release:prepare should create the SVN tags parent dir if it doesn't already exist, rather than failing

Created: 23/Dec/08 05:06 PM   Updated: 07/Jan/09 07:32 AM
Return to search
Component/s: prepare
Affects Version/s: 2.0-beta-8
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide

Currently, it fails with an error like the following:

[INFO] Tagging release with the label EmbJopr_1_1_0_GA...
[INFO] Executing: svn --non-interactive copy --file /tmp/maven-scm-280395749.commit . https://svn.jboss.org/repos/embjopr/tags/EmbJopr_1_1_0_GA
[INFO] Working directory: /home/test_jon/release/embjopr-trunk
[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: PROPFIND request failed on '/repos/embjopr/tags'
svn: '/repos/embjopr/tags' path not found

[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.BuildFailureException: Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repos/embjopr/tags'
svn: '/repos/embjopr/tags' path not found

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
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.MojoFailureException: Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repos/embjopr/tags'
svn: '/repos/embjopr/tags' path not found

at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:135)
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: 1 minute 6 seconds
[INFO] Finished at: Tue Dec 23 18:02:20 EST 2008
[INFO] Final Memory: 16M/365M
[INFO] ------------------------------------------------------------------------



Boris Maras added a comment - 07/Jan/09 02:58 AM

Is this bug related to MRELEASE-353 ?


Ian Springer added a comment - 07/Jan/09 07:32 AM

I don't think so. 353 has the error:

svn: Commit failed (details follow):
svn: Directory 'E:\projects\sweetdev-forge\trunk\maven-plugins\maven-header-plugin\src\main\java\com\ideo\sweetdevria' is missing"

whereas this one has the error:

svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repos/embjopr/tags'
svn: '/repos/embjopr/tags' path not found".