You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2022/12/11 16:43:00 UTC

[jira] [Comment Edited] (FLINK-30362) Flink-connector-hive can't build with maven 3.8

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

Sergey Nuyanzin edited comment on FLINK-30362 at 12/11/22 4:42 PM:
-------------------------------------------------------------------

*Looks like a duplicate of https://issues.apache.org/jira/browse/FLINK-27640*

as stated in commets of the mention issue use of maven wrapper
{noformat}
./mvnw <goals>
{noformat}
or add this to your maven settings.xml:
{code:xml}
<settings>
    <mirrors>
        <mirror>
            <id>conjars-https</id>
            <url>https://conjars.org/repo/</url>
            <mirrorOf>conjars</mirrorOf>
        </mirror>
    </mirrors>
</settings>
{code}


was (Author: sergey nuyanzin):
*Looks like a duplicate of https://issues.apache.org/jira/browse/FLINK-27640*

as stated in commets of the mention issue use of maven wrapper
{noformat}
./mvnw <goals>
{noformat}
or add this to your maven settings.xml:
{code:xml}
<settings>
    <mirrors>
        <mirror>
            <id>conjars-https</id>
            <url>https://conjars.org/repo/</url>
            <mirrorOf>conjars</mirrorOf>
        </mirror>
    </mirrors>
</settings>
{code}

> Flink-connector-hive can't build with maven 3.8
> -----------------------------------------------
>
>                 Key: FLINK-30362
>                 URL: https://issues.apache.org/jira/browse/FLINK-30362
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>    Affects Versions: 1.16.0, 1.17.0, 1.15.3
>         Environment: install maven 3.8.1+
> git clone flink repo
> run mvn clean pcakge
>            Reporter: Chen Qin
>            Priority: Minor
>             Fix For: 1.17.0, 1.16.1, 1.15.4
>
>
> Flink connector hive pull in hive-exec  which depends on org.pentaho:pentaho-aggdesigner-algorithm in blocked jboss mirror. 
> This is cve related issue which blockeds upgrade to maven 3.8.1+
> [https://maven.apache.org/docs/3.8.1/release-notes.html#cve-2021-26291]
>  
> {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.17-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}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)