Re: Multiple -P options

2008-04-28 Thread Stephen Connolly
active profiles > *without* preventing the default ones from being activated. > > Greetings, > > David > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: 28 April 2008 11:18 > > To: Maven Developers List > > Subj

RE: Multiple -P options

2008-04-28 Thread Bernhard David
rofiles *without* preventing the default ones from being activated. Greetings, David > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 28 April 2008 11:18 > To: Maven Developers List > Subject: Re: Multiple -P options > > On Mon, 28 Apr

Re: Multiple -P options

2008-04-28 Thread david
On Mon, 28 Apr 2008, Paul Benedict wrote: Maybe a new option to help debugging would help. One that would printout all activated profiles, plus any profile names that were not found. The help plugin can be used for this: http://maven.apache.org/plugins/maven-help-plugin/active-profiles-mojo.ht

Re: Multiple -P options

2008-04-27 Thread Paul Benedict
Maybe a new option to help debugging would help. One that would printout all activated profiles, plus any profile names that were not found. Paul On Sun, Apr 27, 2008 at 8:08 PM, Barrie Treloar <[EMAIL PROTECTED]> wrote: > On Mon, Apr 28, 2008 at 9:57 AM, Brian E. Fox <[EMAIL PROTECTED]> > wrote

Re: Multiple -P options

2008-04-27 Thread Barrie Treloar
On Mon, Apr 28, 2008 at 9:57 AM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > The fact that a profile is activated from the command line or > settings.xml applies to the entire execution, which means if that > profile is exists in multiple modules, it will be activated in each of > them. The origin

RE: Multiple -P options

2008-04-27 Thread Brian E. Fox
Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Sunday, April 27, 2008 8:13 PM To: Maven Developers List Subject: Re: Multiple -P options On Mon, Apr 28, 2008 at 9:17 AM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > I tried fixing that before and it caused a ton of issues.

Re: Multiple -P options

2008-04-27 Thread Barrie Treloar
On Mon, Apr 28, 2008 at 9:17 AM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > I tried fixing that before and it caused a ton of issues. Not every > project will contain the profile to be activated so it warns/errors on > all of them that don't...this is even more of a mess. Profiles are only meant

RE: Multiple -P options

2008-04-27 Thread Brian E. Fox
2008 7:41 PM To: Maven Developers List Subject: Re: Multiple -P options On Sat, Apr 26, 2008 at 2:05 AM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > While you're in there, any change you can see why the -P-profile syntax > isn't working? MNG-3545 and MNG-3527 Since we are

Re: Multiple -P options

2008-04-27 Thread Barrie Treloar
On Sat, Apr 26, 2008 at 2:05 AM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > While you're in there, any change you can see why the -P-profile syntax > isn't working? MNG-3545 and MNG-3527 Since we are asking "while you're there" questions. What happens when you specify a profile that can not be ac

Re: Multiple -P options

2008-04-27 Thread Paul Gier
Developers List Subject: Re: Multiple -P options Ok, I'll add an integration test for it. Brian E. Fox wrote: This can go into 2.0.10 but we need an IT to test the behavior. -Original Message- From: Paul Gier [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:08 AM To: M

Re: Multiple -P options

2008-04-25 Thread Paul Gier
Another use case as described in the issue is that if you script your call to maven with a -P parameter, and then you want to pass an additional profile in when calling the script, using multiple -P makes things simpler. Jesse McConnell wrote: well, configuration on something like the release

RE: Multiple -P options

2008-04-25 Thread Brian E. Fox
While you're in there, any change you can see why the -P-profile syntax isn't working? MNG-3545 and MNG-3527 -Original Message- From: Paul Gier [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:43 AM To: Maven Developers List Subject: Re: Multiple -P options Ok, I

Re: Multiple -P options

2008-04-25 Thread Jesse McConnell
well, configuration on something like the release plugin can specify -Papache-release and then the user might have a profile being activated from the commandline of the release like -Pall-modules which results in whatever is munging these things together has to find the different instances and to d

Re: Multiple -P options

2008-04-25 Thread Jason van Zyl
Why do you need multiple -P when you can specify -Pone,two,three ? On 25-Apr-08, at 8:08 AM, Paul Gier wrote: Hi Everyone, Currently maven only handles a single -P option to activate profiles. I created a small patch for this issue (http://jira.codehaus.org/browse/MNG-3268 ) that allows -P

Re: Multiple -P options

2008-04-25 Thread Paul Gier
Yeah, you're probably talking about the same issue that I ran into (MRELEASE-288) that caused me to look into this. Jesse McConnell wrote: just a note that this would make an annoying part of the release plugin easier as well, it tries to gather up and reformat mulitple -P options that might a

Re: Multiple -P options

2008-04-25 Thread Paul Gier
Ok, I'll add an integration test for it. Brian E. Fox wrote: This can go into 2.0.10 but we need an IT to test the behavior. -Original Message- From: Paul Gier [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:08 AM To: Maven Developers List Subject: Multiple -P options Hi Ev

Re: Multiple -P options

2008-04-25 Thread Jesse McConnell
just a note that this would make an annoying part of the release plugin easier as well, it tries to gather up and reformat mulitple -P options that might aggregate into a cli execution and misses a case or two I think. jesse On Fri, Apr 25, 2008 at 10:08 AM, Paul Gier <[EMAIL PROTECTED]> wrote:

RE: Multiple -P options

2008-04-25 Thread Brian E. Fox
This can go into 2.0.10 but we need an IT to test the behavior. -Original Message- From: Paul Gier [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:08 AM To: Maven Developers List Subject: Multiple -P options Hi Everyone, Currently maven only handles a single -P option to activ