Repository: camel
Updated Branches:
  refs/heads/master 9c4449c09 -> 34018e68a


Skip cassandra tests as it cannot run on CI


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/34018e68
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/34018e68
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/34018e68

Branch: refs/heads/master
Commit: 34018e68ac9cef01ae96582451fb2d983f2fb567
Parents: 9c4449c
Author: Claus Ibsen <davscl...@apache.org>
Authored: Fri Sep 30 08:29:57 2016 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Fri Sep 30 08:29:57 2016 +0200

----------------------------------------------------------------------
 components/camel-cassandraql/pom.xml | 36 +++++++++++++++++++++++++------
 1 file changed, 30 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/34018e68/components/camel-cassandraql/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-cassandraql/pom.xml 
b/components/camel-cassandraql/pom.xml
index a792789..1bc6040 100644
--- a/components/camel-cassandraql/pom.xml
+++ b/components/camel-cassandraql/pom.xml
@@ -15,7 +15,8 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 
   <modelVersion>4.0.0</modelVersion>
 
@@ -24,13 +25,13 @@
     <artifactId>components</artifactId>
     <version>2.18.0-SNAPSHOT</version>
   </parent>
-  
+
   <artifactId>camel-cassandraql</artifactId>
   <packaging>jar</packaging>
 
   <name>Camel :: Cassandra CQL</name>
   <description>Cassandra CQL3 support</description>
-  
+
   <properties>
     <camel.osgi.export.pkg>
       org.apache.camel.component.cassandra.*,
@@ -55,7 +56,7 @@
       <version>${cassandra-driver-version}</version>
     </dependency>
 
-    <!-- logging -->    
+    <!-- logging -->
     <dependency>
       <groupId>org.apache.logging.log4j</groupId>
       <artifactId>log4j-api</artifactId>
@@ -128,10 +129,33 @@
       <plugin>
         <artifactId>maven-surefire-plugin</artifactId>
         <configuration>
-          <forkCount>1</forkCount>
-          <reuseForks>false</reuseForks>
+          <includes>
+            <include>**NOBODY*.java</include>
+          </includes>
         </configuration>
       </plugin>
     </plugins>
   </build>
+
+  <!-- only run tests if this profile is enabled -->
+  <profiles>
+    <profile>
+      <id>cassandra-integration-tests</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <forkCount>1</forkCount>
+              <reuseForks>false</reuseForks>
+              <includes>
+                <include>**/*Test.java</include>
+              </includes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
 </project>

Reply via email to