gnodet opened a new pull request, #12415:
URL: https://github.com/apache/maven/pull/12415

   Backport of #12369 to `maven-4.0.x`.
   
   The mockito profile used Maven property interpolation (`${...}`) which 
resolves at POM parse time — before the `dependency:properties` goal runs and 
sets the `org.mockito:mockito-core:jar` property. This caused the javaagent 
path to remain unresolved.
   
   Fix: use Surefire/Failsafe late-binding property interpolation (`@{...}`) 
which resolves the property at test execution time, after 
`dependency:properties` has already set it.
   
   Also:
   - Restore `@{jacocoArgLine}` placeholder
   - Extend the profile to cover `maven-failsafe-plugin` as well
   
   Cherry-picked from 6f4644329f (master).
   
   Fixes: https://github.com/apache/maven/issues/11449


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to