zno2

17)maven-surefire-plugin

http://maven.apache.org/surefire/maven-surefire-plugin/

 

Goals Overview

The Surefire Plugin has only one goal:

  • surefire:test runs the unit tests of an application.

Examples

The following examples show how to use the Surefire Plugin in more advanced use cases:

举例说明:Skipping Tests

<project>
  [...]
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.19.1</version>
        <configuration>
          <skipTests>true</skipTests>
        </configuration>
      </plugin>
    </plugins>
  </build>
  [...]
</project>

 

posted on 2016-08-02 22:16  zno2  阅读(192)  评论(0编辑  收藏  举报

导航