| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans</artifactId> |
| <version>1.7.0-SNAPSHOT</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>openwebbeans-tck</artifactId> |
| <name>JSR-346 TCK runner</name> |
| <packaging>jar</packaging> |
| <description>All TCK tests for the Apache OpenWebBeans Implementation</description> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.jboss.arquillian</groupId> |
| <artifactId>arquillian-bom</artifactId> |
| <version>${arquillian.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| |
| <!-- Those dependencies are required for standalone TCK testing --> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-interceptor_1.2_spec</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>xbean-finder-shaded</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>6.8.8</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-ejb</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-spi</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_1.1_spec</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-ejb_3.1_spec</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.cdi.tck</groupId> |
| <artifactId>cdi-tck-impl</artifactId> |
| <version>${cdi.tck.version}</version> |
| <scope>compile</scope> |
| <exclusions> |
| <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> |
| </exclusions> |
| </dependency> |
| |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>tck</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-porting</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans.arquillian</groupId> |
| <artifactId>owb-arquillian-standalone</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| |
| |
| <dependency> |
| <!-- arquillian dependency hell hitting us again... --> |
| <groupId>org.jboss.arquillian.container</groupId> |
| <artifactId>arquillian-container-test-impl-base</artifactId> |
| <version>${arquillian.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jsp_2.2_spec</artifactId> |
| <version>1.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.1_spec</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_3.0_spec</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.myfaces.core</groupId> |
| <artifactId>myfaces-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludedGroups>integration,javaee-full</excludedGroups> |
| <suiteXmlFiles> |
| <suiteXmlFile>standalone-suite.xml</suiteXmlFile> |
| </suiteXmlFiles> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-tck</id> |
| <phase>generate-test-sources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| |
| <!-- OWB Porting Package --> |
| <artifactItem> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-porting</artifactId> |
| <overWrite>true</overWrite> |
| <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> |
| </artifactItem> |
| |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |