/maven-surefire

Mirror of Apache Maven Surefire

Primary LanguageJava

Built with Maven CI

forks

The Maven Community

chat Join us @ irc://freenode/maven or Webchat with us @channel maven

Release Notes

Maven Central

JIRA Change Log

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

Project Documentation

documentation

Build Status

dependencies Maven 2.2.1 Plugin API

license tests Build Status

Development Information

In order to build Surefire project use Maven 3.1.0+ and JDK 1.8.

But in order to run IT tests, you can do:

  • In order to run tests for a release check during the vote the following memory requirements are needed:
    (on Linux/Unix) export MAVEN_OPTS="-Xmx768m -XX:MaxMetaspaceSize=864m -XX:SoftRefLRUPolicyMSPerMB=50 -Djava.awt.headless=true"
    (on Windows) set MAVEN_OPTS="-Xmx768m -XX:MaxMetaspaceSize=864m -XX:SoftRefLRUPolicyMSPerMB=50 -Djava.awt.headless=true"
  • 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"

Deploying web site

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