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
while using JSign-maven-plugin and Proxy-Settings defined in the settings.xml within an multi-module-build it seems the Plugin "loses" the specified nonProxyHosts.
So if you build module A and module B and you are using the Plugin for module A in module B Proxy-Settings without the nonProxyHosts are actively used.
A similar problem was reported here: mojohaus/jaxb2-maven-plugin#60
maybe there is something in common.
Possible fix could be, that the SignHelper is aware of the nonProxyHosts settings and within initializeProxy() this regex would be used for an extra condition within the select method of the anonyme inner class of ProxySelector.
One thing - how fast do you think this change could be deployed?
thanks
Dominic
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue. The plugin does indeed change the JVM proxy configuration after loading the proxy parameters from the Maven settings, but it doesn't honor the nonProxyHosts parameter. jaxb2 solved this issue by restoring the previous proxy settings after running. I fail to understand why Maven doesn't handle the proxy configuration itself since it holds the settings.
I think if the Jsign Maven plugin has to configure the proxy used by the JVM it should handle the nonProxyHosts parameter. Proxy settings could be defined in the Maven configuration with the timestamping URL matching the nonProxyHosts pattern. In this case the timestamping would fail.
Either this, or figure out how to let Maven handle the proxy configuration itself.
I don't have the time to work on this right now, but if someone wants to send a PR I can review and merge it.
Hallo,
while using JSign-maven-plugin and Proxy-Settings defined in the settings.xml within an multi-module-build it seems the Plugin "loses" the specified nonProxyHosts.
So if you build module A and module B and you are using the Plugin for module A in module B Proxy-Settings without the nonProxyHosts are actively used.
A similar problem was reported here: mojohaus/jaxb2-maven-plugin#60
maybe there is something in common.
Possible fix could be, that the SignHelper is aware of the nonProxyHosts settings and within initializeProxy() this regex would be used for an extra condition within the select method of the anonyme inner class of ProxySelector.
One thing - how fast do you think this change could be deployed?
thanks
Dominic
The text was updated successfully, but these errors were encountered: