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
Hi, I have encountered an issue when using dependency-check-gradle plugin in version 7.4.1 with JAVA_TOOL_OPTIONS.
Steps to reproduce:
Define JAVA_TOOL_OPTIONS env with value: "-Dhttps.proxyHost=proxy.my-domain.com -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|127.*|[::1]|*.my-domain.com"
Run gradle dependencyCheckAnalyze
This results in the following error:
> Task :dependencyCheckAnalyze FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':dependencyCheckAnalyze'.
> Cannot cast object 'localhost|127.*|[::1]|*.my-domain.com' with class 'java.lang.String' to class 'java.util.List'
What is interesting is that if I e.g. remove Dhttps.proxyHost and leave https.proxyPort and http.nonProxyHosts settings all seems to work fine.
I would appreciate if someone could have a look at the issue.
The text was updated successfully, but these errors were encountered:
Hi, I have encountered an issue when using dependency-check-gradle plugin in version 7.4.1 with JAVA_TOOL_OPTIONS.
Steps to reproduce:
"-Dhttps.proxyHost=proxy.my-domain.com -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts=localhost|127.*|[::1]|*.my-domain.com"
gradle dependencyCheckAnalyze
This results in the following error:
What is interesting is that if I e.g. remove
Dhttps.proxyHost
and leavehttps.proxyPort
andhttp.nonProxyHosts
settings all seems to work fine.I would appreciate if someone could have a look at the issue.
The text was updated successfully, but these errors were encountered: