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

« back to all changes in this revision

Viewing changes to surefire-integration-tests/src/test/resources/testng-simple/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:
28
28
  <version>1.0-SNAPSHOT</version>
29
29
  <name>TestNG simple test</name>
30
30
 
 
31
  <profiles>
 
32
    <profile>
 
33
      <id>testng-old</id>
 
34
      <activation>
 
35
        <property><name>testNgClassifier</name></property>
 
36
      </activation>
 
37
      <dependencies>
 
38
        <dependency>
 
39
          <groupId>org.testng</groupId>
 
40
          <artifactId>testng</artifactId>
 
41
          <version>${testNgVersion}</version>
 
42
          <classifier>${testNgClassifier}</classifier>
 
43
          <exclusions>
 
44
            <exclusion>
 
45
              <!-- NOTE: Deliberaty excluding junit to enforce TestNG only tests, cf. SUREFIRE-642 -->
 
46
              <groupId>junit</groupId>
 
47
              <artifactId>junit</artifactId>
 
48
            </exclusion>
 
49
          </exclusions>
 
50
        </dependency>
 
51
      </dependencies>
 
52
    </profile>
 
53
    <profile>
 
54
      <id>testng-new</id>
 
55
      <activation>
 
56
        <property><name>!testNgClassifier</name></property>
 
57
      </activation>
 
58
      <dependencies>
 
59
        <dependency>
 
60
          <groupId>org.testng</groupId>
 
61
          <artifactId>testng</artifactId>
 
62
          <version>${testNgVersion}</version>
 
63
          <exclusions>
 
64
            <exclusion>
 
65
              <!-- NOTE: Deliberaty excluding junit to enforce TestNG only tests, cf. SUREFIRE-642 -->
 
66
              <groupId>junit</groupId>
 
67
              <artifactId>junit</artifactId>
 
68
            </exclusion>
 
69
          </exclusions>
 
70
        </dependency>
 
71
      </dependencies>
 
72
    </profile>
 
73
  </profiles>
 
74
 
31
75
  <properties>
32
76
     <testNgVersion>5.7</testNgVersion>
33
77
  </properties>
34
78
 
35
 
  <dependencies>
36
 
    <dependency>
37
 
      <groupId>org.testng</groupId>
38
 
      <artifactId>testng</artifactId>
39
 
      <version>${testNgVersion}</version>
40
 
      <classifier>jdk15</classifier>
41
 
      <scope>test</scope>
42
 
    </dependency>
43
 
  </dependencies>
44
 
 
45
79
  <build>
46
80
    <plugins>
47
81
      <plugin>
52
86
          <target>1.5</target>
53
87
        </configuration>
54
88
      </plugin>
 
89
      
 
90
      <plugin>
 
91
        <groupId>org.apache.maven.plugins</groupId>
 
92
        <artifactId>maven-surefire-plugin</artifactId>
 
93
        <version>${surefire.version}</version>
 
94
      </plugin>
 
95
      
55
96
    </plugins>
56
97
  </build>
57
98