Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-322

requireProfileIdsExist triggers if profile is defined at parent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.0.0-M2
    • 3.0.0-M3
    • Standard Rules
    • None

    Description

      If a profile is defined at a parent POM the maven-enforcer-plugin fails the build if requireProfileIdsExist is used.

      Transitive profiles should be also respected, since they are used during build.

      Example:

      profile from parent: RUN

      profile from self: DEV

      build parameters: -P RUN,DEV

      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProfileIdsExist faile
      d with message:
      The requested profile doesn't exist: RUN
      

      Attachments

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              AndreSchulzBerlin Andre Schulz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: