Skip to content

Commit c1ba76f

Browse files
Merge pull request #31 from BorderTech/travis
Jacoco Report
2 parents 6fc072b + 9063503 commit c1ba76f

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

qa-parent/pom.xml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414

1515
<properties>
1616

17-
<surefireArgLine />
18-
1917
<!-- SKIP QA -->
2018
<bt.qa.skip>true</bt.qa.skip>
2119
<checkstyle.skip>${bt.qa.skip}</checkstyle.skip>
@@ -72,24 +70,27 @@
7270
</dependencyManagement>
7371

7472
<build>
75-
7673
<plugins>
77-
7874
<!-- Code coverage. -->
7975
<plugin>
8076
<groupId>org.jacoco</groupId>
8177
<artifactId>jacoco-maven-plugin</artifactId>
8278
<version>0.8.2</version>
8379
<executions>
84-
<!-- Prepare jacco agent. -->
80+
<!-- Prepare Jacoco agent. -->
8581
<execution>
8682
<id>jacoco-agent</id>
8783
<goals>
8884
<goal>prepare-agent</goal>
8985
</goals>
90-
<configuration>
91-
<propertyName>surefireArgLine</propertyName>
92-
</configuration>
86+
</execution>
87+
<!-- Jacoco Coverage Report -->
88+
<execution>
89+
<id>post-unit-test</id>
90+
<phase>prepare-package</phase>
91+
<goals>
92+
<goal>report</goal>
93+
</goals>
9394
</execution>
9495
</executions>
9596
</plugin>
@@ -99,10 +100,6 @@
99100
<groupId>org.apache.maven.plugins</groupId>
100101
<artifactId>maven-surefire-plugin</artifactId>
101102
<version>2.22.1</version>
102-
<configuration>
103-
<!-- Arg set by jacoco. -->
104-
<argLine>${surefireArgLine}</argLine>
105-
</configuration>
106103
</plugin>
107104

108105
<!-- Verify: Check the code style. -->

0 commit comments

Comments
 (0)