maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hobson (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-4533) Add an always active profile activator
Date Fri, 15 Jan 2010 15:21:55 GMT
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

        

Mime
View raw message