[portal-commits] JBoss Portal SVN: r11780 - modules/cms/trunk/cms-jackrabbit.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Mon Sep 1 15:45:57 EDT 2008


Author: sohil.shah at jboss.com
Date: 2008-09-01 15:45:57 -0400 (Mon, 01 Sep 2008)
New Revision: 11780

Modified:
   modules/cms/trunk/cms-jackrabbit/pom.xml
Log:
build cleanup

Modified: modules/cms/trunk/cms-jackrabbit/pom.xml
===================================================================
--- modules/cms/trunk/cms-jackrabbit/pom.xml	2008-09-01 19:44:59 UTC (rev 11779)
+++ modules/cms/trunk/cms-jackrabbit/pom.xml	2008-09-01 19:45:57 UTC (rev 11780)
@@ -266,6 +266,42 @@
 
    <build>
       <plugins>
+        <plugin>
+        	<groupId>org.apache.maven.plugins</groupId>
+        	<artifactId>maven-antrun-plugin</artifactId>
+        	<executions>
+        		<execution>
+        			<id>testSuiteCleanupBeforeCompile</id>
+        			<phase>compile</phase>
+        			<goals>
+        				<goal>run</goal>
+        			</goals>
+        			<configuration>
+        					<tasks>
+        						<delete dir="repotest"/>
+        						<delete dir="repotest-hsqldb"/>
+        						<delete file="test.properties"/>
+        						<delete file="test.script"/>        						
+        					</tasks>
+        			</configuration>
+        		</execution>
+        		<execution>
+        			<id>testCleanupAfterTest</id>
+        			<phase>test</phase>
+        			<goals>
+        				<goal>run</goal>
+        			</goals>
+        			<configuration>
+        					<tasks>
+        						<delete dir="repotest"/>
+        						<delete dir="repotest-hsqldb"/>
+        						<delete file="test.properties"/>
+        						<delete file="test.script"/>        						
+        					</tasks>
+        			</configuration>
+        		</execution>
+        	</executions>        	
+        </plugin>
       	<plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>            
@@ -273,15 +309,14 @@
                <skip>false</skip>                              	           
                <excludes>               		
                		<exclude>**/TestFileCreateFailed$1TestCommand.java</exclude>               	
-               </excludes>                                              
-               
-               <!--
+               </excludes> 
+               <!--                             
                <includes>                    	          		
 	          		<include>**/TestSearch.java</include>
-	           </includes>	     	           	           	           	           
-	           -->
+	           </includes>
+	           -->	     	           	           	           	           	           
             </configuration>
-         </plugin> 
+         </plugin>          
          <plugin>
 	        <groupId>org.apache.maven.plugins</groupId>
 	        <artifactId>maven-compiler-plugin</artifactId>




More information about the portal-commits mailing list