[testng] 187/355: TestNG for tests is configurable

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:20:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag OpenBSD
in repository testng.

commit 124f068c8869135836a71ab4a98cb6b6cd69cf58
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date:   Tue Apr 21 14:38:39 2015 +0200

    TestNG for tests is configurable
---
 pom-test.xml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/pom-test.xml b/pom-test.xml
index bf83d94..7d1e3d4 100644
--- a/pom-test.xml
+++ b/pom-test.xml
@@ -35,6 +35,10 @@
     <version>3</version>
   </parent>
 
+  <properties>
+    <testng.version>6.8.13</testng.version>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.ant</groupId>
@@ -72,7 +76,7 @@
     <dependency>
       <groupId>org.testng</groupId>
       <artifactId>testng</artifactId>
-      <version>6.8.13</version>
+      <version>${testng.version}</version>
       <scope>test</scope>
     </dependency>
    </dependencies>
@@ -110,4 +114,16 @@
 
     </plugins>
   </build>
+  <profiles>
+    <profile>
+      <activation>
+        <property>
+          <name>env.TESTNG_VERSION</name>
+        </property>
+      </activation>
+      <properties>
+        <testng.version>${env.TESTNG_VERSION}</testng.version>
+      </properties>
+    </profile>
+  </profiles>
 </project>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list