Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
enable japicmp plugin on select modules
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwawi committed Nov 28, 2015
1 parent 85bef90 commit a3dcb35
Show file tree
Hide file tree
Showing 9 changed files with 95 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apollo-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
</classpathDependencyExcludes>
</configuration>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
6 changes: 6 additions & 0 deletions apollo-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
Expand Down
9 changes: 9 additions & 0 deletions apollo-environment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>coverage</id>
Expand Down
9 changes: 9 additions & 0 deletions apollo-extra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>coverage</id>
Expand Down
9 changes: 9 additions & 0 deletions apollo-http-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>coverage</id>
Expand Down
9 changes: 9 additions & 0 deletions apollo-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>coverage</id>
Expand Down
9 changes: 9 additions & 0 deletions modules/jetty-http-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>coverage</id>
Expand Down
9 changes: 9 additions & 0 deletions modules/okhttp-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
31 changes: 31 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,37 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.6.1</version>
<configuration>
<oldVersion>
<dependency>
<groupId>com.spotify</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>1.0.0</version>
</dependency>
</oldVersion>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path>
</file>
</newVersion>
<parameter>
<breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications>
<onlyBinaryIncompatible>true</onlyBinaryIncompatible>
</parameter>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
Expand Down

0 comments on commit a3dcb35

Please sign in to comment.