[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:
7
pom.xml
7
pom.xml
@@ -113,6 +113,7 @@
|
|||||||
<spark.bundle.hive.shade.prefix></spark.bundle.hive.shade.prefix>
|
<spark.bundle.hive.shade.prefix></spark.bundle.hive.shade.prefix>
|
||||||
<utilities.bundle.hive.scope>provided</utilities.bundle.hive.scope>
|
<utilities.bundle.hive.scope>provided</utilities.bundle.hive.scope>
|
||||||
<utilities.bundle.hive.shade.prefix></utilities.bundle.hive.shade.prefix>
|
<utilities.bundle.hive.shade.prefix></utilities.bundle.hive.shade.prefix>
|
||||||
|
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
@@ -235,7 +236,6 @@
|
|||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/IT*.java</exclude>
|
<exclude>**/IT*.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
@@ -264,11 +264,6 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<!-- Sets the path to the file which contains the execution data. -->
|
<!-- Sets the path to the file which contains the execution data. -->
|
||||||
<destFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</destFile>
|
<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>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
<!--
|
<!--
|
||||||
|
|||||||
Reference in New Issue
Block a user