[ https://issues.apache.org/jira/browse/HADOOP-17650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325780#comment-17325780 ]
Viraj Jasani commented on HADOOP-17650: --------------------------------------- hadoop-yarn-applications-catalog-webapp uses solr-core and solr-test-framework both dependencies with test scope. I think we should exclude org.restlet.jee as we don't seem to require it with tests. And with the exclusion, the build works fine with maven 3.8.1. > Fails to build using Maven 3.8.1 > -------------------------------- > > Key: HADOOP-17650 > URL: https://issues.apache.org/jira/browse/HADOOP-17650 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 3.4.0 > Reporter: Wei-Chiu Chuang > Priority: Major > > The latest Maven (3.8.1) errors out when building Hadoop (tried trunk) > {noformat} > [ERROR] Failed to execute goal on project > hadoop-yarn-applications-catalog-webapp: Could not resolve dependencies for > project > org.apache.hadoop:hadoop-yarn-applications-catalog-webapp:war:3.4.0-SNAPSHOT: > Failed to collect dependencies at org.apache.solr:solr-core:jar:7.7.0 -> > org.restlet.jee:org.restlet:jar:2.3.0: Failed to read artifact descriptor for > org.restlet.jee:org.restlet:jar:2.3.0: Could not transfer artifact > org.restlet.jee:org.restlet:pom:2.3.0 from/to maven-default-http-blocker > (http://0.0.0.0/): Blocked mirror for repositories: [maven-restlet > (http://maven.restlet.org, default, releases+snapshots), apache.snapshots > (http://repository.apache.org/snapshots, default, disabled)] -> [Help 1] > {noformat} > According to > [https://maven.apache.org/docs/3.8.1/release-notes.html#how-to-fix-when-i-get-a-http-repository-blocked] > we need to update our Maven repo. > > Maven 3.6.3 is good. > > (For what is worth, I used my company's mirror to bypass this error. Not sure > what is a good fix for Hadoop itself) -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org