Maven 2 & 3

[regression] Explicitly using plugin metaversions crashes plugin manager

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.1.0
  • Fix Version/s: 2.1.0
  • Component/s: Plugins and Lifecycle
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

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.

Activity

Hide
Benjamin Bentmann added a comment -

Fixed in r754667 and r754668, respectively.

Show
Benjamin Bentmann added a comment - Fixed in r754667 and r754668, respectively.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: