Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.25 KB

README.md

File metadata and controls

34 lines (28 loc) · 1.25 KB

RetroKompat

build Coverage Status License

Backward compatibility for Java binaries.

Motivation

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.

Usage

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).