[ https://issues.apache.org/jira/browse/HDFS-2381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116533#comment-13116533 ]
Steve Loughran commented on HDFS-2381: -------------------------------------- The workaround -as it is clearly a fault of Maven, as a search shows this is not the first project to encounter it- is to set the proxy settings on the command line of the build. mvn install -DskipTests -Dhttp.proxyHost=web-proxy -Dhttp.proxyPort=8080 or, assuming you've set up ANT_OPTS to work mvn install $ANT_OPTS > Build behind a proxy failing to fetch commons-daemon > ---------------------------------------------------- > > Key: HDFS-2381 > URL: https://issues.apache.org/jira/browse/HDFS-2381 > Project: Hadoop HDFS > Issue Type: Bug > Components: build > Environment: Linux box with a proxy to get to remote HTTP sites; > ~/.m2/settings.xml set up with a proxy; ANT_OPTS set up with a proxy, both > build tools downloading ivy/maven artifacts > Reporter: Steve Loughran > > The bit of Ant code in the HDFS project to D/L the commons-daemon binary is > failing as it cannot reach archive.apache.org, even though Ant and Maven have > their proxies setup. I will allege that M2 isn't passing proxy information > down properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira