commit | 1e3bff65588ff2833ca1656f5aedac51e66507f3 | [log] [tgz] |
---|---|---|
author | Tibor Digana <tibor.digana@gmail.com> | Fri Apr 02 20:49:28 2021 +0200 |
committer | Tibor Digana <tibor.digana@gmail.com> | Fri Apr 02 20:49:28 2021 +0200 |
tree | 5ce681e05e963507b9514b8fd0ebf94c2dfa32ec | |
parent | 0ec1283c1652408cae53650eebdd0c33f876a807 [diff] |
[githubci] setup timeout and jsk16 on *Nix systems
Usage of maven-surefire-plugin, maven-failsafe-plugin, maven-surefire-report-plugin
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.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.2"
In order to run the tests with JDK 1.7 (on Linux/Unix modify the system property jdkHome):
mvn install site site:stage -P reporting,run-its "-DjdkHome=e:\Program Files\Java\jdk1.7.0_80\"
In order to run the build and the tests with JDK 1.8+, e.g. JDK 11:
mvn install site site:stage -P reporting,run-its "-DjdkHome=e:\Program Files\Java\jdk11\"
See http://maven.apache.org/developers/website/deploy-component-reference-documentation.html