Maven 2 & 3

project-level plugin dependencies not handled correctly in multimodule builds

Details

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

Description

plugin containers are only initialized once per build, which means they may contain incorrect project-introduced dependencies for project Y in a multimodule build (polluted by project X predecessor). We should look at ways of dumping plugin containers with project-specific configurations, or else providing a container overlay to handle project-specific dependencies, etc.

NOTE: This is tied into the notions of build extensions, which will have similar consequences on the core container.

Issue Links

Activity

Hide
Brett Porter added a comment -

is this still an issue on trunk?

Show
Brett Porter added a comment - is this still an issue on trunk?
Hide
Piotr Tabor added a comment -

Yes - it is still problem in trunk. JIRA for MNG-1323 contains patch for 2.0.x...
I am preparing patch for 2.1... I hope to have it this weekend.

Show
Piotr Tabor added a comment - Yes - it is still problem in trunk. JIRA for MNG-1323 contains patch for 2.0.x... I am preparing patch for 2.1... I hope to have it this weekend.
Hide
Piotr Tabor added a comment -

Patch for MNG-1323 commited in trunk by Jason van Zyl. As MNG-1323 is dupliacate for
this problem - this also should be resolved in trunk. To be tested by reported.

Patch for 2.0.x is ready to be commited in MNG-1323.

Show
Piotr Tabor added a comment - Patch for MNG-1323 commited in trunk by Jason van Zyl. As MNG-1323 is dupliacate for this problem - this also should be resolved in trunk. To be tested by reported. Patch for 2.0.x is ready to be commited in MNG-1323.

People

Vote (16)
Watch (7)

Dates

  • Created:
    Updated:
    Resolved: