Multiple profile execution is the actual requirement for me, since maven supports this I am trying to debug why the heck it is not working, I have a workaround which I am using that is put individual profile execution in a shell script and execute them and I works fine, but I want to utilize maven utility to the fullest, may be the word experimenting mislead you, I have configured surefire report directory to be unique, so there is no chance one overwriting the other, if you look at my pom you will know, directories are *Comments1* and *Comments*
Thnkx sridharl -----Original Message----- From: Benson Margulies [mailto:[email protected]] Sent: Saturday, August 28, 2010 1:41 AM To: Maven Users List Subject: Re: RE: Multiple profile execution in maven I think that what the OP needs to know is that, to get multiple executions from multiple profiles, each one has to have a distinctive execution ID, not the default. On Fri, Aug 27, 2010 at 4:03 PM, Wayne Fay <[email protected]> wrote: >> if you look at both of the profiles except for id and surefire report >> directory >> everything else are same, is there mandatory requirement for maven to >> uniquely >> identify a profile or else it will silently ignore the profile?, my >> setting.xml does > > The surefire plugin does not accept multiple values for the report > directory. Thus, one profile is writing over the other when it comes > to that param value. > > This makes perfect sense. This is like trying to use 2 profiles for > the compiler plugin -- one that sets source to 1.5, another that sets > it to 1.6 -- clearly one has to overwrite the other. > > What are you really trying to do here? Or is this just > "experimentation" and time wasting? > > Wayne > > --------------------------------------------------------------------- > 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]
