Upgraded surefire plugin to 2.16. AMQ-5006

This commit is contained in:
Kevin Earls 2014-01-30 14:22:44 +01:00
parent f5e54cf75c
commit c027552035
17 changed files with 34 additions and 18 deletions

View File

@ -174,7 +174,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder>
<systemProperties>

View File

@ -178,7 +178,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<argLine>-Xmx512M</argLine>

View File

@ -200,7 +200,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder>
<systemProperties>

View File

@ -154,7 +154,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<systemProperties>

View File

@ -154,7 +154,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
</configuration>
</plugin>
</plugins>

View File

@ -70,7 +70,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder>
<systemProperties>

View File

@ -176,7 +176,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder>

View File

@ -190,7 +190,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<redirectTestOutputToFile>false</redirectTestOutputToFile>
<argLine>-Xmx256m</argLine>
<excludes>

View File

@ -382,7 +382,6 @@
<configuration>
<!-- we must turn off the use of system class loader so our tests can find stuff - otherwise ScalaSupport compiler can't find stuff -->
<useSystemClassLoader>false</useSystemClassLoader>
<!--forkMode>pertest</forkMode-->
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<failIfNoTests>false</failIfNoTests>

View File

@ -207,7 +207,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder>
<!-- Note: if you want to see log messages on the console window remove the following comment -->

View File

@ -131,7 +131,9 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<!--forkMode>pertest</forkMode-->
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<childDelegation>false</childDelegation>
<useFile>true</useFile>
<includes>

View File

@ -364,7 +364,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<childDelegation>false</childDelegation>
</configuration>
</plugin>

View File

@ -177,7 +177,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>-Xmx512M -Djava.awt.headless=true</argLine>
<systemProperties>
<property>

View File

@ -112,7 +112,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder>
<failIfNoTests>false</failIfNoTests>

View File

@ -427,7 +427,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>always</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder>
<systemProperties>

View File

@ -477,7 +477,8 @@
<goal>test</goal>
</goals>
<configuration>
<forkMode>pertest</forkMode>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<environmentVariables>
<ACTIVEMQ_ENCRYPTION_PASSWORD>activemq</ACTIVEMQ_ENCRYPTION_PASSWORD>
</environmentVariables>

View File

@ -143,7 +143,7 @@
<!-- Maven Plugin Version for this Project -->
<maven-bundle-plugin-version>2.3.7</maven-bundle-plugin-version>
<maven-surefire-plugin-version>2.10</maven-surefire-plugin-version>
<maven-surefire-plugin-version>2.16</maven-surefire-plugin-version>
<maven-antrun-plugin-version>1.3</maven-antrun-plugin-version>
<maven-assembly-plugin-version>2.4</maven-assembly-plugin-version>
<maven-release-plugin-version>2.4.1</maven-release-plugin-version>
@ -1133,7 +1133,8 @@
<version>${maven-surefire-plugin-version}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<forkMode>once</forkMode>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
<argLine>-enableassertions</argLine>
<failIfNoTests>false</failIfNoTests>
</configuration>