Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4086

[regression] Explicitly using plugin metaversions crashes plugin manager

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: Plugins and Lifecycle
    • Labels:
      None

      Description

      Invoking

      mvn org.apache.maven.plugins:maven-clean-plugin:LATEST:clean
      

      dies with

      java.lang.IllegalStateException: The plugin descriptor for the plugin Plugin [org.apache.maven.plugins:maven-clean-plugin] was not found.
      Please verify that the plugin JAR U:\Jeder\Maven-2\org\apache\maven\plugins\maven-clean-plugin\2.3\maven-clean-plugin-2.3.jar is intact.
              at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:328)
              at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:213)
              at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:175)
      

      While users usually won't need to explicitly use RELEASE or LATEST, plugin developers do occasionally for testing.

        Attachments

          Activity

            People

            • Assignee:
              bentmann Benjamin Bentmann
              Reporter:
              bentmann Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: