Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 397C618EAA for ; Wed, 20 Jan 2016 13:05:11 +0000 (UTC) Received: (qmail 68858 invoked by uid 500); 20 Jan 2016 13:05:10 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 68795 invoked by uid 500); 20 Jan 2016 13:05:10 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 68784 invoked by uid 99); 20 Jan 2016 13:05:10 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2016 13:05:10 +0000 Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com [209.85.215.45]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 2BDB81A00E9 for ; Wed, 20 Jan 2016 13:05:10 +0000 (UTC) Received: by mail-lf0-f45.google.com with SMTP id c192so5367894lfe.2 for ; Wed, 20 Jan 2016 05:05:09 -0800 (PST) X-Gm-Message-State: ALoCoQnfM+hYTWEP8xLk6Ojwutczcap+84ZplcA+FKHRFSTgCPNH6tUwTzTPoZuBSW3Ihs+bvVOk4Xtsbp04uArXBXJ1IpIHoA== X-Received: by 10.25.78.66 with SMTP id c63mr11322104lfb.18.1453295108665; Wed, 20 Jan 2016 05:05:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.190.67 with HTTP; Wed, 20 Jan 2016 05:04:49 -0800 (PST) In-Reply-To: References: From: Robert Metzger Date: Wed, 20 Jan 2016 14:04:49 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: maven dependency problem when building stream job To: "dev@flink.apache.org" Content-Type: multipart/alternative; boundary=001a11424f0ab4bb490529c3a27f --001a11424f0ab4bb490529c3a27f Content-Type: text/plain; charset=UTF-8 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 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] > --001a11424f0ab4bb490529c3a27f--