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:[EMAIL 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
<[EMAIL PROTECTED]> wrote:

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to