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

requireProfileIdsExist triggers if profile is defined at parent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0-M2
    • Fix Version/s: 3.0.0-M3
    • Component/s: Standard Rules
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: