[ https://jira.codehaus.org/browse/MRELEASE-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274930#comment-274930 ]
Matthew Morrissette commented on MRELEASE-401: ---------------------------------------------- I disagree that this is a bug. Most of the time when you get this error, it's because your tag directory was actually invalid (i.e. the pom was misconfigured). If change the functionality so that it will create the directory if it doesn't exist, there is no way to know if it was actually a problem or not. Maybe you could put a config flag in to the mvn release plugin that's something like "createParentDirectory" but I would certainly not change the default behavior. > release:prepare should create the SVN tags parent dir if it doesn't already > exist, rather than failing > ------------------------------------------------------------------------------------------------------ > > Key: MRELEASE-401 > URL: https://jira.codehaus.org/browse/MRELEASE-401 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: prepare > Affects Versions: 2.0-beta-8 > Reporter: Ian Springer > > 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] > ------------------------------------------------------------------------ -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira