You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2010/01/15 16:21:55 UTC

[jira] Created: (MNG-4533) Add an always active profile activator

Add an always active profile activator
--------------------------------------

                 Key: MNG-4533
                 URL: http://jira.codehaus.org/browse/MNG-4533
             Project: Maven 2 & 3
          Issue Type: New Feature
          Components: Profiles
    Affects Versions: 2.2.1
            Reporter: Mark Hobson
            Priority: Minor


There's currently no convenient method of always activating a profile, unless explicitly deactivated.  There is of course {{activeByDefault}}, but this activator is deactivated if another profile within the same pom is activated.

I propose something like:

{noformat}
<activation>
  <active/>
</activation>
{noformat}

The current workaround is to activate on the absence of a property.  For example:

{noformat}
<activation>
  <property>
    <name>!dummy</name>
  </property>
</activation>
{noformat}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira