You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Maves <na...@gmail.com> on 2007/06/15 18:44:18 UTC
Enforcing the use of a profile?
Is there any way within maven to force that a profile is selected?
I would have to have to write shell/bat files to do this work for me.
Nathan
Re: Enforcing the use of a profile?
Posted by Andrew Williams <an...@handyande.co.uk>.
There is the <activation> section in the profile that can contain
<activeByDefault>true</activeByDefault>
Andy
On 15 Jun 2007, at 17:44, Nathan Maves wrote:
> Is there any way within maven to force that a profile is selected?
>
> I would have to have to write shell/bat files to do this work for me.
>
> Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Enforcing the use of a profile?
Posted by Wendy Smoak <ws...@gmail.com>.
On 6/15/07, Nathan Maves <na...@gmail.com> wrote:
> Is there any way within maven to force that a profile is selected?
That doesn't make sense to me... if you always want some configuration
to be active, then put it in the pom directly rather than in a
profile.
As always, you'll get better answers if you tell us what problem
you're trying to solve, rather than asking how to implement the
solution you've arrived at on your own. :)
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org