~ubuntu-branches/ubuntu/precise/surefire/precise

« back to all changes in this revision

Viewing changes to surefire-integration-tests/src/test/resources/fork-mode-testng/pom.xml

  • Committer: Bazaar Package Importer
  • Author(s): Miguel Landaeta
  • Date: 2011-10-10 20:42:16 UTC
  • mfrom: (2.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20111010204216-cemva69wkagf4fay
Tags: 2.10-1
* Team upload.
* New upstream release.
* Refresh and remove unneccesary patches.
* Add Build-Depends on libsurefire-java and
  libmaven-common-artifact-filters-java.
* Drop outdated Maven artifact surefire-junit.
* Provide new Maven artifacts: surefire-junit3, maven-surefire-common,
  common-junit3, common-junit4, surefire-junit47 and surefire-testng-utils.
* Fix clean target to allow "two in a row" builds.
* Update Vcs-Browser field.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!-- ~ 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 
 
3
  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 
 
4
  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 
 
5
  the License. -->
 
6
 
 
7
<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">
 
8
  <modelVersion>4.0.0</modelVersion>
 
9
 
 
10
  <groupId>org.apache.maven.plugins.surefire</groupId>
 
11
  <artifactId>fork-mode-testng</artifactId>
 
12
  <version>1.0-SNAPSHOT</version>
 
13
  <name>Test for forkMode</name>
 
14
 
 
15
  <build>
 
16
    <plugins>
 
17
      <plugin>
 
18
        <artifactId>maven-compiler-plugin</artifactId>
 
19
        <configuration>
 
20
          <source>1.5</source>
 
21
          <target>1.5</target>
 
22
        </configuration>
 
23
      </plugin>
 
24
      <plugin>
 
25
        <artifactId>maven-surefire-plugin</artifactId>
 
26
        <version>${surefire.version}</version>
 
27
        <configuration>
 
28
          <forkMode>${forkMode}</forkMode>
 
29
        </configuration>
 
30
      </plugin>
 
31
    </plugins>
 
32
  </build>
 
33
 
 
34
  <dependencies>
 
35
    <dependency>
 
36
      <groupId>org.testng</groupId>
 
37
      <artifactId>testng</artifactId>
 
38
      <version>5.7</version>
 
39
      <classifier>jdk15</classifier>
 
40
      <scope>test</scope>
 
41
      <exclusions>
 
42
        <exclusion>
 
43
          <!-- NOTE: Deliberaty excluding junit to enforce TestNG only tests, cf. SUREFIRE-642 -->
 
44
          <groupId>junit</groupId>
 
45
          <artifactId>junit</artifactId>
 
46
        </exclusion>
 
47
      </exclusions>
 
48
    </dependency>
 
49
  </dependencies>
 
50
 
 
51
</project>