You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Borut BolĨina <bo...@gmail.com> on 2008/05/12 18:15:21 UTC

release:branch

Hi,

I have to proposals to improve the branch goal of the release plugin

1.) The log output is not showing the full branch name and is inserting dots
at the end like so:

[INFO] Branching release with the label RB-1.0...

This is an important value to be shown, so why would one want to show just
part of it?


2.)  If the branch directory does not exist in subversion it fails


org.apache.maven.shared.release.scm.ReleaseScmCommandException: Unable to
branch SCM
Provider message:
The svn branch command failed.
Command output:
svn: PROPFIND request failed on '/repositories/modules/messaging/branches'
svn: '/repositories/modules/messaging/branches' path not found

        at
org.apache.maven.shared.release.phase.ScmBranchPhase.execute(ScmBranchPhase.java:98)
        at
org.apache.maven.shared.release.DefaultReleaseManager.branch(DefaultReleaseManager.java:361)
        at
org.apache.maven.shared.release.DefaultReleaseManager.branch(DefaultReleaseManager.java:332)
        at
org.apache.maven.plugins.release.BranchReleaseMojo.execute(BranchReleaseMojo.java:130)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
        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:585)
        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)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to branch SCM
Provider message:
The svn branch command failed.
Command output:
svn: PROPFIND request failed on '/repositories/modules/messaging/branches'
svn: '/repositories/modules/messaging/branches' path not found

So I have to manualy create branches folder remotely and re-run the
release:branch. Is there a reason to this?

I used Maven 2.0.9 with clean local repo.

Regards,
Borut