Fork me on GitHub

Recording Changes

Here's an example:

mvn versions:use-latest-releases -DchangeRecorderFormat=xml

Which writes a file to target/versions-changes.xml that looks something like:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<updates xmlns="http://www.mojohaus.org/versions-maven-plugin/schema/updates/1.0">
  <update artifactId="dummy-api"
          groupId="localhost"
          kind="useLatestReleases"
          newVersion="3.0"
          oldVersion="1.1.1-2"/>
</updates>

The contents of this file records the fact that localhost:dummy-api:1.1.1-2 was upgraded to 3.0.