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

« back to all changes in this revision

Viewing changes to surefire-integration-tests/src/test/resources/testng-twoTestCaseSuite/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 Suite XML with two test cases</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
        </dependency>
 
44
      </dependencies>
 
45
    </profile>
 
46
    <profile>
 
47
      <id>testng-new</id>
 
48
      <activation>
 
49
        <property><name>!testNgClassifier</name></property>
 
50
      </activation>
 
51
      <dependencies>
 
52
        <dependency>
 
53
          <groupId>org.testng</groupId>
 
54
          <artifactId>testng</artifactId>
 
55
          <version>${testNgVersion}</version>
 
56
        </dependency>
 
57
      </dependencies>
 
58
    </profile>
 
59
  </profiles>
 
60
 
31
61
  <properties>
32
62
     <testNgVersion>5.7</testNgVersion>
 
63
     <testNgClassifier>jdk15</testNgClassifier>
33
64
  </properties>
34
65
 
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
66
  <build>
46
67
    <plugins>
47
68
      <plugin>
48
69
        <groupId>org.apache.maven.plugins</groupId>
49
70
        <artifactId>maven-surefire-plugin</artifactId>
 
71
        <version>${surefire.version}</version>
50
72
        <configuration>
51
73
          <suiteXmlFiles>
52
74
            <file>src/test/resources/suite.xml</file>