Backward compatibility for Java binaries.
When publishing a library, a sdk or any binary that is used externally, one may want to check for backward compatibility.
This tool will help achieving that verification in the form of a Maven plugin.
Add the plugin in the pom.xml file:
<plugins>
...
<plugin>
<groupId>com.github.fridujo</groupId>
<artifactId>retrokompat-maven-plugin</artifactId>
<version>${retrokompat-maven-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
By default the goal check
is bound to pre-integration-test phase (see build lifecycle).