http://maven.apache.org/guides/introduction/introduction-to-profiles.html
<activation>
<property>
<name>debug</name>
</property>
</activation>
Emmanuel
dan tran a écrit :
the profile is in the pom. I need to create a profile for
native-maven-plugin.
where by default it builds nondebug artifact. When user passed in -Ddebug,
the need to activate the configururation that has debug flags.
-Dan
On 2/16/06, John Casey <[EMAIL PROTECTED]> wrote:
Where is this active profile defined? I think you can mark it as
<activeByDefault>true</activeByDefault>, and when any other profile is
activated this one will be deactivated...
That may be too simplistic...
-j
dan tran wrote:
Can i deactivate an active profile?
I have a default profile,.. but when a condition met, I would like to
swap
the default profile with a new one.
-D
---------------------------------------------------------------------
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]