maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Hohwiller (JIRA) <>
Subject [jira] Commented: (MNG-2172) <dependencyManagement><dependency><version>'s are not used when evaluating <plugin><dependencies><dependency>
Date Wed, 03 Nov 2010 14:45:03 GMT


Jörg Hohwiller commented on MNG-2172:

I also disagree with "Won't fix"

> The dependencyManagement element is not for managing plugins or extension.
This is not the point here.

If e.g. maven-antrun-plugin is used and one adds a dependency to ant and ant-contrib that
is just a plain dependency and no plugin. This should be treated as any other dependency.
And as shown by the two redundant issues on this topic it seems to be just natural to expect
maven to behave like this. Without a fix on this one has to add redundant exclusions, etc.
to his POMs.
Maven is really great in reducing redundancies with all the POM inheritance features and convention-over-configuration
philosophy, etc.
I can not see a reason why this feature should not be added.

> <dependencyManagement><dependency><version>'s are not used when evaluating
> -------------------------------------------------------------------------------------------------------------
>                 Key: MNG-2172
>                 URL:
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>         Environment: 2.0.2-SNAPSHOT
>            Reporter: John Allen
>            Assignee: Jason van Zyl
> dep management is not honoured for plugins dep evaluation.
> <kenney> hm.. looks like inheritance, after investigating.. the MavenMetaDataSource
doesn't use the MavenProject.getDependencyManagement
> <kenney> jah.. found it.
> <jallen> NICE, estimate... 30 mins or 30 hrs?
> <kenney> 30 mins
> <kenney> the maven-project DefaultMavenProjectBuilder uses a different method in
the ArtifactResolved to resolve deps than the maven-core DefaultPluginManager
> <kenney> but all the info is available..

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message