You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/12/31 07:30:55 UTC

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

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

Brett Porter updated MNG-2557:
------------------------------

    Fix Version/s:     (was: 2.x)
                   3.1

I don't think this should be profiles deactivating others, but rather a better set of conditionals (particularly around 'environments'). The classic example is trying to do several combinations of cargo setups for different platform combinations. Mixins might help.

I prefer to push as much into properties and avoid profile combinations, but it isn't always possible if the declarations need to differ.

> Various enhancements to profiles
> --------------------------------
>
>                 Key: MNG-2557
>                 URL: http://jira.codehaus.org/browse/MNG-2557
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Jimisola Laursen
>             Fix For: 3.1
>
>
> 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 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