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

Extension defined in .mvn/extensions.xml failing "requirePluginVersions" check

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • Standard Rules
    • None
    • Windows 10, JDK 11 (Temurin), Maven 3.8.6, Enforcer Plugin 3.1.0

    Description

      I have defined the "maven-git-versioning-extension' in .mvn/extensions.xml with an explicit version.

       
      <extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      {{ xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">}}
        <extension>
          <groupId>me.qoomon</groupId>
          <artifactId>maven-git-versioning-extension</artifactId>
          <version>9.3.1</version>
        </extension>
      </extensions>
      This extension is not referenced anywhere in my POM.

      However, the 'requirePluginVersions' check is failing during build.

      NOTE: I saw MENFORCER-133 which was similiar but is already closed.

      Currently I have the workaround to add "me.qoomon:maven-git-versioning-extension" to the "unCheckedPluginList" configuration option, but this is sort of annoying since we use this extension in almost all of our git projects.

      Attachments

        Activity

          People

            Unassigned Unassigned
            JWT007 Jeff Thomas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: