geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r486400 - /geronimo/server/trunk/testsuite/enterprise-testsuite/test-ejbcontainer/pom.xml
Date Tue, 12 Dec 2006 23:01:30 GMT
Author: prasad
Date: Tue Dec 12 15:01:29 2006
New Revision: 486400

URL: http://svn.apache.org/viewvc?view=rev&rev=486400
Log:
* excluding testng from transitive dependency.
* surefire ignores junit if it sees testng in deps graph.

Modified:
    geronimo/server/trunk/testsuite/enterprise-testsuite/test-ejbcontainer/pom.xml

Modified: geronimo/server/trunk/testsuite/enterprise-testsuite/test-ejbcontainer/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/enterprise-testsuite/test-ejbcontainer/pom.xml?view=diff&rev=486400&r1=486399&r2=486400
==============================================================================
--- geronimo/server/trunk/testsuite/enterprise-testsuite/test-ejbcontainer/pom.xml (original)
+++ geronimo/server/trunk/testsuite/enterprise-testsuite/test-ejbcontainer/pom.xml Tue Dec
12 15:01:29 2006
@@ -53,8 +53,25 @@
             <version>${openejbVersion}</version>
             <scope>test</scope>
         </dependency>
+
+        <!--
+        If surefire sees testng anywhere in the dependency graph, it ignores junit.
+        Testng is needed by selenium class in testsupport-common.
+        So using excluding it here from transitive dependency.
+        -->
+       <dependency>
+            <groupId>org.apache.geronimo.testsupport</groupId>
+            <artifactId>testsupport-common</artifactId>
+            <scope>test</scope>
+                <exclusions>
+                  <exclusion>
+                        <groupId>org.testng</groupId>
+                        <artifactId>testng</artifactId>
+                  </exclusion>
+                </exclusions>
+        </dependency>
     </dependencies>
-    
+
     <profiles>
         <profile>
             <id>child</id>
@@ -68,6 +85,7 @@
               </testResources>
 
                 <plugins>
+
                     <plugin>
                         <groupId>org.apache.geronimo.plugins</groupId>
                         <artifactId>geronimo-maven-plugin</artifactId>



Mime
View raw message