From e178ba20d096e9b1572b2fdeb5b1e207ea55802c Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Thu, 15 Dec 2011 15:50:46 -0800 Subject: [PATCH] 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 Signed-off-by: Kevin Sawicki --- org.eclipse.jgit.ant/pom.xml | 19 +++++++++++++++++++ org.eclipse.jgit.console/pom.xml | 19 +++++++++++++++++++ org.eclipse.jgit.http.server/pom.xml | 19 +++++++++++++++++++ org.eclipse.jgit.storage.dht/pom.xml | 19 +++++++++++++++++++ org.eclipse.jgit/pom.xml | 20 ++++++++++++++++++++ pom.xml | 19 +++++++++++++++++++ 6 files changed, 115 insertions(+) diff --git a/org.eclipse.jgit.ant/pom.xml b/org.eclipse.jgit.ant/pom.xml index 22bea9aa5..bbb7e59fd 100644 --- a/org.eclipse.jgit.ant/pom.xml +++ b/org.eclipse.jgit.ant/pom.xml @@ -110,6 +110,25 @@ UTF-8 + + + org.codehaus.mojo + clirr-maven-plugin + + + + + + org.codehaus.mojo + clirr-maven-plugin + ${clirr-version} + + ${jgit-last-release-version} + info + + + + diff --git a/org.eclipse.jgit.console/pom.xml b/org.eclipse.jgit.console/pom.xml index a21632dca..db9e7292b 100644 --- a/org.eclipse.jgit.console/pom.xml +++ b/org.eclipse.jgit.console/pom.xml @@ -108,6 +108,25 @@ UTF-8 + + + org.codehaus.mojo + clirr-maven-plugin + + + + + + org.codehaus.mojo + clirr-maven-plugin + ${clirr-version} + + ${jgit-last-release-version} + info + + + + diff --git a/org.eclipse.jgit.http.server/pom.xml b/org.eclipse.jgit.http.server/pom.xml index 433c6682f..413d5d93f 100644 --- a/org.eclipse.jgit.http.server/pom.xml +++ b/org.eclipse.jgit.http.server/pom.xml @@ -125,6 +125,25 @@ + + + org.codehaus.mojo + clirr-maven-plugin + + + + + + org.codehaus.mojo + clirr-maven-plugin + ${clirr-version} + + ${jgit-last-release-version} + info + + + + diff --git a/org.eclipse.jgit.storage.dht/pom.xml b/org.eclipse.jgit.storage.dht/pom.xml index bd1d2fd5a..2c2b37e98 100644 --- a/org.eclipse.jgit.storage.dht/pom.xml +++ b/org.eclipse.jgit.storage.dht/pom.xml @@ -157,6 +157,25 @@ + + + org.codehaus.mojo + clirr-maven-plugin + + + + + + org.codehaus.mojo + clirr-maven-plugin + ${clirr-version} + + ${jgit-last-release-version} + info + + + + diff --git a/org.eclipse.jgit/pom.xml b/org.eclipse.jgit/pom.xml index 97e08f6e7..33e972e37 100644 --- a/org.eclipse.jgit/pom.xml +++ b/org.eclipse.jgit/pom.xml @@ -142,7 +142,13 @@ + + + org.codehaus.mojo + clirr-maven-plugin + + @@ -155,4 +161,18 @@ + + + + + org.codehaus.mojo + clirr-maven-plugin + ${clirr-version} + + ${jgit-last-release-version} + info + + + + diff --git a/pom.xml b/pom.xml index 87953f796..8f8adc107 100644 --- a/pom.xml +++ b/pom.xml @@ -130,14 +130,23 @@ yyyyMMddHHmm ${project.build.directory}/META-INF/MANIFEST.MF + 1.1.0.201109151100-r 0.1.44-1 4.5 2.0.12 2.5 7.1.6.v20100715 2.4.0a + 2.3 + + + jgit-repository + http://download.eclipse.org/jgit/maven + + + @@ -246,6 +255,16 @@ + + + org.codehaus.mojo + clirr-maven-plugin + ${clirr-version} + + ${jgit-last-release-version} + info + +