Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camel-8021 Fix Maven surefire warning during build #331

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/camel-bam/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-box/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<excludes>
<exclude>**/*XXXTest.java</exclude>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-cxf-transport/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-cxf/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<childDelegation>false</childDelegation>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<reportFormat>brief</reportFormat>
<useFile>false</useFile>
Expand Down
6 changes: 4 additions & 2 deletions components/camel-facebook/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<includes>
<!-- Here we only run test of -->
Expand All @@ -97,7 +98,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<excludes>
<exclude>**/*XXXTest.java</exclude>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-gae/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-google-calendar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<excludes>
<exclude>**/*XXXTest.java</exclude>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-google-drive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<excludes>
<exclude>**/*XXXTest.java</exclude>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-hawtdb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-hazelcast/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
<systemProperties>
<property>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- This is required by the hbase testing utility -->
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-http4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-jaxb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-jcr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-jms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-leveldb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-linkedin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<excludes>
<exclude>**/*XXXTest.java</exclude>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-mina/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<excludes>
<!-- This test just show the shutdown error -->
<exclude>**/MinaProducerShutdownTest.*</exclude>
Expand Down
15 changes: 8 additions & 7 deletions components/camel-mina2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,14 @@
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<forkMode>pertest</forkMode>
<excludes>
<!-- This test just show the shutdown error -->
<exclude>**/Mina2ProducerShutdownTest.*</exclude>
</excludes>
<configuration>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
<excludes>
<!-- This test just show the shutdown error -->
<exclude>**/Mina2ProducerShutdownTest.*</exclude>
</excludes>
</configuration>
</plugin>

Expand Down
3 changes: 2 additions & 1 deletion components/camel-mqtt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>perTest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<!--CAMEL-7662 disabling the assertion this time-->
<enableAssertions>false</enableAssertions>
</configuration>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-olingo2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<excludes>
<exclude>**/*XXXTest.java</exclude>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-quartz/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-quartz2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
6 changes: 4 additions & 2 deletions components/camel-sap-netweaver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<includes>
<!-- Here we only run test of -->
Expand All @@ -101,7 +102,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<includes>
<include>**/*Test.java</include>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-script/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-servlet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-servletlistener/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-sjms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>6000</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-soap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
<plugin>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-sql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-stream/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-test-blueprint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>
Expand Down
6 changes: 4 additions & 2 deletions components/camel-twitter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<includes>
<!-- Here we only run test of -->
Expand All @@ -98,7 +99,8 @@
<configuration>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
<includes>
<include>**/*Test.java</include>
Expand Down
3 changes: 2 additions & 1 deletion components/camel-urlrewrite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
Expand Down