This is an automated email from the ASF dual-hosted git repository.

jlmonteiro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
     new 36fce57  TOMEE-2686 add bval TCK Signature Test
36fce57 is described below

commit 36fce57849c962612d0552078fc39faf1a963e67
Author: Jean-Louis Monteiro <[email protected]>
AuthorDate: Sun Sep 22 12:56:28 2019 -0700

    TOMEE-2686 add bval TCK Signature Test
---
 tck/bval-signature-test/pom.xml | 133 ++++++++++++++++++++++++++++++++++++++++
 tck/cdi-standalone/pom.xml      | 126 +++++++++++++++++++++++++++++++++++++
 tck/pom.xml                     |   3 +
 3 files changed, 262 insertions(+)

diff --git a/tck/bval-signature-test/pom.xml b/tck/bval-signature-test/pom.xml
new file mode 100644
index 0000000..c4fa367
--- /dev/null
+++ b/tck/bval-signature-test/pom.xml
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  <parent>
+    <artifactId>tck</artifactId>
+    <groupId>org.apache.tomee</groupId>
+    <version>8.0.1-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+
+  <artifactId>bval-signature-test</artifactId>
+  <name>TomEE :: TCK :: Bean Validation TCK Signature tests</name>
+
+  <properties>
+    
<suiteFile>${project.build.directory}/dependency/beanvalidation-tck-tests-suite.xml</suiteFile>
+  </properties>
+
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>tck-common</artifactId>
+      <version>${project.version}</version>
+      <scope>test</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>org.jboss.test-harness</groupId>
+          <artifactId>jboss-test-harness</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>openejb-core</artifactId>
+      <version>${project.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.testng</groupId>
+      <artifactId>testng</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernate.beanvalidation.tck</groupId>
+      <artifactId>beanvalidation-tck-tests</artifactId>
+      <version>${bval-tck.version}</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <useFile>false</useFile>
+          <disableXmlReport>true</disableXmlReport>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>3.0.0</version>
+        <executions>
+          <execution>
+            <id>copy-tck-bv-api-signature-file</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>${bval-tck.version}</version>
+                  <type>jar</type>
+                  <overWrite>false</overWrite>
+                </artifactItem>
+              </artifactItems>
+              <!-- We just need the signature file and nothing else -->
+              <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>
+        <version>1.0</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+        <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>
+      </plugin>
+    </plugins>
+  </build>
+</project>
diff --git a/tck/cdi-standalone/pom.xml b/tck/cdi-standalone/pom.xml
new file mode 100644
index 0000000..e3c6fdc
--- /dev/null
+++ b/tck/cdi-standalone/pom.xml
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <parent>
+    <artifactId>tck</artifactId>
+    <groupId>org.apache.tomee</groupId>
+    <version>8.0.1-SNAPSHOT</version>
+  </parent>
+
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>cdi-standalone</artifactId>
+  <name>TomEE :: TCK :: CDI Standalone</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>javaee-api</artifactId>
+      <version>${version.javaee-api}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.cdi.tck</groupId>
+      <artifactId>cdi-tck-impl</artifactId>
+      <version>${cdi-tck.version}</version>
+      <exclusions>
+        <exclusion>
+          <groupId>javax.xml.soap</groupId>
+          <artifactId>javax.xml.soap-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.inject</groupId>
+          <artifactId>javax.inject</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.enterprise</groupId>
+          <artifactId>cdi-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.faces</groupId>
+          <artifactId>jsf-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.servlet</groupId>
+          <artifactId>javax.servlet-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.servlet.jsp</groupId>
+          <artifactId>jsp-api</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.transaction</groupId>
+          <artifactId>jta</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>javax.annotation</groupId>
+          <artifactId>javax.annotation-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>3.0.0</version>
+        <executions>
+          <execution>
+            <id>copy-tck-api-signature-file</id>
+            <phase>generate-test-sources</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.jboss.cdi.tck</groupId>
+                  <artifactId>cdi-tck-impl</artifactId>
+                  <version>${cdi-tck.version}</version>
+                  <type>jar</type>
+                  <overWrite>false</overWrite>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.netbeans.tools</groupId>
+        <artifactId>sigtest-maven-plugin</artifactId>
+        <version>1.0</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+        <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>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>
diff --git a/tck/pom.xml b/tck/pom.xml
index 05d8570..e8fb9eb 100644
--- a/tck/pom.xml
+++ b/tck/pom.xml
@@ -28,6 +28,7 @@
 
   <properties>
     <cdi.tck.20.version>2.0.3.Final</cdi.tck.20.version>
+    <cdi-tck.version>${cdi.tck.20.version}</cdi-tck.version>
 
     <bval-tck.version>2.0.4.Final</bval-tck.version>
     
<validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider>
@@ -37,8 +38,10 @@
     <module>tck-common</module>
     <module>cdi-embedded</module>
     <module>cdi-tomee</module>
+    <!--<module>cdi-standalone</module>-->
     <module>bval-embedded</module>
     <module>bval-tomee</module>
+    <module>bval-signature-test</module>
     <module>microprofile-tck</module>
   </modules>
 

Reply via email to