This is an automated email from the ASF dual-hosted git repository.

ramu12 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 0b9cf2f  "CAMEL-13454:camel-testcontainers - Should build if no docker"
0b9cf2f is described below

commit 0b9cf2f1d9557e63d10950dff3578bcdfd989171
Author: Kodanda Ramu Kakarla <kkaka...@kkakarla.pnq.csb>
AuthorDate: Mon Jul 8 22:24:06 2019 +0530

    "CAMEL-13454:camel-testcontainers - Should build if no docker"
---
 components/camel-testcontainers/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/components/camel-testcontainers/pom.xml 
b/components/camel-testcontainers/pom.xml
index 19e6356..c882cf5 100644
--- a/components/camel-testcontainers/pom.xml
+++ b/components/camel-testcontainers/pom.xml
@@ -76,6 +76,22 @@
     </dependencies>
 
     <profiles>
+          <profile>
+            <id>testcontainers-skip-tests</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <skipTests>true</skipTests>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
         <!-- activate integration test if the docker socket file is accessible 
-->
         <profile>
             <id>testcontainers-integration-tests-docker-file</id>
@@ -90,6 +106,7 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-failsafe-plugin</artifactId>
                         <configuration>
+                            <skipTests>${skipTests}</skipTests>
                             <systemPropertyVariables>
                                 
<visibleassertions.silence>true</visibleassertions.silence>
                             </systemPropertyVariables>
@@ -121,6 +138,7 @@
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-failsafe-plugin</artifactId>
                         <configuration>
+                            <skipTests>${skipTests}</skipTests>
                             <systemPropertyVariables>
                                 
<visibleassertions.silence>true</visibleassertions.silence>
                             </systemPropertyVariables>

Reply via email to