[jboss-cvs] JBossAS SVN: r91128 - in branches/JBPAPP_5_0/jmx: src and 2 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sat Jul 11 13:18:32 EDT 2009


Author: scott.stark at jboss.org
Date: 2009-07-11 13:18:31 -0400 (Sat, 11 Jul 2009)
New Revision: 91128

Added:
   branches/JBPAPP_5_0/jmx/src/tests/
   branches/JBPAPP_5_0/jmx/src/tests/test/
Removed:
   branches/JBPAPP_5_0/jmx/src/main/test/
Modified:
   branches/JBPAPP_5_0/jmx/.classpath
   branches/JBPAPP_5_0/jmx/pom.xml
Log:
Move the tests into a separate source tree

Modified: branches/JBPAPP_5_0/jmx/.classpath
===================================================================
--- branches/JBPAPP_5_0/jmx/.classpath	2009-07-11 13:05:43 UTC (rev 91127)
+++ branches/JBPAPP_5_0/jmx/.classpath	2009-07-11 17:18:31 UTC (rev 91128)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry kind="src" path="src/main"/>
+	<classpathentry kind="src" path="src/tests"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry kind="lib" path="/thirdparty/junit/lib/junit.jar"/>
 	<classpathentry exported="true" kind="src" path="/mbeans"/>

Modified: branches/JBPAPP_5_0/jmx/pom.xml
===================================================================
--- branches/JBPAPP_5_0/jmx/pom.xml	2009-07-11 13:05:43 UTC (rev 91127)
+++ branches/JBPAPP_5_0/jmx/pom.xml	2009-07-11 17:18:31 UTC (rev 91128)
@@ -14,23 +14,23 @@
   <description>JBoss Application Server (jmx module)</description>
   <build>
     <sourceDirectory>src/main</sourceDirectory>
-    <testResources>
+      <testSourceDirectory>src/tests</testSourceDirectory>
+      <testResources>
       <testResource>
         <directory>src/resources/test</directory>
       </testResource>
     </testResources>
     <plugins>
+        <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+                <skip>${maven.test.skip}</skip>
+                <testFailureIgnore>true</testFailureIgnore>
+            </configuration>
+        </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>test/**</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-assembly-plugin</artifactId>
         <executions>
           <execution>
@@ -73,6 +73,7 @@
       <groupId>org.jboss.jbossas</groupId>
       <artifactId>jboss-as-j2se</artifactId>
       <type>test-jar</type>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.jboss.jbossas</groupId>
@@ -93,4 +94,4 @@
     <paulprop>hello</paulprop>
     
   </properties>
-</project>
\ No newline at end of file
+</project>

Copied: branches/JBPAPP_5_0/jmx/src/tests/test (from rev 90947, branches/JBPAPP_5_0/jmx/src/main/test)




More information about the jboss-cvs-commits mailing list