Hiteshsai007 commented on issue #11449:
URL: https://github.com/apache/maven/issues/11449#issuecomment-4796954988

   The issue was caused by using `${org.mockito:mockito-core:jar}` in the 
`mockito` profile. Since `${...}` properties are resolved at POM parse time 
before `dependency:properties` runs, the path remained empty.
   
   I resolved this by changing it to use Surefire/Failsafe late-binding 
interpolation `@{org.mockito:mockito-core:jar}`, which resolves the path during 
test execution. I also updated the profile to preserve `@{jacocoArgLine}` and 
covered both the Surefire and Failsafe plugins.


-- 
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