Closed MichaelWarnecke closed 6 years ago
I've just hit this pain. @MichaelWarnecke - have you found a workaround?
Looks like the Java wsimport tool doesn't support nonProxyHosts. Have created a pull request to check against this regex before generating the command line
For a workaround try to set the a wrong httpproxy in the plugin configuration.
For example:
<httpproxy>localhost:8080</httpproxy>
When
nonProxyHosts
are configured in maven's settings, this configuration is ignored by the jaxws-maven-plugin.Given these settings:
and this pom.xml:
When executing
mvn clean generate-sources
, the following line is shown in maven's log, even though the URLtest.intern
is covered by the nonProxyHosts settings.Expected behaviour is: the parameter
-httpproxy:proxy.intern:1234
should not be generated.