1
0

[HUDI-587] Fixed generation of jacoco coverage reports.

surefire plugin's argLine is moved into a property. This configuration allows jacoco plugin to modify the argLine to insert it's Java Agent's configuration during pre-unit-test stage.
This commit is contained in:
Prashant Wason
2020-01-31 10:50:27 -08:00
committed by n3nash
parent 1fb0b001a3
commit d26dc0b229

View File

@@ -113,6 +113,7 @@
<spark.bundle.hive.shade.prefix></spark.bundle.hive.shade.prefix>
<utilities.bundle.hive.scope>provided</utilities.bundle.hive.scope>
<utilities.bundle.hive.shade.prefix></utilities.bundle.hive.shade.prefix>
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
</properties>
<scm>
@@ -235,7 +236,6 @@
<excludes>
<exclude>**/IT*.java</exclude>
</excludes>
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
</configuration>
</plugin>
</plugins>
@@ -264,11 +264,6 @@
<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>
<!--