flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Metzger <rmetz...@apache.org>
Subject Re: maven dependency problem when building stream job
Date Wed, 20 Jan 2016 13:04:49 GMT
Hi Martin,

is the logproc-flink project using the maven-enforcer-plugin to enforce a
minimum version of netty?
We recently downgraded (a minor version) of netty because of an issue.
Maybe that's the issue.

Can you check the enforcer rules of your project?

On Wed, Jan 20, 2016 at 1:48 PM, Martin Neumann <mneumann@sics.se> wrote:

> Hi,
>
> I have a weird problem. Yesterday I had to clean my local maven cache for a
> different application.
> Since afterwards one of my Flink streaming jobs does not compile anymore. I
> didn't change any code just made maven pull all dependencies again.
>
> I'm totally stomped by this, please help me!
>
> Here is the error I get from maven:
>
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps
> failed with message:
> Failed while enforcing RequireUpperBoundDeps. The error(s) are [
> Require upper bound dependencies error for io.netty:netty:3.7.0.Final paths
> to dependency are:
> +-com.spotify:logproc-flink:0.0.0-SNAPSHOT
>   +-org.apache.flink:flink-java:0.10.1
>     +-org.apache.flink:flink-shaded-hadoop2:0.10.1
>       +-org.apache.zookeeper:zookeeper:3.4.6
>         +-io.netty:netty:3.7.0.Final
> and
> +-com.spotify:logproc-flink:0.0.0-SNAPSHOT
>   +-org.apache.flink:flink-streaming-java:0.10.1
>     +-org.apache.flink:flink-runtime:0.10.1
>       +-com.typesafe.akka:akka-remote_2.10:2.3.7
>         +-io.netty:netty:3.8.0.Final
> ]
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce) on
> project logproc-flink: Some Enforcer rules have failed. Look above for
> specific messages explaining why the rule failed. -> [Help 1]
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message