summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.console
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2011-12-15 15:50:46 -0800
committerKevin Sawicki <kevin@github.com>2011-12-15 15:50:46 -0800
commite178ba20d096e9b1572b2fdeb5b1e207ea55802c (patch)
tree0eb08a563688909547433d67e30be44447270ce3 /org.eclipse.jgit.console
parent3c544647b7b3b291ad1f3661881f6d3bf9f90da4 (diff)
downloadjgit-e178ba20d096e9b1572b2fdeb5b1e207ea55802c.tar.gz
jgit-e178ba20d096e9b1572b2fdeb5b1e207ea55802c.zip
Add API checking using clirr
In order to generate API reports run: mvn clirr:clirr The reports are generated to the folder target/site/clirr-report.html under the respective project. In order to check API compatibility and fail the build on incompatible changes run: mvn clirr:check For now we compare the API against the latest release 1.1.0.201109151100-r. Bug: 336849 Change-Id: I21baaf3a6883c5b4db263f712705cc7b8ab6d888 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.jgit.console')
-rw-r--r--org.eclipse.jgit.console/pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/org.eclipse.jgit.console/pom.xml b/org.eclipse.jgit.console/pom.xml
index a21632dcae..db9e7292b4 100644
--- a/org.eclipse.jgit.console/pom.xml
+++ b/org.eclipse.jgit.console/pom.xml
@@ -108,6 +108,25 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>clirr-maven-plugin</artifactId>
+ </plugin>
</plugins>
</build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>clirr-maven-plugin</artifactId>
+ <version>${clirr-version}</version>
+ <configuration>
+ <comparisonVersion>${jgit-last-release-version}</comparisonVersion>
+ <minSeverity>info</minSeverity>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
</project>