| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <artifactId>bval-parent</artifactId> |
| <groupId>org.apache.bval</groupId> |
| <version>2.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>bval-tck-runner</artifactId> |
| <name>Apache BVal :: bval-tck (TCK Runner)</name> |
| <description>Aggregates dependencies and runs the JSR-349 TCK</description> |
| |
| <properties> |
| <tck.version>2.0.2.Final</tck.version> |
| <owb.version>2.0.4</owb.version> |
| <arquillian.version>1.1.11.Final</arquillian.version> |
| <validation.provider>org.apache.bval.jsr.ApacheValidationProvider</validation.provider> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-validation_2.0_spec</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_2.0_spec</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-annotation_1.3_spec</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-interceptor_1.2_spec</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-ejb_3.1_spec</artifactId> |
| <version>1.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-el-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.bval</groupId> |
| <artifactId>bval-jsr</artifactId> |
| <version>${project.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.container</groupId> |
| <artifactId>arquillian-container-test-spi</artifactId> |
| <version>${arquillian.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans.arquillian</groupId> |
| <artifactId>owb-arquillian-standalone</artifactId> |
| <version>${owb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-impl</artifactId> |
| <version>${owb.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.tomcat</groupId> |
| <artifactId>tomcat-jasper-el</artifactId> |
| <version>9.0.5</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hibernate.beanvalidation.tck</groupId> |
| <artifactId>beanvalidation-tck-tests</artifactId> |
| <version>${tck.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.validation</groupId> |
| <artifactId>validation-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jboss.spec.javax.interceptor</groupId> |
| <artifactId>jboss-interceptors-api_1.2_spec</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.testng</groupId> |
| <artifactId>arquillian-testng-container</artifactId> |
| <version>${arquillian.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.arquillian.protocol</groupId> |
| <artifactId>arquillian-protocol-servlet</artifactId> |
| <version>${arquillian.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>6.8.21</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>tck</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| <property> |
| <name>tck</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <configuration> |
| <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-surefire-plugin</artifactId> |
| <configuration> |
| <suiteXmlFiles> |
| <suiteXmlFile>${project.build.directory}/dependency/beanvalidation-tck-tests-suite.xml |
| </suiteXmlFile> |
| </suiteXmlFiles> |
| <systemProperties> |
| <property> |
| <name>validation.provider</name> |
| <value>${validation.provider}</value> |
| </property> |
| </systemProperties> |
| <parallel>methods</parallel> |
| <threadCount>4</threadCount> |
| |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate-test-report</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report-only</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory> |
| <outputName>test-report</outputName> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |