On 17/09/2011, at 12:37 AM, Stuart Sierra wrote:
> I use Git, maven-release-plugin, Hudson, and the Hudson M2 Release
> Plugin. Can I perform a release from a Git branch other than "master"?

On Mon, Sep 19, 2011 at 4:17 AM, Brett Porter <br...@apache.org> wrote:
> I believe so. You may need to set the <tag> element in the <scm> section of 
> the POM on the branch. In my experience, the release plugin correctly 
> releases in that situation (I'm not using Hudson for that, however).

Thanks for the advice, Brett.

As it turned out, I didn't need to change anything in Maven. I just
changed the Hudson configuration to checkout a different branch. I use
Hudson post-build actions to push release tags instead of the Maven
Release plugin, so that I can prevent it from pushing tags if the
build fails.

-Stuart Sierra
clojure.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to