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

View File

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