| <?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.openejb</groupId> |
| <version>4.7.2</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>cdi-tomee-embedded</artifactId> |
| <packaging>jar</packaging> |
| <name>OpenEJB :: TCK :: CDI TomEE Embedded</name> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>tomee-embedded</artifactId> |
| <version>${tomee.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>tck-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.jsr299.tck</groupId> |
| <artifactId>jsr299-tck-impl</artifactId> |
| <version>${cditck.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jboss.ejb3</groupId> |
| <artifactId>jboss-ejb3-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <scope>compile</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> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>reserve-network-port</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>reserve-network-port</goal> |
| </goals> |
| <configuration> |
| <portNames> |
| <portName>tomee.ssl.port</portName> |
| <portName>tomee.ajp.port</portName> |
| <portName>tomee.http.port</portName> |
| <portName>tomee.shutdown.port</portName> |
| </portNames> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>tck-common</artifactId> |
| <version>${project.version}</version> |
| <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> |
| </artifactItem> |
| <artifactItem> |
| <groupId>org.apache.openejb</groupId> |
| <artifactId>cdi-tomee-embedded</artifactId> |
| <version>${project.version}</version> |
| <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <version>2.13</version> |
| <configuration> |
| <suiteXmlFiles> |
| <suiteXmlFile>src/test/resources/passing.xml</suiteXmlFile> |
| </suiteXmlFiles> |
| <!--<forkMode>once</forkMode>--> |
| <systemPropertyVariables> |
| <org.jboss.testharness.standalone>false</org.jboss.testharness.standalone> |
| <org.jboss.testharness.runIntegrationTests>true</org.jboss.testharness.runIntegrationTests> |
| <org.jboss.testharness.container.forceRestart>true</org.jboss.testharness.container.forceRestart> |
| <org.jboss.testharness.libraryDirectory>${project.build.directory}/dependency/lib</org.jboss.testharness.libraryDirectory> |
| <deleteArtifacts>true</deleteArtifacts> |
| |
| <!--<maven.failsafe.debug>true</maven.failsafe.debug>--> |
| <java.opts>-Xmx512m -XX:PermSize=64m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m -Xss2048k</java.opts> |
| </systemPropertyVariables> |
| </configuration> |
| <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> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |