maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Stolwijk <nick.stolw...@gmail.com>
Subject Re: How to activate a profile during release:prepare?
Date Tue, 31 Aug 2010 09:42:22 GMT
My bad, this one is better [1] ;).

[1] http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html#arguments

Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Tue, Aug 31, 2010 at 11:40 AM, Anders Hammar <anders@hammar.net> wrote:
> Nick,
>
> Wim wants it for the prepare goal. Your link is for the perform goal.
>
> /Anders
>
> On Tue, Aug 31, 2010 at 11:21, Nick Stolwijk <nick.stolwijk@gmail.com>wrote:
>
>> It is also a configuration item [1].
>>
>> [1]
>> http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html#arguments
>>
>> With regards,
>>
>> Nick Stolwijk
>> ~Java Developer~
>>
>> IPROFS BV.
>> Claus Sluterweg 125
>> 2012 WS Haarlem
>> http://www.iprofs.nl
>>
>>
>>
>> On Tue, Aug 31, 2010 at 11:19 AM, Wim Deblauwe <wim.deblauwe@gmail.com>
>> wrote:
>> > I suppose you mean adding this to the command line when running mvn
>> > release:prepare. I would like to have this property present automatically
>> > like in the release:perform case so I can make sure the profile gets
>> > activated, even if somebody would forget to add that extra command line
>> > argument.
>> >
>> > 2010/8/31 Antonio Petrelli <antonio.petrelli@gmail.com>
>> >
>> >> 2010/8/31 Wim Deblauwe <wim.deblauwe@gmail.com>:
>> >> > I know that during the release:perform, there is a property
>> >> 'performRelease'
>> >> > that is set to true. I use this to activate a release profile.
>> However, I
>> >> > need to do the same during the release:prepare. Is there something
>> like a
>> >> > performPrepare property?
>> >>
>> >> -Darguments="-Pmyprofile"
>> >>
>> >> HTH
>> >> Antonio
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

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


Mime
View raw message