Re: Running two maven profiles in one job

2013-09-24 Thread Philippe Cambien
This does not seem to do the job. It only seems to run the second profile. Any other ideas? On Fri, Sep 13, 2013 at 2:23 PM, Baptiste Mathus bmat...@batmat.net wrote: Try -Pprofile1,profile2 Le 13 sept. 2013 14:16, Philippe Cambien incubusat...@gmail.com a écrit : I tried it with maven

Re: Running two maven profiles in one job

2013-09-24 Thread Stephen Connolly
I suspect you have set up your profiles so that they are exclusive, or to put it another way, activating profile2 will revert the changes in profile1 and profile2 is later in the pom so wins out. what you could do is cheat the reactor. Maven will execute goals and phases against each module in

Re: Running two maven profiles in one job

2013-09-13 Thread Baptiste Mathus
Can't you just activate both profiles in a go? Le 13 sept. 2013 10:07, Philippe Cambien incubusat...@gmail.com a écrit : Hello, We have a Maven profile which contains a lot of long tests. Before we run these tests, we want to make sure that all dependencies are met ie. all systems are up and

Re: Running two maven profiles in one job

2013-09-13 Thread Philippe Cambien
I tried it with maven clean install -Pprofile1 -Pprofile2 but he didn't seem to run the first profile. On Fri, Sep 13, 2013 at 2:15 PM, Baptiste Mathus bmat...@batmat.net wrote: Can't you just activate both profiles in a go? Le 13 sept. 2013 10:07, Philippe Cambien incubusat...@gmail.com a

Re: Running two maven profiles in one job

2013-09-13 Thread Baptiste Mathus
Try -Pprofile1,profile2 Le 13 sept. 2013 14:16, Philippe Cambien incubusat...@gmail.com a écrit : I tried it with maven clean install -Pprofile1 -Pprofile2 but he didn't seem to run the first profile. On Fri, Sep 13, 2013 at 2:15 PM, Baptiste Mathus bmat...@batmat.netwrote: Can't you just