티스토리 뷰

Programming/Maven

Surefire Plugin

Jared 2009. 3. 24. 13:27
Use -DskipTests to skip tests instead of -Dmaven.test.skip or -Dmaven.test.skip.exec.
maven.test.skip: skip compile of test code and execution
maven.test.skip.exec: compile and skip execution

The Surefire Plugin is used during the test phase of the build lifecucle to execute the unit tests of an application. It generates reports in 2 different file formats:
  • Plain text files (*.txt)
  • XML files (*.xml)
By default, these files are generated at ${basedir}/target/surefire-reports.

For an HTML format of the report, please see the Maven Surefire Report Plugin.

Goals Overview

The Surefire Plugin has only 1 goal:

Usage

Instructions on how to use the Surefire Plugin can be found on the usage page.

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/09   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함