maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Overriding a property from a profile
Date Mon, 29 Oct 2012 20:06:52 GMT
With two profiles that disagreed, the order of the profiles names
after -Pa,b (or b,a) did not matter.

-Pa -Dbletch=false

respected the 'true' in a, not the false from the command line.


On Mon, Oct 29, 2012 at 12:47 PM, John Patrick <nhoj.patrick@gmail.com> wrote:
> How are the profiles being activated? Command line -P or via
> activations, or a mix?
>
> About 6 months ago I had issues using -P and -D and fix it by getting
> all -D options we might need to use into profiles and then just
> remembering specific orders of profiles.
>
> John
>
> On 29 October 2012 16:33, Anders Hammar <anders@hammar.net> wrote:
>> Yes (I think). Did you test with both Maven 3 and 2?
>>
>> /Anders
>>
>> On Mon, Oct 29, 2012 at 4:22 PM, Benson Margulies <bimargulies@gmail.com> wrote:
>>> If a profile has a property value set, -D from the command-line does
>>> not win, the profile wins. Does this surprise anyone else?
>>>
>>> ---------------------------------------------------------------------
>>> 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
>

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


Mime
View raw message