Maven 2 & 3

2.1: aggregating plugins in submodules of the reactor return all projects causing a chicken/egg issue

Details

  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

eg, assembly:attached

when this is put in maven-core, and a build is run from the root project with a clean repo, it fails, as the original project sorter doesn't consider the dependencies, building plugin-tools after maven-core.
However, hitting the aggregator when building maven-core then tries to resolve all of the projects as dependencies.

Issue Links

Activity

Hide
Brian Fox added a comment -

Something needs to be done in alpha-1 to maintain compatibility with 2.0.x. The fix was not merged because it was already so different that it needed a new piece of code in 2.1 (and was a hack).

Show
Brian Fox added a comment - Something needs to be done in alpha-1 to maintain compatibility with 2.0.x. The fix was not merged because it was already so different that it needed a new piece of code in 2.1 (and was a hack).
Hide
Benjamin Bentmann added a comment -

Ported hack to 3.x in r808394 which is especially requires to keep the Release Plugin going.

Show
Benjamin Bentmann added a comment - Ported hack to 3.x in r808394 which is especially requires to keep the Release Plugin going.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: