Maven 1

plugin:install does not clean alternate versions of the plugin being installed

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0-beta-10, 1.0-rc1
  • Fix Version/s: 1.0-rc1
  • Component/s: core
  • Labels:
    None
  • Number of attachments :
    1

Description

In Maven 1.0b9, the plugin:install goal was updated in the plugin plugin to clean up alternate versions of the plugin being installed. At that time, both the plugin installation directory and the unpacked plugin cache directory were at the same location: ${maven.home}/plugins. In 1.0b10 and 1.0rc1, the unpacked plugin cache was moved to ${maven.plugin.unpacked.dir}, but the goal was not updated correctly. plugin:install correctly deletes all unpacked versions of the plugin from the cache, but no longer deletes alternate versions of plugin jars from the plugin installation directory. The attached patch shows the simple correction.

Activity

Hide
David Zeleznik added a comment -

Patch file for src/plugins-build/plugin/plugin.jelly r1.7.2.1 (the MAVEN_RC1_STABLE branch).

Show
David Zeleznik added a comment - Patch file for src/plugins-build/plugin/plugin.jelly r1.7.2.1 (the MAVEN_RC1_STABLE branch).
Hide
dion gillard added a comment -

Patch applied, thanks

Show
dion gillard added a comment - Patch applied, thanks

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: