[ 
https://issues.apache.org/jira/browse/FLINK-27894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546186#comment-17546186
 ] 

Biao Geng commented on FLINK-27894:
-----------------------------------

cc [~luoyuxia]  have you ever met such error?

> Build flink-connector-hive failed using Maven@3.8.5
> ---------------------------------------------------
>
>                 Key: FLINK-27894
>                 URL: https://issues.apache.org/jira/browse/FLINK-27894
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Biao Geng
>            Priority: Major
>
> When I tried to build flink project locally with Java8 and Maven3.8.5, I met 
> such error:
> {code:java}
> [ERROR] Failed to execute goal on project flink-connector-hive_2.12: Could 
> not resolve dependencies for project 
> org.apache.flink:flink-connector-hive_2.12:jar:1.16-SNAPSHOT: Failed to 
> collect dependencies at org.apache.hive:hive-exec:jar:2.3.9 -> 
> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Failed to read 
> artifact descriptor for 
> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Could not transfer 
> artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde from/to 
> maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for 
> repositories: [repository.jboss.org 
> (http://repository.jboss.org/nexus/content/groups/public/, default, 
> disabled), conjars (http://conjars.org/repo, default, releases+snapshots), 
> apache.snapshots (http://repository.apache.org/snapshots, default, 
> snapshots)] -> [Help 1]
> {code}
> After some investigation, the reason may be that Maven 3.8.1 disables support 
> for repositories using "http" protocol. Due to [NIFI-8398], one possible 
> solution is adding 
> {code:xml}
>     <repositories>
>         <!-- HTTP Repository for pentaho-aggdesigner-algorithm 5.1.5-jhyde 
> required by calcite-1.2.0-incubating -->
>         <repository>
>             <id>conjars</id>
>             <url>https://conjars.org/repo</url>
>         </repository>
>     </repositories>
> {code}
>  in the pom.xml of flink-connector-hive module.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to