Skip to content

Instantly share code, notes, and snippets.

@Rocketeer007
Created March 12, 2017 13:37
Show Gist options
  • Select an option

  • Save Rocketeer007/fe3cc16359e7c0995d51d51106d74e3a to your computer and use it in GitHub Desktop.

Select an option

Save Rocketeer007/fe3cc16359e7c0995d51d51106d74e3a to your computer and use it in GitHub Desktop.

Revisions

  1. Rocketeer007 created this gist Mar 12, 2017.
    58 changes: 58 additions & 0 deletions pom.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,58 @@
    <project>
    ...
    <build>
    <plugins>
    <plugin>
    <groupId>org.jacoco</groupId>
    <artifactId>jacoco-maven-plugin</artifactId>
    <executions>
    <execution>
    <id>default-prepare-agent</id>
    <goals>
    <goal>prepare-agent</goal>
    </goals>
    </execution>
    <execution>
    <id>pre-integration-test</id>
    <goals>
    <goal>prepare-agent-integration</goal>
    </goals>
    </execution>
    </executions>
    </plugin>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-failsafe-plugin</artifactId>
    <executions>
    <execution>
    <goals>
    <goal>integration-test</goal>
    <goal>verify</goal>
    </goals>
    </execution>
    </executions>
    </plugin>
    </plugins>

    <pluginManagement>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.19.1</version>
    </plugin>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-failsafe-plugin</artifactId>
    <version>2.19.1</version>
    </plugin>
    <plugin>
    <groupId>org.jacoco</groupId>
    <artifactId>jacoco-maven-plugin</artifactId>
    <version>0.7.9</version>
    </plugin>
    </plugins>
    </pluginManagement>
    </build>
    ...
    </project>