On Mon, Oct 29, 2012 at 4:26 PM, Anders Hammar <[email protected]> wrote: >> 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?
No, all my projects now require M3. I guess I need to build a test case and JIRA. > > /Anders > >> >> >> On Mon, Oct 29, 2012 at 12:47 PM, John Patrick <[email protected]> >> 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 <[email protected]> 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 <[email protected]> >>>> 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: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
