This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/master by this push:
new 3742ee7 Update Readme MAVEN_OPTS TLS version
3742ee7 is described below
commit 3742ee723b2c4e372b2c0b65595619f97c1dbdfb
Author: Vandeputte Brice <[email protected]>
AuthorDate: Tue Sep 1 09:51:19 2020 +0200
Update Readme MAVEN_OPTS TLS version
Sonatype no longer supports TLSv1.1 and below (effective, June 18th, 2018).
---
README.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index e0be048..e9c0fba 100644
--- a/README.md
+++ b/README.md
@@ -49,14 +49,16 @@ Usage of [maven-surefire-plugin], [maven-failsafe-plugin],
[maven-surefire-repor
Build the Surefire project using **Maven 3.1.0+** and **JDK 1.8+**.
* In order to run tests for a release check during the Vote, the following
memory requirements are needed:
+
On Linux/Unix:
```
- export MAVEN_OPTS="-server -Xmx512m -XX:MetaspaceSize=128m
-XX:MaxMetaspaceSize=384m -XX:+UseG1GC -XX:+UseStringDeduplication
-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:SoftRefLRUPolicyMSPerMB=50
-Djava.awt.headless=true -Dhttps.protocols=TLSv1"
+ export MAVEN_OPTS="-server -Xmx512m -XX:MetaspaceSize=128m
-XX:MaxMetaspaceSize=384m -XX:+UseG1GC -XX:+UseStringDeduplication
-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:SoftRefLRUPolicyMSPerMB=50
-Djava.awt.headless=true -Dhttps.protocols=TLSv1.2"
```
On Windows:
```
- set MAVEN_OPTS="-server -Xmx256m -XX:MetaspaceSize=128m
-XX:MaxMetaspaceSize=384m -XX:+UseG1GC -XX:+UseStringDeduplication
-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:SoftRefLRUPolicyMSPerMB=50
-Djava.awt.headless=true -Dhttps.protocols=TLSv1"
+ set MAVEN_OPTS="-server -Xmx256m -XX:MetaspaceSize=128m
-XX:MaxMetaspaceSize=384m -XX:+UseG1GC -XX:+UseStringDeduplication
-XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:SoftRefLRUPolicyMSPerMB=50
-Djava.awt.headless=true -Dhttps.protocols=TLSv1.2"
```
+
* In order to run the tests with **JDK 1.7** (on Linux/Unix modify the system
property **jdk.home**):
```
mvn install site site:stage -P reporting,run-its "-Djdk.home=e:\Program
Files\Java\jdk1.7.0_80\"