[
http://jira.codehaus.org/browse/MNG-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated MNG-2866:
------------------------------
Fix Version/s: (was: Reviewed Pending Version Assignment)
3.x
review with Mercury
> MavenProject objects of dependencies should be made available
> -------------------------------------------------------------
>
> Key: MNG-2866
> URL: http://jira.codehaus.org/browse/MNG-2866
> Project: Maven 2
> Issue Type: Improvement
> Components: Dependencies
> Affects Versions: 2.0.4
> Reporter: Kohsuke Kawaguchi
> Fix For: 3.x
>
>
> Maven parses POM files of dependency jars recursively by using
> MavenMetadataSource.retrieve(). It needs to do so to find out the transitive
> dependencies.
> But currently, the parsed MavenProject object is immediately thrown away
> after dependency list is fetched from it.
> POM files contain various useful information, so I'd like Maven to keep
> MavenProject somewhere so that I can access it from my plugin. Possible use
> cases include:
> - find out all the licenses used in your dependency and generate a
> 3rd-party-license.txt
> - use information in POM to perform custom packaging
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira