[jbosscache-commits] JBoss Cache SVN: r4302 - support/trunk/common and 1 other directory.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Thu Aug 16 22:28:49 EDT 2007


Author: jason.greene at jboss.com
Date: 2007-08-16 22:28:49 -0400 (Thu, 16 Aug 2007)
New Revision: 4302

Modified:
   core/trunk/pom.xml
   support/trunk/common/pom.xml
Log:
Quiet the test output
Fix plugin stability problems
Move common test configuration to support/common


Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml	2007-08-17 02:27:19 UTC (rev 4301)
+++ core/trunk/pom.xml	2007-08-17 02:28:49 UTC (rev 4302)
@@ -71,7 +71,6 @@
       <version>1.2.0</version>
       <scope>test</scope>
     </dependency>
-
   </dependencies>
   <build>
     <plugins>
@@ -98,18 +97,7 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <systemProperties>
-            <property>
-              <name>bind.address</name>
-              <value>127.0.0.1</value>
-            </property>
-          </systemProperties>
-        </configuration>
-      </plugin>
+      
       <!-- the docbook generation plugin for the user guide -->
       <plugin>
         <groupId>org.jboss.maven.plugins</groupId>

Modified: support/trunk/common/pom.xml
===================================================================
--- support/trunk/common/pom.xml	2007-08-17 02:27:19 UTC (rev 4301)
+++ support/trunk/common/pom.xml	2007-08-17 02:28:49 UTC (rev 4302)
@@ -133,16 +133,20 @@
                 </configuration>
             </plugin>
 
-            <!-- we need the 2.4-collab-SNAPSHOT version of surefire to work with the latest TestNG -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
-                <version>2.4-collab-SNAPSHOT</version>
-                <!--
-                    <configuration>
-                    <groups>functest,util</groups>
-                    </configuration>
-                -->
+                <version>2.3</version>
+                <configuration>
+                  <systemProperties>
+                    <property>
+                      <name>bind.address</name>
+                      <value>127.0.0.1</value>
+                    </property>
+                  </systemProperties>
+                  <!-- Warning, this does not work right on 2.4-SNAPSHOT, (see SUREFIRE-349) -->
+                  <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                </configuration>
             </plugin>
 
             <!-- javadocs : we want these run in the 'package' lifecycle phase-->
@@ -172,17 +176,11 @@
 
     <reporting>
         <plugins>
-            <!-- unit test reports -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-report-plugin</artifactId>
-                <version>2.4-collab-SNAPSHOT</version>
-                <!--
-                    <configuration>
-                    <groups>functest,util</groups>
-                    </configuration>
-                -->
-            </plugin>
+                <version>2.3</version>
+            </plugin> 
 
             <!-- javadocs -->
             <plugin>
@@ -269,12 +267,17 @@
     </repositories>
 
     <pluginRepositories>
+        <pluginRepository>
+            <id>Main Maven Repo</id>
+            <url>http://repo1.maven.org/maven2/</url>
+        </pluginRepository>
 
+<!--  Avoid enabling this, it brings in unstable plugins 
         <pluginRepository>
             <id>apache.snapshots</id>
             <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
         </pluginRepository>
-
+-->
         <pluginRepository>
             <id>repository.jboss.org</id>
             <url>http://repository.jboss.org/maven2</url>
@@ -292,12 +295,11 @@
         <dependency>
             <groupId>org.testng</groupId>
             <artifactId>testng</artifactId>
-            <version>5.5</version>
+            <version>5.1</version>
             <scope>test</scope>
             <classifier>jdk15</classifier>
         </dependency>
 
-
         <dependency>
             <groupId>org.apache.derby</groupId>
             <artifactId>derby</artifactId>




More information about the jbosscache-commits mailing list