You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes properties are not explicitly set in the pom.xml but are rather set through some other plugins. Most prominent example is https://www.jacoco.org/jacoco/trunk/doc/prepare-agent-mojo.html#propertyName.
As this property can obviously not be resolved when extracting the surefire/failsafe plugins, all unknown placeholder inside ${...} should just be replaced by the empty string.
For example I have this configuration in my pom.xml
This leads to the following error launching the auto-created JUnit configuration Reference to undefined variable test.opts.coverage because the VM arguments contain the unresolved ${test.opts.coverage} .
This is a regression of c8bcaaa.
The text was updated successfully, but these errors were encountered:
Hello @kwin
I think your issue was already solved by #1827
Ensure you're using @{test.opts.coverage} instead of ${test.opts.coverage} as it is a deferred variable
and also appply the pluginManagement configuration provided in this post
Sometimes properties are not explicitly set in the pom.xml but are rather set through some other plugins. Most prominent example is https://www.jacoco.org/jacoco/trunk/doc/prepare-agent-mojo.html#propertyName.
As this property can obviously not be resolved when extracting the surefire/failsafe plugins, all unknown placeholder inside
${...}
should just be replaced by the empty string.For example I have this configuration in my pom.xml
Usually
test.opts.coverage
is populated fromThis leads to the following error launching the auto-created JUnit configuration
Reference to undefined variable test.opts.coverage
because the VM arguments contain the unresolved${test.opts.coverage}
.This is a regression of c8bcaaa.
The text was updated successfully, but these errors were encountered: