jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r887190 - /jackrabbit/trunk/jackrabbit-jcr-client/pom.xml
Date Fri, 04 Dec 2009 13:40:52 GMT
Author: jukka
Date: Fri Dec  4 13:40:51 2009
New Revision: 887190

URL: http://svn.apache.org/viewvc?rev=887190&view=rev
Log:
JCR-2326: some jcr-client tests fail if a server runs on localhost:80

Move the system-dependent tests into an "integration-test" profile that is disabled by default.

Modified:
    jackrabbit/trunk/jackrabbit-jcr-client/pom.xml

Modified: jackrabbit/trunk/jackrabbit-jcr-client/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-client/pom.xml?rev=887190&r1=887189&r2=887190&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-client/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-jcr-client/pom.xml Fri Dec  4 13:40:51 2009
@@ -48,17 +48,10 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <configuration>
-                    <skip>false</skip>
-                    <includes>
-                        <include>**/*Test.java</include>
-                    </includes>
-                    <workingDirectory>target</workingDirectory> 
-                    <forkMode>once</forkMode>
-                    <argLine>-Xmx128m -enableassertions</argLine>
+                    <skip>true</skip>
                 </configuration>
             </plugin>
-            
-          <plugin>
+            <plugin>
               <groupId>org.apache.rat</groupId>
               <artifactId>apache-rat-plugin</artifactId>
               <configuration>
@@ -72,6 +65,29 @@
         </plugins>
     </build>
 
+    <profiles>
+        <profile>
+            <id>integration-test</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <skip>false</skip>
+                            <includes>
+                                <include>**/*Test.java</include>
+                            </includes>
+                            <workingDirectory>target</workingDirectory> 
+                            <forkMode>once</forkMode>
+                            <argLine>-Xmx128m -enableassertions</argLine>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
     <dependencies>
         <dependency>
             <groupId>javax.jcr</groupId>



Mime
View raw message