Skip to content

Commit 91c161e

Browse files
1 parent fa5cecd commit 91c161e

File tree

2 files changed

+16
-34
lines changed

2 files changed

+16
-34
lines changed

bookkeeper-server/pom.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,10 +266,25 @@
266266
<goals>
267267
<goal>prepare-agent</goal>
268268
</goals>
269+
<configuration>
270+
<destFile>${project.build.directory}/jacoco.exec</destFile>
271+
<propertyName>argLine</propertyName>
272+
</configuration>
273+
</execution>
274+
<execution>
275+
<id>report</id>
276+
<phase>verify</phase>
277+
<goals>
278+
<goal>report</goal>
279+
</goals>
280+
<configuration>
281+
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
282+
<outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
283+
</configuration>
269284
</execution>
270285
</executions>
271286
</plugin>
272-
287+
273288
</plugins>
274289
</build>
275290
</project>

pom.xml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -811,39 +811,6 @@
811811
</dependencies>
812812

813813
<build>
814-
<!--
815-
<pluginManagement>
816-
<plugins>
817-
<plugin>
818-
<groupId>org.jacoco</groupId>
819-
<artifactId>jacoco-maven-plugin</artifactId>
820-
<version>${jacoco-maven-plugin.version}</version>
821-
<executions>
822-
<execution>
823-
<goals>
824-
<goal>prepare-agent</goal>
825-
</goals>
826-
<configuration>
827-
<destFile>${project.build.directory}/jacoco.exec</destFile>
828-
<propertyName>argLine</propertyName>
829-
</configuration>
830-
</execution>
831-
<execution>
832-
<id>report</id>
833-
<phase>verify</phase>
834-
<goals>
835-
<goal>report</goal>
836-
</goals>
837-
<configuration>
838-
<dataFile>${project.build.directory}/jacoco.exec</dataFile>
839-
<outputDirectory>${project.reporting.outputDirectory}/jacoco</outputDirectory>
840-
</configuration>
841-
</execution>
842-
</executions>
843-
</plugin>
844-
</plugins>
845-
</pluginManagement>
846-
-->
847814
<extensions>
848815
<extension>
849816
<groupId>kr.motd.maven</groupId>

0 commit comments

Comments
 (0)