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

requireProfileIdsExist triggers if profile is defined at parent

Attach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment