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>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-failsafe-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<version>2.10</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>${integrationtest.include}</include>
|
||||
|
@ -375,7 +375,7 @@
|
|||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-report-plugin</artifactId>
|
||||
<version>2.9</version>
|
||||
<version>2.10</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.avro</groupId>
|
||||
|
@ -565,7 +565,10 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkMode>always</forkMode>
|
||||
<forkMode>${myForkMode}</forkMode>
|
||||
<parallel>${myParallel}</parallel>
|
||||
<perCoreThreadCount>false</perCoreThreadCount>
|
||||
<threadCount>${myThreadCount}</threadCount>
|
||||
<includes>
|
||||
<include>${unittest.include}</include>
|
||||
</includes>
|
||||
|
@ -828,6 +831,10 @@
|
|||
<unittest.include>**/Test*.java</unittest.include>
|
||||
<integrationtest.include>**/IntegrationTest*.java</integrationtest.include>
|
||||
|
||||
<!-- for surefire -->
|
||||
<myForkMode>always</myForkMode>
|
||||
<myParallelMode>none</myParallelMode>
|
||||
<myThreadCount>1</myThreadCount>
|
||||
</properties>
|
||||
|
||||
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
||||
|
@ -1314,6 +1321,47 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
</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:
|
||||
|
|
Loading…
Reference in New Issue