Repository: bval Updated Branches: refs/heads/master 750a1b815 -> 8084d4d79
checking API signatures of available bean validation API (default geronimo) against published signature file in the tck-tests artifact Project: http://git-wip-us.apache.org/repos/asf/bval/repo Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/8084d4d7 Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/8084d4d7 Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/8084d4d7 Branch: refs/heads/master Commit: 8084d4d7929e3c7ca4d19189fa81483bc2402629 Parents: 750a1b8 Author: Matt Benson <[email protected]> Authored: Wed Oct 31 11:21:04 2018 -0500 Committer: Matt Benson <[email protected]> Committed: Wed Oct 31 11:21:04 2018 -0500 ---------------------------------------------------------------------- bval-tck/pom.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++- pom.xml | 10 +++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bval/blob/8084d4d7/bval-tck/pom.xml ---------------------------------------------------------------------- diff --git a/bval-tck/pom.xml b/bval-tck/pom.xml index fb6c5e8..f2a0cd0 100644 --- a/bval-tck/pom.xml +++ b/bval-tck/pom.xml @@ -21,8 +21,8 @@ under the License. <modelVersion>4.0.0</modelVersion> <parent> - <artifactId>bval-parent</artifactId> <groupId>org.apache.bval</groupId> + <artifactId>bval-parent</artifactId> <version>2.0.1-SNAPSHOT</version> </parent> @@ -208,5 +208,59 @@ under the License. </plugins> </build> </profile> + <profile> + <id>sigtest</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>extract-sigsfile</id> + <phase>generate-test-sources</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.hibernate.beanvalidation.tck</groupId> + <artifactId>beanvalidation-tck-tests</artifactId> + <version>${tck.version}</version> + </artifactItem> + </artifactItems> + <includes>**/*.sig</includes> + <outputDirectory>${project.build.directory}/api-signature</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.netbeans.tools</groupId> + <artifactId>sigtest-maven-plugin</artifactId> + <executions> + <execution> + <id>sigtest</id> + <phase>test</phase> + <goals> + <goal>check</goal> + </goals> + <configuration> + <packages>javax.validation,javax.validation.bootstrap,javax.validation.constraints, + javax.validation.constraintvalidation,javax.validation.executable,javax.validation.groups, + javax.validation.metadata,javax.validation.spi,javax.validation.valueextraction + </packages> + <sigfile>${project.build.directory}/api-signature/validation-api-java8.sig</sigfile> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> http://git-wip-us.apache.org/repos/asf/bval/blob/8084d4d7/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 3226866..333c3bc 100644 --- a/pom.xml +++ b/pom.xml @@ -626,6 +626,16 @@ </dependency> </dependencies> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>3.1.1</version> + </plugin> + <plugin> + <groupId>org.netbeans.tools</groupId> + <artifactId>sigtest-maven-plugin</artifactId> + <version>1.0</version> + </plugin> </plugins> </pluginManagement>
