HBASE-4747 Addendum upgrade maven failsafe
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1197972 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c775d60de6
commit
2ee75203ed
54
pom.xml
54
pom.xml
|
@ -310,7 +310,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-failsafe-plugin</artifactId>
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
<version>2.9</version>
|
<version>2.10</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<includes>
|
<includes>
|
||||||
<include>${integrationtest.include}</include>
|
<include>${integrationtest.include}</include>
|
||||||
|
@ -375,7 +375,7 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<artifactId>maven-surefire-report-plugin</artifactId>
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||||
<version>2.9</version>
|
<version>2.10</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.avro</groupId>
|
<groupId>org.apache.avro</groupId>
|
||||||
|
@ -565,7 +565,10 @@
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<configuration>
|
<configuration>
|
||||||
<forkMode>always</forkMode>
|
<forkMode>${myForkMode}</forkMode>
|
||||||
|
<parallel>${myParallel}</parallel>
|
||||||
|
<perCoreThreadCount>false</perCoreThreadCount>
|
||||||
|
<threadCount>${myThreadCount}</threadCount>
|
||||||
<includes>
|
<includes>
|
||||||
<include>${unittest.include}</include>
|
<include>${unittest.include}</include>
|
||||||
</includes>
|
</includes>
|
||||||
|
@ -828,6 +831,10 @@
|
||||||
<unittest.include>**/Test*.java</unittest.include>
|
<unittest.include>**/Test*.java</unittest.include>
|
||||||
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
|
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
|
||||||
|
|
||||||
|
<!-- for surefire -->
|
||||||
|
<myForkMode>always</myForkMode>
|
||||||
|
<myParallelMode>none</myParallelMode>
|
||||||
|
<myThreadCount>1</myThreadCount>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
||||||
|
@ -1314,6 +1321,47 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- profile for running test without parallelisation.
|
||||||
|
The same values are set in the properties of the project. -->
|
||||||
|
<profile>
|
||||||
|
<id>nonParallelTests</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>false</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<myForkMode>always</myForkMode>
|
||||||
|
<myParallelMode>none</myParallelMode>
|
||||||
|
<myThreadCount>1</myThreadCount>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
<!-- profile for running test with parallelisation. -->
|
||||||
|
<profile>
|
||||||
|
<id>parallelTests</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>false</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<myForkMode>once</myForkMode>
|
||||||
|
<myParallelMode>classes</myParallelMode>
|
||||||
|
<myThreadCount>3</myThreadCount>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
<!-- profile for running test with a single JVM -->
|
||||||
|
<profile>
|
||||||
|
<id>singleJVMTests</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>false</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<myForkMode>once</myForkMode>
|
||||||
|
<myParallelMode>none</myParallelMode>
|
||||||
|
<myThreadCount>1</myThreadCount>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
profile for building against Hadoop 0.22.0. Activate using:
|
profile for building against Hadoop 0.22.0. Activate using:
|
||||||
|
|
Loading…
Reference in New Issue