tag | c6733169d50612180521112072d0ac3c76a1fbbf | |
---|---|---|
tagger | Olivier Lamy <olamy@apache.org> | Fri Jun 03 19:25:27 2022 +1000 |
object | fcdd766883439eeb9e0f2eaf7b4a5a0e05a8dc78 |
[maven-release-plugin] copy for tag surefire-3.0.0-M7
commit | fcdd766883439eeb9e0f2eaf7b4a5a0e05a8dc78 | [log] [tgz] |
---|---|---|
author | Olivier Lamy <olamy@apache.org> | Fri Jun 03 19:25:13 2022 +1000 |
committer | Olivier Lamy <olamy@apache.org> | Fri Jun 03 19:25:13 2022 +1000 |
tree | 498e4b8c78ce607be47aac5df754796641defdb9 | |
parent | 559db4cbce31bd2d1c05c105cfee25fc54430e3c [diff] |
[maven-release-plugin] prepare release surefire-3.0.0-M7
Usage of maven-surefire-plugin, maven-failsafe-plugin, maven-surefire-report-plugin
Build the Surefire project using Maven 3.2.5+ 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"
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"
In order to build and run the tests:
mvn install site site:stage -P reporting,run-its
To set up the project in Eclipse IDE, please follow these steps:
Build module surefire-shared-utils
with profile ide-development
and install it into the local maven repository using this Maven command:
mvn install -P ide-development -f surefire-shared-utils/pom.xml
Build module surefire-grouper
in order to generate and compile sources into target/generated-sources/javacc
using this Maven command:
mvn compile -f surefire-grouper/pom.xml
In Eclipse, select File > Import ... > Maven Project
surefire-shared-utils
, enter profile ide-development
in Advanced -> Profilessurefire-grouper
has source folder target/generated-sources/javacc
. If not, add it manually in the module's project propertiesSetup for development in IntelliJ IDEA should work out of the box.
See http://maven.apache.org/developers/website/deploy-component-reference-documentation.html