You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jo...@wellsfargo.com on 2014/09/09 00:21:52 UTC

Maven deploy plugin ignoring nonProxyHosts

All,

The latest Tomcat Maven plugin seems to ignore the Maven value for nonProxyHosts.  I can only deploy to localhost if Maven's proxy has active = false.  I traced the problem to TomcatManager.applyProxy().  It simply ignores the nonProxyHosts value.  Fixing it is pretty simple.  Since the Tomcat plugin already depends on Wagon, I updated applyProxy() to call Wagon's ProxyUtils.validateNonProxyHosts().  I believe that is the method that Maven itself uses.

A recent Jira in this area is https://issues.apache.org/jira/browse/MTOMCAT-177, though it's closes.

John