| <?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>container</artifactId> |
| <groupId>org.apache.tomee</groupId> |
| <version>8.0.8-SNAPSHOT</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>openejb-junit5</artifactId> |
| <packaging>jar</packaging> |
| <name>TomEE :: Container :: JUnit 5</name> |
| |
| <properties> |
| <tomee.build.name>${project.groupId}.container.junit5</tomee.build.name> |
| <netbeans.hint.license>openejb</netbeans.hint.license> |
| <jacocoArgLine /> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>openejb-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-engine</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openejb.itests</groupId> |
| <artifactId>failover-ejb</artifactId> |
| <version>${project.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <childDelegation>true</childDelegation> |
| <reuseForks>false</reuseForks> |
| <forkCount>1</forkCount> |
| <argLine> |
| ${jacocoArgLine} |
| -enableassertions |
| </argLine> |
| <workingDirectory>${project.basedir}/target</workingDirectory> |
| <systemPropertyVariables> |
| <openejb.home>${project.basedir}/target/test-classes</openejb.home> |
| </systemPropertyVariables> |
| </configuration> |
| <executions> |
| <execution> |
| <id>default-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>org/apache/openejb/junit5/SingleAppComposerTest</exclude> |
| <exclude>org/apache/openejb/junit5/SingleAppComposerJVMTest</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| <execution> |
| <id>per-jvm-tests</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <forkCount>1</forkCount> |
| <reuseForks>true</reuseForks> |
| <includes> |
| <include>org/apache/openejb/junit5/SingleAppComposerTest</include> |
| <include>org/apache/openejb/junit5/SingleAppComposerJVMTest</include> |
| </includes> |
| <argLine> |
| ${jacocoArgLine} |
| -enableassertions |
| -Djunit.jupiter.testclass.order.default=org.apache.openejb.junit5.order.AppComposerTestClassOrderer |
| -Dtomee.application-composer.application=org.apache.openejb.junit5.app.MyApp |
| </argLine> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |