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

Chesnay Schepler commented on FLINK-27640:
------------------------------------------

You could add this to your maven settings.xml:

{code}
<settings>
    <mirrors>
        <mirror>
            <id>conjars-https</id>
            <url>https://conjars.org/repo/</url>
            <mirrorOf>conjars</mirrorOf>
        </mirror>
    </mirrors>
</settings>
{code}

This has the advantage that we don't have to sprinkle the repo setting into 
different modules, and we'll continue to use conjars only for pentaho and 
nothing else. (If we were to set it in the poms then Maven would try to 
download everything from there first in the respective module).

> Flink not compiling, flink-connector-hive_2.12 is missing jhyde 
> pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-27640
>                 URL: https://issues.apache.org/jira/browse/FLINK-27640
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System, Connectors / Hive
>    Affects Versions: 1.16.0
>            Reporter: Piotr Nowojski
>            Assignee: Chesnay Schepler
>            Priority: Critical
>
> When clean installing whole project after cleaning local {{.m2}} directory I 
> encountered the following error when compiling flink-connector-hive_2.12:
> {noformat}
> [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: [conjars (http://conjars.org/repo, default, 
> releases+snapshots), apache.snapshots 
> (http://repository.apache.org/snapshots, default, snapshots)] -> [Help 1]
> {noformat}
> I've solved this by adding 
> {noformat}
>         <repository>
>             <id>spring-repo-plugins</id>
>             <url>https://repo.spring.io/ui/native/plugins-release/</url>
>         </repository>
> {noformat}
> to ~/.m2/settings.xml file. 



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

Reply via email to