And -P!profile or -P-profile to remove it...

This is especially handy if you have one profile that is always active by
default... the hack of -Pdoesnotexist to disable it is not nice

On Mon, Apr 28, 2008 at 11:03 AM, Bernhard David <[EMAIL PROTECTED]>
wrote:

> Hello,
>
> well there's "mvn help:active-profiles" for the active ones already - A
> debugging option would be good too.
>
> On the topic of profiles: I'd find it useful to have "-Pprofile" work as
> usual, but "-P+profile" to add "profile" to the 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
> > Subject: Re: Multiple -P options
> >
> > 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-profi
> les-mojo.html<http://maven.apache.org/plugins/maven-help-plugin/active-profiles-mojo.html>
> >
> > --
> > David J. M. Karlsen - +47 90 68 22 43
> > http://www.davidkarlsen.com
> > http://mp3.davidkarlsen.com
> >
> > ---------------------------------------------------------------------
> > 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]
>
>

Reply via email to