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

Profile not active even though it has activeByDefault set to true

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Profiles
    • Labels:
      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

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              bmargulies Benson Margulies
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: