> With two profiles that disagreed, the order of the profiles names
> after -Pa,b (or b,a) did not matter.

Correct. The declared order in the pom or settings.xml is the one that counts.

> -Pa -Dbletch=false
>
> respected the 'true' in a, not the false from the command line.

I think this surprises me. Did you verify with Maven 2?

/Anders

>
>
> On Mon, Oct 29, 2012 at 12:47 PM, John Patrick <nhoj.patr...@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 <and...@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 <bimargul...@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-unsubscr...@maven.apache.org
>>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

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

Reply via email to