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

Profiles in profiles.xml are active by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.0.11, 2.1.0, 3.0-alpha-2
    • Profiles
    • None
    • windows 2000

    Description

      Profile specification on command line is ignored and all profiles are active.

      How to reproduce:

      • open attachment
      • extract to folder
      • type: cd my-app
      • type: mvn help:active-profiles -Pproduction
      • you get the following:
        The following profiles are active:
      • skipunittest (source: profiles.xml)
      • test (source: profiles.xml)
      • production (source: profiles.xml)
      • you should get:

      The following profiles are active:

      • production (source: profiles.xml)

      thanks,
      Attila

      Attachments

        1. my-app.zip
          3 kB
          Attila Mezei-Horvati

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              attila_mh Attila Mezei-Horvati
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: