mojohaus / jaxws-maven-plugin

https://www.mojohaus.org/jaxws-maven-plugin/
Apache License 2.0
25 stars 37 forks source link

-Dhttp.nonProxyHosts vm arg is repeated for each wsdl #97

Open jpraet opened 2 years ago

jpraet commented 2 years ago

In https://github.com/mojohaus/jaxws-maven-plugin/commit/05e2454be4bee75da35e258a156c291a095eda2e support was added for nonProxyHosts, but the getWsImportArgs() where this was added is called in a for-loop for each WSDL.

When there are a lot of WSDL's to process, combined with a nonProxyHosts configuration that is quite long, this can lead to errors on Windows due to the max command line length:

Length of Windows command line is limited to 8191 characters, but current command has 8271 characters