[ http://jira.codehaus.org/browse/WAGON-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Champagne updated WAGON-80: ---------------------------------- Attachment: WAGON-80-wagon-provider-api.patch Hi I have created a patch about this issue. I add a method validateNonProxyHosts in a ProxyUtils Class. This methode is called in connect method in AbstractWagon. If the target host validate the non proxy host, the proxyInfo is set to null. The patch contains the class test for the method validateNonProxyHosts. Thomas Champagne > Attempt to use proxySettings even when nonProxyHosts is defined > --------------------------------------------------------------- > > Key: WAGON-80 > URL: http://jira.codehaus.org/browse/WAGON-80 > Project: wagon > Issue Type: Bug > Components: wagon-file, wagon-ftp, wagon-http, wagon-provider-api, > wagon-provider-test, wagon-scm, wagon-ssh, wagon-ssh-external, wagon-webdav > Environment: Maven 2.0.5 or maven 2.0.6, this report is based on 2.0.6 > Reporter: David J. M. Karlsen > Attachments: WAGON-80-wagon-provider-api.patch > > > site-deploy hangs because of proxy-settings: > [INFO] Generate "Project Team" report. > [DEBUG] Generating > /tmp/mobilebank/mobilebank-ear/target/site/project-info.html > [DEBUG] Generating > /tmp/mobilebank/mobilebank-ear/target/site/project-reports.html > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-site-plugin:2.0-beta-5:deploy' --> > [DEBUG] (f) inputDirectory = /tmp/mobilebank/mobilebank-ear/target/site > [DEBUG] (f) project = [EMAIL PROTECTED] > [DEBUG] (f) settings = [EMAIL PROTECTED] > [DEBUG] -- end configuration -- > [INFO] [site:deploy] > If I remove the proxies/proxy element[s] from my settings.xml it works. > Scp is used for deployment. > mvn -X site-deply|grep -i wagon gives: > [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5 > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected > for runtime) > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected > for runtime) > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected > for runtime) > [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6 > [DEBUG] org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-6 > [DEBUG] org.apache.maven.wagon:wagon-ssh-external:jar:1.0-alpha-6 > [DEBUG] org.apache.maven.wagon:wagon-file:jar:1.0-alpha-6 > [DEBUG] org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-6 > [DEBUG] > org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5:runtime (selected > for runtime) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira