-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API version verification and unit tests
- Loading branch information
Showing
3 changed files
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
<groupId>zebra4j</groupId> | ||
<artifactId>zebra4j</artifactId> | ||
<version>0.3</version> | ||
<version>0.4-SNAPSHOT</version> | ||
|
||
<name>zebra4j</name> | ||
<url>https://github.com/murfffi/zebra4j</url> | ||
|
@@ -71,7 +71,7 @@ | |
</dependencies> | ||
|
||
<build> | ||
<pluginManagement><!-- lock down plugins versions to avoid using Maven | ||
<pluginManagement><!-- lock down plugins versions to avoid using Maven | ||
defaults (may be moved to parent pom) --> | ||
<plugins> | ||
<plugin> | ||
|
@@ -160,12 +160,48 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.revapi</groupId> | ||
<artifactId>revapi-maven-plugin</artifactId> | ||
<version>0.12.2</version> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.revapi</groupId> | ||
<artifactId>revapi-java</artifactId> | ||
<version>0.22.1</version> | ||
</dependency> | ||
</dependencies> | ||
<configuration> | ||
<analysisConfiguration> | ||
<!-- Documented at https://revapi.org/revapi-basic-features/semver-ignore.html --> | ||
<revapi.semver.ignore> | ||
<enabled>true</enabled> | ||
<versionIncreaseAllows> | ||
<major>breaking</major> | ||
<!-- Breaking changes at minor version, allowed while major is 0 --> | ||
<minor>breaking</minor> | ||
<patch>nonBreaking</patch> | ||
</versionIncreaseAllows> | ||
<passThroughDifferences> | ||
<item>java.class.nonPublicPartOfAPI</item> | ||
</passThroughDifferences> | ||
</revapi.semver.ignore> | ||
</analysisConfiguration> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>check</id> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<scm> | ||
<url>https://github.com/murfffi/zebra4j</url> | ||
<connection>scm:git:ssh://[email protected]/murfffi/zebra4j.git</connection> | ||
<tag>v0.3</tag> | ||
</scm> | ||
<distributionManagement> | ||
<repository> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters