#1231 Add japicmp for the MapStruct API

This commit is contained in:
Filip Hrisafov 2017-08-17 00:10:04 +02:00 committed by GitHub
parent 2f4cf7c905
commit 17da0cf912
4 changed files with 48 additions and 0 deletions

View File

@ -166,6 +166,10 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -157,6 +157,10 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

View File

@ -516,6 +516,31 @@
</signaturesFiles>
</configuration>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<version>0.10.0</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>cmp</goal>
</goals>
</execution>
</executions>
<configuration>
<newVersion>
<file>
<path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path>
</file>
</newVersion>
<parameter>
<oldVersionPattern>\d+\.\d+\.\d+\.Final</oldVersionPattern>
<breakBuildBasedOnSemanticVersioning>true</breakBuildBasedOnSemanticVersioning>
</parameter>
</configuration>
</plugin>
</plugins>
</pluginManagement>

View File

@ -341,6 +341,21 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<configuration>
<parameter>
<includes>
<include>org.mapstruct.ap</include>
</includes>
<excludes>
<exclude>org.mapstruct.ap.internal</exclude>
<exclude>org.mapstruct.ap.shaded</exclude>
</excludes>
</parameter>
</configuration>
</plugin>
</plugins>
</build>