jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-4269

[regression] Invocation of just installed plugin on its plugin project can fail with ComponentLookupException for mojo class

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 3.0-alpha-3
  • Fix Version/s: 3.0-alpha-3
  • Component/s: Artifacts and Repositories, Plugins and Lifecycle
  • Labels:
    None
  • Complexity:
    Intermediate

Description

This is a side effect of my initial solution for MNG-3043: Basically, reactor resolution is too eager and resolves artifacts from project output even if the project has not been build in the current reactor build. In other words, a possibly cleaned (but not deleted) output directory is used for the artifact instead of the file from the repo.

For instance, the following steps on a simple plugin project will fail

  • mvn install to install the plugin JAR locally
  • erasing the contents of the project's target/classes directory, but leaving the directory itself existent
  • mvn the-just-installed-plugin:goal
    The last invocation will resolve the plugin from its own invalidate output directory.

Issue Links

is related to

Bug - A problem which impairs or prevents the functions of the product. MNG-3043 Allow 'mvn test' to work with test-jar dependencies in a reactor

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Benjamin Bentmann added a comment - 31/Jul/09 1:12 PM

Fixed in r799680.

Show
Benjamin Bentmann added a comment - 31/Jul/09 1:12 PM Fixed in r799680.

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Benjamin Bentmann
Vote (0)
Watch (0)

Dates

  • Created:
    31/Jul/09 12:20 PM
    Updated:
    31/Jul/09 1:12 PM
    Resolved:
    31/Jul/09 1:12 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.