diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 51 |
1 files changed, 51 insertions, 0 deletions
@@ -47,6 +47,7 @@ <jetty.version>9.3.7.v20160115</jetty.version> <phantomjs.version>2.1.1</phantomjs.version> + <skipApiDiff></skipApiDiff> </properties> <!-- TODO: remove this after maven plugin has been released --> @@ -279,6 +280,11 @@ <artifactId>org.eclipse.jgit</artifactId> <version>3.5.1.201410131835-r</version> </dependency> + <dependency> + <groupId>com.github.siom79.japicmp</groupId> + <artifactId>japicmp-maven-plugin</artifactId> + <version>0.9.1</version> + </dependency> </dependencies> </dependencyManagement> @@ -600,6 +606,51 @@ </plugins> </build> </profile> + <profile> + <id>apicmp</id> + <activation> + <activeByDefault>false</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>com.github.siom79.japicmp</groupId> + <artifactId>japicmp-maven-plugin</artifactId> + <configuration> + <oldVersion> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>${project.artifactId}</artifactId> + <version>${vaadin.api.reference.version}</version> + <type>jar</type> + </dependency> + </oldVersion> + <newVersion> + <file> + <path>${project.build.directory}/${project.artifactId}-${project.version}.${project.packaging}</path> + </file> + </newVersion> + <parameter> + <ignoreMissingClasses>true</ignoreMissingClasses> + <onlyModified>true</onlyModified> + <skipDiffReport>true</skipDiffReport> + <skipXmlReport>true</skipXmlReport> + <ignoreMissingOldVersion>true</ignoreMissingOldVersion> + <ignoreMissingNewVersion>true</ignoreMissingNewVersion> + </parameter> + </configuration> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>cmp</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> |