Maven by default tries to run anything matching: **/Test*.java
**/*Test.java **/*TestCase.java

Excluded **/*TestSuite* to prevent it from thinking the TestSuites are
tests to be run.

-Stephen

[[[
Prevent Maven from trying to run the TestSuites.  Added **/*TestSuite*
to exclusions in parent pom.xml
]]]

--
Stephen Duncan Jr
www.stephenduncanjr.com
Index: java/trunk/pom.xml
===================================================================
--- java/trunk/pom.xml  (revision 415217)
+++ java/trunk/pom.xml  (working copy)
@@ -25,6 +25,20 @@
         </configuration>
       </plugin>
     </plugins>
+    
+    <pluginManagement>
+         <plugins>
+           <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <excludes>
+              <exclude>**/*TestSuite*</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
   
   <dependencyManagement>

Reply via email to