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

Extends RequirePluginVersions with banMavenDefaults

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      Since Maven 2.0.9 Maven comes with a set of predefined versions in the super POM and the default lifecycle bindings
      When using these plugins without explicit giving it a version in your pom, the build depends on a specific Maven version.
      Best practice is to lock these plugins in your pom, hence these Maven defaults should be banned.
      When using the Maven Wrapper, you have already locked the Maven version, in which case you don't need to lock these versions.

      Attachments

        Activity

          People

            rfscholte Robert Scholte
            rfscholte Robert Scholte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: