Apache Maven Surefire

Clone this repo:
  1. a0944d0 Bump commons-email by dependabot[bot] · 6 weeks ago master
  2. 3fd705d Bump javacc from 7.0.11 to 7.0.12 (#553) by dependabot[bot] · 2 weeks ago
  3. 0e5de8f [SUREFIRE-2090] Xref link to source code with specified line number doesn't work. Missing "L" in anchor by Björn Raupach · 5 weeks ago
  4. 6f0fb40 Ignore Maven Core updates by Slawomir Jaranowski · 9 weeks ago
  5. 7eca0a8 Bump assertj-core from 3.22.0 to 3.23.1 by dependabot[bot] · 2 months ago

Contributing to Apache Maven Surefire

ASF Jira Maven Central Apache License, Version 2.0, January 2004

CI Jenkins Status Jenkins tests Jenkins JaCoCo

Verify

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.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

      • Select all projects (poms) except surefire-shared-utils, enter profile ide-development in Advanced -> Profiles
      • Check module surefire-grouper has source folder target/generated-sources/javacc. If not, add it manually in the module's project properties
  • Setup for development in IntelliJ IDEA should work out of the box.

Deploying web site

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

Built with Maven