diff options
-rw-r--r-- | all/pom.xml | 17 | ||||
-rw-r--r-- | pom.xml | 51 |
2 files changed, 68 insertions, 0 deletions
diff --git a/all/pom.xml b/all/pom.xml index 1630241db7..e4658dffd1 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -338,5 +338,22 @@ </pluginManagement> </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> + <skip>true</skip> + </configuration> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> @@ -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> |