You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/03 17:33:11 UTC

[jira] (MNG-2557) Various enhancements to profiles

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

Paul Benedict updated MNG-2557:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 4.x)

> Various enhancements to profiles
> --------------------------------
>
>                 Key: MNG-2557
>                 URL: https://jira.codehaus.org/browse/MNG-2557
>             Project: Maven
>          Issue Type: Improvement
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Jimisola Laursen
>
> The current support for profiles is somewhat limited and this issue report proposes some enhancements to profiles for ease and flexibility of use.
> Enhancement #1: Make it possible to have profiles that mutually exclude each other. A profile should be able to exclude one or more other profiles.
> Example of usage: We have a couple of profiles for databas settings (MSSQL, PostgreSQL and Derby). Only one of these profiles should be able to be active at the same time. Today, we can't express this in the profiles section.
> Enhancement #2: Make it possible to deactivate profiles from the command line.
> Example of usage: User and/or project has a set of profiles that are activate per default. The user wants to temporary disable on or more of these (by temporary I mean for one execution).
> Possible syntax might be: mvn -PsomeProfile=inactive|false|no or perhaps a separate command line switch.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)