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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to