You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/05/22 20:01:00 UTC

[jira] [Updated] (MNG-3326) Profile Deactivation Configuration

     [ https://issues.apache.org/jira/browse/MNG-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov updated MNG-3326:
--------------------------------
    Fix Version/s:     (was: Issues to be reviewed for 4.x)

> Profile Deactivation Configuration
> ----------------------------------
>
>                 Key: MNG-3326
>                 URL: https://issues.apache.org/jira/browse/MNG-3326
>             Project: Maven
>          Issue Type: New Feature
>          Components: Profiles
>    Affects Versions: 2.0.8
>            Reporter: Paul Gier
>            Priority: Major
>
> Profile definitions should have a way to add deactivation configuration similar to the activation configuration.  So you could have a profile definition similar to this:
> {code:xml}
> <profile>
>   <id>my-profile</id>
>   <activation>
>     <property>
>       <name>all.profiles.on</name>
>     </property>
>   </activation>
>   <deactivation>
>     <property>
>       <name>all.profiles.off</name>
>     </property>
>     <jdk>1.6</jdk>
>   </deactivation>
> </profile>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)