Disabling Unit Tests in pom.xml

To disable automatic unit tests you can insert the following into the maven-surefire-plugin section of the build section in the pom.xml:

<build>
  ...
  <plugins>
    ...
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-surefire-plugin</artifactId>
      <configuration>
        <skip>true</skip>
      </configuration>
    </plugin>
    ...
  </plugins>
  ...
</build>

Meta

Created:

Updated: 2015-12-15 23:12