[jboss-cvs] JBossAS SVN: r59238 - projects/security/security-jboss-sx/trunk

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Dec 26 16:15:12 EST 2006


Author: anil.saldhana at jboss.com
Date: 2006-12-26 16:15:11 -0500 (Tue, 26 Dec 2006)
New Revision: 59238

Modified:
   projects/security/security-jboss-sx/trunk/pom.xml
Log:
support unit tests as well as site generation to see the test report in html

Modified: projects/security/security-jboss-sx/trunk/pom.xml
===================================================================
--- projects/security/security-jboss-sx/trunk/pom.xml	2006-12-26 21:14:33 UTC (rev 59237)
+++ projects/security/security-jboss-sx/trunk/pom.xml	2006-12-26 21:15:11 UTC (rev 59238)
@@ -64,8 +64,15 @@
        </pluginRepositories>
        <build>
            <sourceDirectory>src/main</sourceDirectory>
+           <testSourceDirectory>src/tests</testSourceDirectory>
+           <testOutputDirectory>target/test-classes</testOutputDirectory>
            <finalName>${artifactId}</finalName>
            <outputDirectory>output/classes</outputDirectory> 
+           <testResources>
+             <testResource>
+               <directory>src/tests/org/jboss/test</directory>
+             </testResource>
+           </testResources>
            <plugins>
            <!-- define how we want compilation to take place here, we accept most of the defaults but say that we want the optimization flag set, and define the source and target to be 1.4, these setting will be inherited by child projects -->
               <plugin>
@@ -253,6 +260,14 @@
          </plugin>
       </plugins>
    </build>
+   <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-report-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
    <dependencies>
       <dependency>
          <groupId>jboss</groupId>




More information about the jboss-cvs-commits mailing list