Apache Maven Surefire

Clone this repo:
  1. 762a791 Bump org.junit:junit-bom from 5.14.1 to 5.14.4 (#3357) by dependabot[bot] · 2 days ago master
  2. 1e0e6b0 Bump commons-io:commons-io from 2.21.0 to 2.22.0 (#3351) by dependabot[bot] · 6 days ago
  3. cd528f9 Issue #2613 Debugging failsafe tests: Message 'Listening for transport dt_socket at address' is not displayed anymore when using maven.surefire.debug (#3353) by Olivier Lamy · 6 days ago
  4. 98cfb3d Bump org.apache.logging.log4j:log4j-core (#3343) by dependabot[bot] · 6 weeks ago
  5. 64856f4 Remove FIXME which has been fixed :) (#3339) by Olivier Lamy · 8 weeks ago

Contributing to Apache Maven Surefire

Maven Central Apache License, Version 2.0, January 2004

CI Jenkins Build Jenkins Tests

Verify Reproducible Builds

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.6.3+ and JDK 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 or IntelliJ IDEA, 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
      
    • In Eclipse, select File > Import ... > Maven Project

      • Select all projects (poms) except surefire-shared-utils, enter profile ide-development in Advanced -> Profiles
    • In IntelliJ, select Maven > Profiles and check ide-development

Deploying web site

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

Built with Maven