maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "von Janowsky, Simon" <vonJanow...@consist.de>
Subject AW: Release Plugin does not use Parent POM?
Date Wed, 29 Oct 2008 16:12:58 GMT
-Darguments=-Pbuild-rel worked great.

Thanks a lot :-)
Simon. 


-----Urspr√ľngliche Nachricht-----
Von: Wendy Smoak [mailto:wsmoak@gmail.com] 
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
<vonJanowsky@consist.de> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



Mime
View raw message