Maven 2 & 3

Transitive dependencies referenced by a plugin are searched only in the plugin-repositories

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.4
  • Fix Version/s: 2.0.5
  • Labels:
    None
  • Environment:
    WinXP, JDK 1.5_08
  • Complexity:
    Intermediate
  • Number of attachments :
    1

Description

Transitive dependencies referenced by a plugin are searched only in the plugin-repositories
In my case, the axis plugin references th javax.activation artifact. this artifact is keep at our site in a 3rd-party repo.
If this repo is only addressed in the <Repositories>, the build fails.If it is also refereced in the <pluginRepositories> everything works fine.

Is this the intended practice?

Issue Links

Activity

Hide
Thomas Minor added a comment -

I accidently used a too high priority.

Show
Thomas Minor added a comment - I accidently used a too high priority.
Hide
Kenney Westerhof added a comment -

Confirmed.

This is about specifying <dependencies> within a <plugin> tag.

Only <pluginRepositories> from the pom are used, not the normal <repository> definitions.

Show
Kenney Westerhof added a comment - Confirmed. This is about specifying <dependencies> within a <plugin> tag. Only <pluginRepositories> from the pom are used, not the normal <repository> definitions.
Hide
John Casey added a comment -

This is a test for the issue. Simply call `mvn clean`

Show
John Casey added a comment - This is a test for the issue. Simply call `mvn clean`
Hide
John Casey added a comment -

This is ready to close, but I want to hold off until I can find out from Jason how to add the attached test project into the core integration-test suite.

Show
John Casey added a comment - This is ready to close, but I want to hold off until I can find out from Jason how to add the attached test project into the core integration-test suite.
Hide
Jason van Zyl added a comment -

This is the intended behaviour, but normally people just set their plugin repos and standard repos to the same url.

Show
Jason van Zyl added a comment - This is the intended behaviour, but normally people just set their plugin repos and standard repos to the same url.

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: