Fix JDK 10 surefire plugin, use batch mode in circleci

This commit is contained in:
Gabriele C 2018-04-19 12:32:50 +02:00
parent 8722a3dbab
commit 65ad91372e
2 changed files with 5 additions and 5 deletions

View File

@ -12,12 +12,12 @@ jobs:
keys:
- authmereloaded-{{ checksum "pom.xml" }}
- authmereloaded-
- run: mvn -T 2 dependency:go-offline
- run: mvn -T 2 -B dependency:go-offline
- save_cache:
paths:
- ~/.m2
key: authmereloaded-{{ checksum "pom.xml" }}
- run: mvn -T 2 package
- run: mvn -T 2 -B package
- store_test_results:
path: target/surefire-reports
- store_artifacts:
@ -34,12 +34,12 @@ jobs:
keys:
- authmereloaded-{{ checksum "pom.xml" }}
- authmereloaded-
- run: mvn -T 2 dependency:go-offline
- run: mvn -T 2 -B dependency:go-offline
- save_cache:
paths:
- ~/.m2
key: authmereloaded-{{ checksum "pom.xml" }}
- run: mvn -T 2 package
- run: mvn -T 2 -B package
- store_test_results:
path: target/surefire-reports
- store_artifacts:

View File

@ -169,7 +169,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<version>2.21.0</version>
<configuration>
<!-- Force the right file encoding during unit testing -->
<!-- Set language to English in order to get consistent results for localized time formatting -->