You mean you want to put the profile in the native plugin, so the profile is triggered when the user of the plugin specifies -Ddebug? That doesn't currently work, but you could use:

/**
 * @parameter expression="${debug}" default-value="false"
 */
private boolean debug;

inside your native plugin...

-john

dan tran wrote:
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]

Reply via email to