This is an automated email from the ASF dual-hosted git repository. davsclaus 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 1ca9f1d Skip soroush tests by default as they dont run reliable on CI 1ca9f1d is described below commit 1ca9f1d7881044010138af655ce1629ca30864e2 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Mar 30 12:03:36 2020 +0200 Skip soroush tests by default as they dont run reliable on CI --- components/camel-soroush/pom.xml | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) diff --git a/components/camel-soroush/pom.xml b/components/camel-soroush/pom.xml index d4f0eb0..9c00906 100644 --- a/components/camel-soroush/pom.xml +++ b/components/camel-soroush/pom.xml @@ -24,9 +24,7 @@ <version>3.2.0-SNAPSHOT</version> </parent> - <artifactId>camel-soroush</artifactId> - <packaging>jar</packaging> <name>Camel :: Soroush</name> <description>Camel Soroush Support</description> @@ -35,6 +33,7 @@ <groupId>org.apache.camel</groupId> <artifactId>camel-support</artifactId> </dependency> + <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp-sse</artifactId> @@ -70,12 +69,10 @@ <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> - <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </dependency> - <dependency> <groupId>com.fasterxml.jackson.jaxrs</groupId> <artifactId>jackson-jaxrs-json-provider</artifactId> @@ -99,6 +96,7 @@ <version>${jetty-version}</version> <scope>test</scope> </dependency> + <!-- logging --> <dependency> <groupId>org.apache.logging.log4j</groupId> @@ -115,6 +113,8 @@ <artifactId>log4j-slf4j-impl</artifactId> <scope>test</scope> </dependency> + + <!-- jersey-server for testing --> <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-server</artifactId> @@ -141,8 +141,32 @@ </dependency> </dependencies> + <profiles> + <profile> + <id>soroush-test</id> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <skipTests>false</skipTests> + <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> + <build> - <defaultGoal>install</defaultGoal> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <skipTests>true</skipTests> + </configuration> + </plugin> + </plugins> </build> </project>