Skip to content

Commit 453534c

Browse files
committed
Disable module path in surefire/failsafe test runs
1 parent a732769 commit 453534c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

odfdom/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@
194194
<groupId>org.apache.maven.plugins</groupId>
195195
<artifactId>maven-surefire-plugin</artifactId>
196196
<configuration>
197+
<useModulePath>false</useModulePath>
197198
<argLine>-javaagent:${settings.localRepository}/org/jacoco/org.jacoco.agent/${jacoco.version}/org.jacoco.agent-${jacoco.version}-runtime.jar=destfile=${project.build.directory}/coverage-reports/jacoco-ut.exec</argLine>
198199
<systemPropertyVariables>
199200
<org.odftoolkit.odfdom.validation>true</org.odftoolkit.odfdom.validation>
@@ -309,6 +310,7 @@
309310
<artifactId>maven-failsafe-plugin</artifactId>
310311
<version>3.2.5</version>
311312
<configuration>
313+
<useModulePath>false</useModulePath>
312314
<excludes>
313315
<exclude>**/PerformanceIT.java</exclude>
314316
</excludes>
@@ -566,6 +568,7 @@
566568
<artifactId>maven-failsafe-plugin</artifactId>
567569
<version>3.1.1</version>
568570
<configuration>
571+
<useModulePath>false</useModulePath>
569572
<systemPropertyVariables>
570573
<testresourcefolder>performance</testresourcefolder>
571574
<executetimes>1</executetimes>
@@ -587,6 +590,7 @@
587590
<groupId>org.apache.maven.plugins</groupId>
588591
<artifactId>maven-surefire-plugin</artifactId>
589592
<configuration>
593+
<useModulePath>false</useModulePath>
590594
<argLine>${surefireArgLine}</argLine>
591595
<systemPropertyVariables>
592596
<org.odftoolkit.odfdom.validation>true</org.odftoolkit.odfdom.validation>

0 commit comments

Comments
 (0)