The problem is that it's probably a poorly named element. It was meant to
help with profile-group semantics, where your build would activate one of a
set of profiles...or, if none were explicitly activated, then one of them
would be activated by default.

If you'd like a different behavior, I'd suggest filing a JIRA request for
it, and we can look into it for 2.1.

-john

On 8/9/06, Arik Kfir <[EMAIL PROTECTED]> wrote:

What's the rational of having only one activeByDefault profile?

2006/8/9, Edelson, Justin <[EMAIL PROTECTED]>:
>
> > Also, only one profile can be activeByDefault
> Is this really the case? I've got 4 profiles with
> <activeByDefault>true</activeByDefault> and I'm confident at least two
> of them are active (I just haven't needed the settings in the other 2
> today).
>
> The settings descriptor document makes no mention of this restriction.
>
> -----Original Message-----
> From: John Casey [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 08, 2006 3:58 PM
> To: dev@maven.apache.org
> Subject: Re: Assembly - profile bug
>
> activeByDefault is unlikely to be affected by the assembly plugin
> itself.
> Also, only one profile can be activeByDefault...this really means that
> this
> is the profile which will be activated when no others are, not that it
> is
> active unless deactivated (we don't actually have a specific mechanism
> for
> deactivation of profiles right now).
>
> What are the specific problems you're experiencing?
>
> -john
>
> On 8/8/06, mike7 <[EMAIL PROTECTED]> wrote:
> >
> >
> > Dear All,
> >
> > when using assembly plugin, profiles with activeByDefault set to true
> are
> > not honored. This is really annoying!
> >
> > Thanks,
> >
> > Mike
> > --
> > View this message in context:
> > http://www.nabble.com/Assembly---profile-bug-tf2074724.html#a5713406
> > Sent from the Maven - Issues forum at Nabble.com.
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
______________________________________
Cheers,
      Arik Kfir                                   [EMAIL PROTECTED]
      Linux user, number 415067 - http://counter.li.org/
      http://corleon.dnsalias.org


Reply via email to