Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
gms-aux
Commits
4a84da31
Commit
4a84da31
authored
Aug 24, 2017
by
Daniel Eggert
Browse files
and back to cobertura
parent
28d669a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
usgs-api/pom.xml
View file @
4a84da31
...
...
@@ -26,60 +26,17 @@
</plugin>
<plugin>
<groupId>
org.
apache.maven.plugins
</groupId>
<artifactId>
maven-surefire
-plugin
</artifactId>
<version>
2.
18.1
</version>
<groupId>
org.
codehaus.mojo
</groupId>
<artifactId>
cobertura-maven
-plugin
</artifactId>
<version>
2.
7
</version>
<configuration>
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>
${surefireArgLine}
</argLine>
<!-- Skips unit tests if the value of skip.unit.tests property is true -->
<skipTests>
${skip.unit.tests}
</skipTests>
<!-- Excludes integration tests when unit tests are run. -->
<excludes>
<exclude>
**/IT*.java
</exclude>
</excludes>
<formats>
<format>
html
</format>
<format>
xml
</format>
</formats>
</configuration>
</plugin>
<plugin>
<groupId>
org.jacoco
</groupId>
<artifactId>
jacoco-maven-plugin
</artifactId>
<version>
0.7.9
</version>
<executions>
<!-- Prepares the property pointing to the JaCoCo runtime agent which
is passed as VM argument when Maven the Surefire plugin is executed. -->
<execution>
<id>
pre-unit-test
</id>
<goals>
<goal>
prepare-agent
</goal>
</goals>
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<destFile>
${project.build.directory}/coverage-reports/jacoco-ut.exec
</destFile>
<!-- Sets the name of the property containing the settings for JaCoCo
runtime agent. -->
<propertyName>
surefireArgLine
</propertyName>
</configuration>
</execution>
<!-- Ensures that the code coverage report for unit tests is created
after unit tests have been run. -->
<execution>
<id>
post-unit-test
</id>
<phase>
test
</phase>
<goals>
<goal>
report
</goal>
</goals>
<configuration>
<!-- Sets the path to the file which contains the execution data. -->
<dataFile>
${project.build.directory}/coverage-reports/jacoco-ut.exec
</dataFile>
<!-- Sets the output directory for the code coverage report. -->
<outputDirectory>
${project.build.directory}/coverage-reports/jacoco-ut
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment