Author: sumedha
Date: Thu Jun  5 05:05:22 2008
New Revision: 18014
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=18014

Log:
cleaning up poms,added sure-fire plugin to disable tests - tests should not run 
when mysql test database is not available

Modified:
   branches/wsas/java/2.3/data-service-solution/modules/core/pom.xml
   branches/wsas/java/2.3/data-service-solution/pom.xml

Modified: branches/wsas/java/2.3/data-service-solution/modules/core/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/data-service-solution/modules/core/pom.xml?rev=18014&r1=18013&r2=18014&view=diff
==============================================================================
--- branches/wsas/java/2.3/data-service-solution/modules/core/pom.xml   
(original)
+++ branches/wsas/java/2.3/data-service-solution/modules/core/pom.xml   Thu Jun 
 5 05:05:22 2008
@@ -72,6 +72,7 @@
             <artifactId>poi</artifactId>
         </dependency>
 
+        <!-- is this needed? -->
         <dependency>
             <groupId>org.apache.derby</groupId>
             <artifactId>derby</artifactId>
@@ -81,12 +82,10 @@
         <dependency>
             <groupId>commons-dbcp</groupId>
             <artifactId>commons-dbcp</artifactId>
-            <version>1.2.2</version>
         </dependency>
         <dependency>
             <groupId>commons-pool</groupId>
             <artifactId>commons-pool</artifactId>
-            <version>1.3</version>
         </dependency>
         
         <!-- JDBC Driver classes -->
@@ -115,6 +114,19 @@
                 </configuration>
             </plugin>
             <plugin>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <inherited>true</inherited>
+                <configuration>
+                    <forkMode>pertest</forkMode>
+                    <argLine>-enableassertions</argLine>
+                    <testFailureIgnore>false</testFailureIgnore>
+                    <skip>true</skip>
+                    <excludes>
+                        <include>**/*.java</include>
+                    </excludes>
+                </configuration>
+            </plugin>            
+            <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <version>1.4.0</version>
@@ -182,13 +194,4 @@
               </plugin>
         </plugins>
     </build>
-
-
-    <properties>
-        <opencsv.version>1.8</opencsv.version>
-        <poi.version>3.0-FINAL</poi.version>
-        <commons.dbcp.version>1.2.2</commons.dbcp.version>
-        <commons.pool.version>1.3</commons.pool.version>
-    </properties>
-
 </project>

Modified: branches/wsas/java/2.3/data-service-solution/pom.xml
URL: 
http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/data-service-solution/pom.xml?rev=18014&r1=18013&r2=18014&view=diff
==============================================================================
--- branches/wsas/java/2.3/data-service-solution/pom.xml        (original)
+++ branches/wsas/java/2.3/data-service-solution/pom.xml        Thu Jun  5 
05:05:22 2008
@@ -39,6 +39,18 @@
                 <artifactId>poi</artifactId>
                 <version>${poi.version}</version>
             </dependency>
+            
+            <dependency>
+                <groupId>commons-dbcp</groupId>
+                <artifactId>commons-dbcp</artifactId>
+                <version>${commons.dbcp.version}</version>
+            </dependency>
+            
+            <dependency>
+                <groupId>commons-pool</groupId>
+                <artifactId>commons-pool</artifactId>
+                <version>${commons.pool.version}</version>
+            </dependency>            
 
             <dependency>
                 <groupId>org.wso2.carbon</groupId>
@@ -240,6 +252,8 @@
         <commons.logging.version>1.1</commons.logging.version>
         <opencsv.version>1.8</opencsv.version>
         <poi.version>3.0-FINAL</poi.version>
+        <commons.dbcp.version>1.2.2</commons.dbcp.version>
+        <commons.pool.version>1.3</commons.pool.version>        
         <carbon.version>SNAPSHOT</carbon.version>
         <ds.solution.version>0.1alpha</ds.solution.version>
     </properties>

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to