1.7.0 build failure, could not get required dependency from maven central.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

1.7.0 build failure, could not get required dependency from maven central.

jiaxl
Below is maven build error:

[ERROR] Failed to execute goal on project flink-dist_2.11: Could not resolve
dependencies for project org.apache.flink:flink-dist_2.11:jar:1.7.0: Failure
to find org.apache.flink:flink-shaded-hadoop2-uber:jar:1.7.0 in
https://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced.

I didn't change anything, any clues?

Thanks.



--
Sent from: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: 1.7.0 build failure, could not get required dependency from maven central.

Chesnay Schepler-3
The hadoop uber jar is not deployed to maven. You have to build it
locally if you want to build flink-dist yourself.

On 14.01.2019 15:22, jiaxl wrote:

> Below is maven build error:
>
> [ERROR] Failed to execute goal on project flink-dist_2.11: Could not resolve
> dependencies for project org.apache.flink:flink-dist_2.11:jar:1.7.0: Failure
> to find org.apache.flink:flink-shaded-hadoop2-uber:jar:1.7.0 in
> https://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central has
> elapsed or updates are forced.
>
> I didn't change anything, any clues?
>
> Thanks.
>
>
>
> --
> Sent from: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/
>

Reply | Threaded
Open this post in threaded view
|

Re: 1.7.0 build failure, could not get required dependency from maven central.

Stephen
In reply to this post by jiaxl
You can try with the newest maven. I met a similar problem but solved by
updating to a new version maven



--
Sent from: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/