maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kohsuke Kawaguchi (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-2866) MavenProject objects of dependencies should be made available
Date Sat, 10 Mar 2007 00:22:12 GMT
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


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

        

Mime
View raw message