Hi,

I just realized that it's possible to get non-transitive dependencies
from a POM (with the use of the ArtifactResolver), but it's not possible
to get the dependencies that are _actually_ declared in that POM:
they have already been merged with the parent's dependencies declarations.

Can we add a field 'declaredDependencies' either in the Model
or in MavenProject that will get a copy of the Dependencies section
and will not be touched by merging/transitive dependency
handling/inheritance? This would make it a lot easier to display
what was declared where since this information is totally lost now.

Maybe a more elegant solution would be to add a field to Artifact
(or extend it) that will be filled in with a 'declaring artifact'
which contains g:a:v of the POM that declared/brought in this dep.

Comments, thoughts?

-- Kenney

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to