Skip to content

Commit 3b7484d

Browse files
authored
run code coverage during test phase, but after all other plugins complete (#1111)
1 parent 11f2c29 commit 3b7484d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

core/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@
8888
</resource>
8989
</resources>
9090
<plugins>
91-
<plugin>
92-
<groupId>org.jacoco</groupId>
93-
<artifactId>jacoco-maven-plugin</artifactId>
94-
</plugin>
9591
<plugin>
9692
<groupId>org.apache.maven.plugins</groupId>
9793
<artifactId>maven-jar-plugin</artifactId>
@@ -167,6 +163,10 @@
167163
<groupId>org.codehaus.mojo</groupId>
168164
<artifactId>flatten-maven-plugin</artifactId>
169165
</plugin>
166+
<plugin>
167+
<groupId>org.jacoco</groupId>
168+
<artifactId>jacoco-maven-plugin</artifactId>
169+
</plugin>
170170
</plugins>
171171
</build>
172172
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
</execution>
190190
<execution>
191191
<id>report</id>
192-
<phase>post-integration-test</phase>
192+
<phase>test</phase>
193193
<goals>
194194
<goal>report</goal>
195195
</goals>

0 commit comments

Comments
 (0)