| <!-- |
| ~ Copyright 2001-2006 The Apache Software Foundation. |
| ~ |
| ~ Licensed 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.maven.surefire</groupId> |
| <artifactId>surefire-providers</artifactId> |
| <version>2.0</version> |
| </parent> |
| <artifactId>surefire-testng</artifactId> |
| <name>SureFire TestNG Runner</name> |
| <profiles> |
| <profile> |
| <id>jdk14</id> |
| <activation> |
| <jdk>1.4</jdk> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>4.7</version> |
| <classifier>jdk14</classifier> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>jdk15</id> |
| <activation> |
| <jdk>!1.4</jdk> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>4.7</version> |
| <classifier>jdk15</classifier> |
| </dependency> |
| </dependencies> |
| </profile> |
| <profile> |
| <id>jdk1.3</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <fork>false</fork> |
| <compilerVersion>1.4</compilerVersion> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkMode>once</forkMode> |
| <jvm>${JAVA_1_3_HOME}/bin/java</jvm> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>1.4</source> |
| <target>1.4</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <fork>false</fork> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |