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> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<forkMode>always</forkMode> <forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<argLine>${surefire.argLine}</argLine> <argLine>${surefire.argLine}</argLine>
<runOrder>alphabetical</runOrder> <runOrder>alphabetical</runOrder>
<systemProperties> <systemProperties>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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