This plugin is used to generate an API difference report between two versions of code. See the JDiff Home Page for more information on JDiff.
The API differences generated compares two versions of code. JDiff automatically does the checkout of the sources based from the scm element inside your pom.xml and into the JDiff outputDirectory. If CURRENT is used as either oldTag or newTag, JDiff will use the sources from $project.build.sourceDirectory.
<project>
...
<reporting>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdiff-maven-plugin</artifactId>
<version>0.1-SNAPSHOT</version>
<configuration>
<svnUsername>epunzalan</svnUsername>
<svnPassword>password</svnPassword>
<svnTagBase>branches</svnTagBase>
<oldTag>alpha-1</oldTag>
</configuration>
</plugin>
...
</reporting>
...
</project><project>
...
<reporting>
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdiff-maven-plugin</artifactId>
<version>0.1-SNAPSHOT</version>
<configuration>
<packages>org.apache.maven</packages>
<oldTag>alpha</oldTag>
<newTag>beta</oldTag>
</configuration>
</plugin>
...
</reporting>
...
</project>