Java Mailing List Archive

http://www.java2.5341.com/

Home » Maven Users List »

AW: maven release plugin, set scm from commandline

von Janowsky, Simon

2008-10-29


Author LoginPost Reply

Those tags represent automatic builds of the release branch RB-1.0.0.
They are tagged by our CI-System (Hudson). So we don't build the release
from the trunk, but from a stable build that the Hudson tagged.

We can live with adding that <scm> element, but perhaps that was a way to
omit that.

Thanks a lot for your help,
Simon.

-----Ursprüngliche Nachricht-----
Von: Wendy Smoak [mailto:wsmoak@(protected)]
Gesendet: Mittwoch, 29. Oktober 2008 17:34
An: Maven Users List
Betreff: Re: maven release plugin, set scm from commandline

On Wed, Oct 29, 2008 at 9:19 AM, von Janowsky, Simon
<vonJanowsky@(protected):

> another relase plugin question,
> before calling the release:perform goal i have to add a <scm> element
> to the POM and commit the POM.
>
> <scm>
> <connection>scm:svn:svn://subversionserver/repo/project/tags/builds/1.
> 0.0-SN
> APSHOT/BUILD-2</connection>
> </scm>

It's unusual to have a snapshot under a tag. The release process normally
creates the tag for you, starting from trunk or a branch, and once it's
tagged it doesn't change.

> Is there a way to add the <scm> from the command line without altering
> the POM?

Not that I know of... you can set the tagBase, but the scm info is expected
to be in the pom.

Maybe if you describe your use case someone will have a better suggestion?

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)



Attachment: smime.p7s (zipped)
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.