-Darguments=-Pbuild-rel worked great.

Thanks a lot :-)
Simon. 


-----Ursprüngliche Nachricht-----
Von: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 29. Oktober 2008 15:29
An: Maven Users List
Betreff: Re: Release Plugin does not use Parent POM?

On Wed, Oct 29, 2008 at 6:15 AM, von Janowsky, Simon
<[EMAIL PROTECTED]> wrote:

> After I execute
...
>    'mvn release:perform -Dgoals="deploy" -Pbuild-rel'
...
> Why isn't the build-rel profile added to the POM?

I think you'll need to use the 'arguments' parameter to pass it through to
the Maven execution.

http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html

Or you could rename your profile 'release' and it will be automatically
activated (unless you say -DuseReleaseProfile=false).

--
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