profile deactivation has no affect
----------------------------------

                 Key: MNG-3527
                 URL: http://jira.codehaus.org/browse/MNG-3527
             Project: Maven 2
          Issue Type: Bug
    Affects Versions: 2.0.9
            Reporter: Trenton


Brian looked at the source code, and it appears that deactivation of profiles 
should work.  I'm using a profile that is active by default, and I want to 
override this.

The following command shows that deactivating my profile is not working.  I 
tried this on 2.0.8 and 2.0.9

mvn help:active-profiles -P-oros

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO] ------------------------------------------------------------------------
[INFO] Building oros web component
[INFO]    task-segment: [help:active-profiles] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] [help:active-profiles]
[INFO]
Active Profiles for Project 'ca.athabascau.banner:web:war:1.1.23-SNAPSHOT':

The following profiles are active:

 - oros (source: settings.xml)
 - dev (source: settings.xml)
 - oros (source: settings.xml)
 - dev (source: settings.xml)



[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Apr 15 16:25:15 MDT 2008
[INFO] Final Memory: 3M/5M
[INFO] ------------------------------------------------------------------------


-- 
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

        

Reply via email to