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

Profile not active even though it has activeByDefault set to true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 3.0, 3.8.5
    • 4.1.0
    • Profiles
    • None

    Description

      I've got a parent pom with a profile with <activeByDefault>true</activeByDefault>.

      You can retrieve it for yourself via git clone git://git.apache.org/webservices-xmlschema.git.

      The problem is the sourcecheck profile in the parent pom.

      running mvn -Psourcecheck works as expected, but running without the -P fails to activate the profile.

      the help plugin, I think, has separate problems in this area, or perhaps it's not supposed to look at -P?

      Attachments

        1. pom.xml
          3 kB
          Benjamin Bentmann

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              bmargulies Benson Margulies
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: