| <?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>7.0.9</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>bval-tomee</artifactId> |
| <name>OpenEJB :: TCK :: Bean Validation TomEE</name> |
| |
| <properties> |
| <openejb.home>${project.build.directory}${file.separator}apache-tomee-webprofile-${project.version}</openejb.home> |
| <tck.version>1.1.4.Final</tck.version> |
| <validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider> |
| </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>${project.groupId}</groupId> |
| <artifactId>apache-tomee</artifactId> |
| <type>zip</type> |
| <version>${project.version}</version> |
| <classifier>webprofile</classifier> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>arquillian-tomee-remote</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.jboss.shrinkwrap</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jboss.shrinkwrap.descriptors</groupId> |
| <artifactId>*</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate.beanvalidation.tck</groupId> |
| <artifactId>beanvalidation-tck-tests</artifactId> |
| <version>${tck.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.testng</groupId> |
| <artifactId>arquillian-testng-container</artifactId> |
| <version>${version.arquillian}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.protocol</groupId> |
| <artifactId>arquillian-protocol-servlet</artifactId> |
| <version>${version.arquillian}</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> |
| <executions> |
| <execution> |
| <id>copy-tck-test-suite-file</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <stripVersion>true</stripVersion> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.hibernate.beanvalidation.tck</groupId> |
| <artifactId>beanvalidation-tck-tests</artifactId> |
| <type>xml</type> |
| <classifier>suite</classifier> |
| <overWrite>false</overWrite> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>verify</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>verify</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <systemPropertyVariables> |
| <validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider> |
| </systemPropertyVariables> |
| <suiteXmlFiles> |
| <suiteXmlFile>${project.build.directory}/dependency/beanvalidation-tck-tests-suite.xml</suiteXmlFile> |
| </suiteXmlFiles> |
| <parallel>classes</parallel> |
| <threadCount>1</threadCount> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |