Bind maven-dependency-plugin properties goal to the process-test-classes phase

This commit is contained in:
Chris Eager 2024-11-14 17:46:22 -06:00 committed by Chris Eager
parent 0ca9e973ad
commit a1ac5bd74c
1 changed files with 6 additions and 1 deletions

View File

@ -484,7 +484,12 @@
<version>3.8.1</version>
<executions>
<execution>
<!-- Set dependencies as properties for use in argLine property for mockito jar -->
<!--
Set dependencies as properties for use in argLine property for mockito jar.
The property isn't needed until the test phase, and deferring it from the default
`initialize` addresses issues running lifecycle phases that precede `test` in isolation.
-->
<phase>process-test-classes</phase>
<goals>
<goal>properties</goal>
</goals>