Apache Maven Surefire

Clone this repo:
  1. 754e4ab [SUREFIRE-1791] Documentation and the integration test for Spock/Groovy with JUnit5 by Tibor Digana · 3 weeks ago master
  2. b7a03c1 Revert "[SUREFIRE-1787] Support multiple runners (JUnit4, TestNG, other) and their API in JUnit5 Provider" by tibordigana · 4 weeks ago
  3. 4eec1d9 [SUREFIRE-1787] Support multiple runners (JUnit4, TestNG, other) and their API in JUnit5 Provider by tibordigana · 4 weeks ago
  4. 1c20db2 [SUREFIRE-1766] Surefire does not display TestNG data provider values on command line by Simon Levermann · 8 weeks ago
  5. d8fe77d [SUREFIRE-1784] Fork JVM defined by jvm parameter should not inherit JAVA_HOME from Maven process by akomakom · 4 weeks ago

Contributing to Apache Maven Surefire

ASF Jira 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 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"
  • 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 "-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