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 ee24e97 "CAMEL-13454:camel-testcontainers-spring - Should build if no docker" ee24e97 is described below commit ee24e9758ce974893ddb08cff1f18bf0490eb151 Author: Kodanda Ramu Kakarla <kkaka...@kkakarla.pnq.csb> AuthorDate: Mon Jul 8 22:34:53 2019 +0530 "CAMEL-13454:camel-testcontainers-spring - Should build if no docker" --- components/camel-testcontainers-spring/pom.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/components/camel-testcontainers-spring/pom.xml b/components/camel-testcontainers-spring/pom.xml index 2f6c01c..d9b7072 100644 --- a/components/camel-testcontainers-spring/pom.xml +++ b/components/camel-testcontainers-spring/pom.xml @@ -74,6 +74,22 @@ </dependencies> <profiles> + <profile> + <id>testcontainers-spring-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-spring-integration-tests-docker-file</id> @@ -88,6 +104,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> + <skipTests>${skipTests}</skipTests> <systemPropertyVariables> <visibleassertions.silence>true</visibleassertions.silence> </systemPropertyVariables> @@ -119,6 +136,7 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> + <skipTests>${skipTests}</skipTests> <systemPropertyVariables> <visibleassertions.silence>true</visibleassertions.silence> </systemPropertyVariables>