Output version analysis in XML format
-------------------------------------

                 Key: MVERSIONS-154
                 URL: http://jira.codehaus.org/browse/MVERSIONS-154
             Project: Maven 2.x Versions Plugin
          Issue Type: New Feature
            Reporter: Nicolas Grobisa
            Priority: Minor


It would be desirable to get information from the 
versions:display-dependency-updates goal (and eventually, from other goals) in 
XML format (or another format that can be easily fed to parsers).
This would allow other apps to access and manipulate that information.

An analog behavior can be found in the Cobertura Maven Plugin 
(http://mojo.codehaus.org/cobertura-maven-plugin/) that outputs the code 
coverage in an XML file. In addition to this, there's a Jenkins (the continuous 
integration server) Cobertura Plugin that parses that XML and creates a nice 
graph as a result of the build.

This is a possible example of the output, where I used data from the HTML 
report:

<outdatedDependencies>

  <dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <currentVersion>1.2.14</currentVersion>
    <scope>compile</scope>
    <type>jar</type>
    <nextVersion/>
    <nextIncrementalVersions>
      <version>1.2.16</version>
    </nextIncrementalVersions>
    <nextMinorVersions/>
    <nextMajorVersions/>
  </dependency>

  <dependency>
    <groupId>org,springframework</groupId>
    <artifactId>spring-tx</artifactId>
    <currentVersion>3.0.1.RELEASE</currentVersion>
    <scope>runtime</scope>
    <type>jar</type>
    <nextVersion/>
    <nextIncrementalVersions/>
    <nextMinorVersions/>
    <nextMajorVersions>
      <version>3.0.2</version>
      <version>3.0.3</version>
      <version>3.0.4</version>
      <version>3.0.5</version>
    </nextMajorVersions/>
  </dependency>

</outdatedDependencies>


-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to