Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3527

profile deactivation has no affect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.9
    • 2.0.10, 2.1.0-M1
    • None
    • None

    Description

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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              trent Trent Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: