[ 
https://jira.codehaus.org/browse/MNG-5083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=271186#comment-271186
 ] 

Martin Todorov commented on MNG-5083:
-------------------------------------


Yegor, 

How would this be different from:
{code}
<project>
  ...
  <profiles>
    <profile>
      <id>my-always-active-profile</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      ...
    </profile>
  </profiles>
</project>
{code}

This already exists in Maven.


> unconditional explicit profile activation
> -----------------------------------------
>
>                 Key: MNG-5083
>                 URL: https://jira.codehaus.org/browse/MNG-5083
>             Project: Maven 2 & 3
>          Issue Type: New Feature
>    Affects Versions: 3.0.3
>            Reporter: Yegor Bugayenko
>
> Would be nice to have an ability to activate a profile unconditionally:
> {noformat}
> <profiles>
>   <profile>
>     <activation>
>       <enforce>true</enforce>
>     </activation>
>   </profile>
> </profiles>
> {noformat}
> That should mean that the profile is active no matter what. All other 
> activation conditions are just ignored.
> With this feature profiles could be used for convenient grouping of plugins 
> inside one module. For better readability of {{pom.xml}}.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to