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

Regression possibly caused by MENFORCER-281

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 3.0.0-M2
    • Fix Version/s: None
    • Component/s: Standard Rules
    • Labels:
      None

      Description

      I have a multi-module project, the parent pom of which inherits from spring-boot-starter-parent. It also enables maven-enforcer. The Sprint Boot pom defines explicit versions for all of these plugins:

      • org.apache.maven.plugins:maven-clean-plugin
      • org.apache.maven.plugins:maven-failsafe-plugin
      • org.apache.maven.plugins:maven-dependency-plugin
      • org.apache.maven.plugins:maven-install-plugin
      • org.codehaus.mojo:versions-maven-plugin
      • org.apache.maven.plugins:maven-deploy-plugin

       

      This worked fine under 3.0.0-M1. However, since 3.0.0-M2, I get the following build failure from maven-enforcer:

      [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequirePluginVersions failed with message:
      Some plugins are missing valid versions:(LATEST RELEASE SNAPSHOT are not allowed )
      org.apache.maven.plugins:maven-clean-plugin. The version currently in use is 3.1.0
      org.apache.maven.plugins:maven-failsafe-plugin. The version currently in use is 2.22.1
      org.apache.maven.plugins:maven-dependency-plugin. The version currently in use is 3.1.1
      org.apache.maven.plugins:maven-install-plugin. The version currently in use is 2.5.2
      org.codehaus.mojo:versions-maven-plugin. The version currently in use is 2.7
      org.apache.maven.plugins:maven-deploy-plugin. The version currently in use is 2.8.2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                khmarbaise Karl Heinz Marbaise
                Reporter:
                rupert@madden-abbott.com Rupert Madden-Abbott
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: