Apache Maven Surefire

Clone this repo:
  1. db16777 plexus-java as a property to ease testing by olivier lamy · 6 days ago master
  2. 479d9fe reservedPort1 and reservedPort2 handled the same TCP port with the old version build-helper-maven-plugin:1.2 by tibordigana · 7 days ago
  3. e20ce36 Run Order / JUnit5 supported in the Feature Matrix + tests by tibordigana · 7 days ago
  4. 706346f [SUREFIRE-1728] maven.test.failure.ignore: differentiate between test failure and timeout by tibordigana · 7 days ago
  5. ae3e0ac [SUREFIRE-1688] Add failing test case for failure in BeforeAll method by Marc Philipp · 3 weeks ago

Contributing to Apache Maven Surefire

Maven Central Apache License, Version 2.0, January 2004

CI Jenkins Status Jenkins tests Jenkins JaCoCo

Actions Status

The Maven Community

slack forks

Project Documentation

Maven 3.0 Plugin API

Usage of maven-surefire-plugin, maven-failsafe-plugin, maven-surefire-report-plugin

Development Information

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”
    (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”
  • In order to run the build with JDK 9 on Windows (on Linux/Unix modify system property jdk.home):
    mvn install site site:stage -P reporting,run-its "-Djdk.home=e:\Program Files\Java\jdk9"
  • In order to run the build with JDK 11:
    mvn install site site:stage -P reporting,run-its "-Djdk.home=e:\Program Files\Java\jdk11"

Deploying web site

See http://maven.apache.org/developers/website/deploy-component-reference-documentation.html

Built with Maven