Use japicmp instead of clirr to detect API changes
Clirr doesn't support Java 8 hence use japicmp instead. See https://github.com/siom79/japicmp Change-Id: If4b30a6d6aa849b4d6b3b0c900558c609822840c Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
4255e6f430
commit
100179a101
|
@ -102,24 +102,92 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>cmp</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>cmp-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
</project>
|
||||
|
|
|
@ -106,6 +106,93 @@
|
|||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>cmp</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<reporting>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>cmp-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
</project>
|
||||
|
|
|
@ -96,24 +96,92 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>cmp</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</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>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>cmp-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
</project>
|
||||
|
|
|
@ -127,8 +127,45 @@
|
|||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>cmp</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -136,13 +173,44 @@
|
|||
<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>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>cmp-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
|
|
@ -166,8 +166,45 @@
|
|||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>cmp</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
|
@ -187,13 +224,44 @@
|
|||
<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>
|
||||
<groupId>com.github.siom79.japicmp</groupId>
|
||||
<artifactId>japicmp-maven-plugin</artifactId>
|
||||
<version>${japicmp-version}</version>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
<reports>
|
||||
<report>cmp-report</report>
|
||||
</reports>
|
||||
</reportSet>
|
||||
</reportSets>
|
||||
<configuration>
|
||||
<oldVersion>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>${project.artifactId}</artifactId>
|
||||
<version>${jgit-last-release-version}</version>
|
||||
</dependency>
|
||||
</oldVersion>
|
||||
<newVersion>
|
||||
<file>
|
||||
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
|
||||
</file>
|
||||
</newVersion>
|
||||
<parameter>
|
||||
<onlyModified>true</onlyModified>
|
||||
<includes>
|
||||
<include>org.eclipse.jgit.*</include>
|
||||
</includes>
|
||||
<accessModifier>public</accessModifier>
|
||||
<breakBuildOnModifications>false</breakBuildOnModifications>
|
||||
<breakBuildOnBinaryIncompatibleModifications>false</breakBuildOnBinaryIncompatibleModifications>
|
||||
<onlyBinaryIncompatible>false</onlyBinaryIncompatible>
|
||||
<includeSynthetic>false</includeSynthetic>
|
||||
<ignoreMissingClasses>false</ignoreMissingClasses>
|
||||
<skipPomModules>true</skipPomModules>
|
||||
</parameter>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</reporting>
|
||||
|
|
16
pom.xml
16
pom.xml
|
@ -202,7 +202,7 @@
|
|||
<osgi-core-version>4.3.1</osgi-core-version>
|
||||
<servlet-api-version>3.1.0</servlet-api-version>
|
||||
<jetty-version>9.2.13.v20150730</jetty-version>
|
||||
<clirr-version>2.6.1</clirr-version>
|
||||
<japicmp-version>0.5.3</japicmp-version>
|
||||
<httpclient-version>4.3.6</httpclient-version>
|
||||
<slf4j-version>1.7.2</slf4j-version>
|
||||
<log4j-version>1.2.15</log4j-version>
|
||||
|
@ -354,16 +354,6 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
<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>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.eclipse.cbi.maven.plugins</groupId>
|
||||
<artifactId>eclipse-jarsigner-plugin</artifactId>
|
||||
|
@ -530,10 +520,6 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jxr-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>clirr-maven-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>findbugs-maven-plugin</artifactId>
|
||||
|
|
Loading…
Reference in New Issue