I'm using Maven 2.2.0, although I'm planning to migrate to Maven 3.. I hope
this behavior hasn't changed in Maven 3, since I'm quite depending on it
right now.

On Fri, Mar 25, 2011 at 7:10 PM, Wendy Smoak <[email protected]> wrote:

> On Fri, Mar 25, 2011 at 6:08 PM, Rafael Vanderlei
> <[email protected]> wrote:
>
> > The profiles I need to be active by default are configure with
> > <activeByDefault>true</activeByDefault> . If one developer needs to do
> > something unusual, he simply runs ' mvn -Pprofile1,profile2 package ' .
> By
> > doing so, all the "activeByDefault" profiles will be automatically
> > deactivated and only the profiles explicitly defined will be activated.
>
> What version of Maven are you using?  I thought that behavior (which
> was awfully non-intuitive) had changed...
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to