You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephen Connolly (JIRA)" <ji...@codehaus.org> on 2011/07/05 16:10:43 UTC
[jira] Closed: (MDEP-145) Outputting dependency resolution/tree in
a well known _machine readable_ output format
[ https://jira.codehaus.org/browse/MDEP-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Connolly closed MDEP-145.
---------------------------------
Resolution: Fixed
r1143067 includes the missing documentation update
> Outputting dependency resolution/tree in a well known _machine readable_ output format
> --------------------------------------------------------------------------------------
>
> Key: MDEP-145
> URL: https://jira.codehaus.org/browse/MDEP-145
> Project: Maven 2.x Dependency Plugin
> Issue Type: Improvement
> Components: resolve, tree
> Affects Versions: 2.0
> Reporter: Samuel Le Berrigaud
> Assignee: Brian Fox
> Fix For: 2.3
>
> Attachments: MDEP-145-velocity.patch, MDEP-145.zip, treegraph.patch
>
>
> Currently (at least on trunk) one can output the dependencies in a file. However the file output doesn't follow any specific format, except from being the exact same output than on the console.
> I would be nice to have an easily parse-able, format so that tools could leverage the dependency resolution/tree. I am thinking for example of continuous integration tools that could report on added/removed/updated dependencies on modules.
> The format could be xml, json or something else. I've been playing with the current output to make it so that:
> * the first line describes the current module for which dependency resolution is done, formatted as such: {{<groupId>:<artifactId>:<packaging>:<version>}}
> * every following line is a dependency (indented by 2 or more spaces), formatted as such: {{<groupId>:<artifactId>:<packaging>:<version>:<scope>}}
> This already is easy to parse.
> What do you think?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira