Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4FB1F200C1B for ; Tue, 14 Feb 2017 18:18:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4E5AC160B45; Tue, 14 Feb 2017 17:18:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6FFA0160B5F for ; Tue, 14 Feb 2017 18:18:41 +0100 (CET) Received: (qmail 75075 invoked by uid 500); 14 Feb 2017 17:18:40 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 75030 invoked by uid 99); 14 Feb 2017 17:18:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2017 17:18:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0992CC04CF for ; Tue, 14 Feb 2017 17:18:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.481 X-Spam-Level: ** X-Spam-Status: No, score=2.481 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=okkam-it.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id LCdZJiiLrJgj for ; Tue, 14 Feb 2017 17:18:36 +0000 (UTC) Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 882E95FB0F for ; Tue, 14 Feb 2017 17:18:35 +0000 (UTC) Received: by mail-ua0-f174.google.com with SMTP id 35so90440802uak.1 for ; Tue, 14 Feb 2017 09:18:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=okkam-it.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ILlujF7cCoqznOreAu5PbB6Ivk0+q5AFLSt0gAJXFw4=; b=vBui0xraR0Va2lSVx2gO/wdag5mOg7rxFAffLMR5APTFnPKlgHBNSFSlVje4MzynGs ux/T6MHnnJN3rJkQvHMOhdkytchCvoy+V7bCqRKt4sgfELB2MyTXkdxEbpz0g+UzA12r 4Rq5oud3t4ao2imqSYsbBzisCpUEdoy9M3iVyV8L1LcTUxdESyetO7zGSbAi7+ezCcKj cCBa9VLfGBroRptoPbAW/LcIJsGtjXPsK6RIBnSKcTB75I7oGw2zsLyQNDdLObtm4XRz 2tE8+e+ZGZAa0QmxXkYND+7MHsq1eHldlro8st3ck7oUz85jFMHJX8DGdqgzJ6ZgBGyb vV6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ILlujF7cCoqznOreAu5PbB6Ivk0+q5AFLSt0gAJXFw4=; b=tVo5ut3uEoH7ujnskLWf44YJhKc/p/Y26zZBE78y0LspmGq59FarRgR9rTZJNx9wIi rKMbiGB5vL6IC4mLgbfVAbDMSoW5xrcTh3YOMyHHjIBqaUWXvL1FntLMC+qW9ZmCi8j1 9GtZX/lBqs+vbDcGbpTG5X7mCw4xy84q652c7/7ecqgo8xHKPG+4lCAjo1tanEvFUET+ J2Oey5fGCAOrvJEtq197yjxkjIp3qQf9iRh1nb9HH2NPk59tmT10xmPl19ACFcfy101g SnI74DZPCqEGsEs5R/dHsxvxDApG8ACQwGJAfpNkaqa7KkuAHuRhEYOjOjB+R5zzvE+r AR7g== X-Gm-Message-State: AMke39nWXMULhNvxikjN+U53gOM9LUOXCrRhRVw2uzQ79IS8h7VlXtsNqUJlx6l4yw4PIW0m4jbAI8HIh6o9yw== X-Received: by 10.176.4.196 with SMTP id 62mr12777666uaw.172.1487092714541; Tue, 14 Feb 2017 09:18:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.31.221.194 with HTTP; Tue, 14 Feb 2017 09:18:33 -0800 (PST) X-Originating-IP: [77.43.99.234] Received: by 10.31.221.194 with HTTP; Tue, 14 Feb 2017 09:18:33 -0800 (PST) In-Reply-To: <4089567.gBDVcR5aNn@nico-work> References: <3622350.LxCv30O2v1@nico-work> <4089567.gBDVcR5aNn@nico-work> From: Flavio Pompermaier Date: Tue, 14 Feb 2017 18:18:33 +0100 Message-ID: Subject: Re: Missing test dependency in Eclipse with Flink 1.2.0 To: Nico Kruber Cc: user Content-Type: multipart/alternative; boundary=94eb2c1255f0002c6b054880c122 archived-at: Tue, 14 Feb 2017 17:18:42 -0000 --94eb2c1255f0002c6b054880c122 Content-Type: text/plain; charset=UTF-8 Great! Thanks a lot On 14 Feb 2017 6:07 p.m., "Nico Kruber" wrote: > I did some digging and this is actually documented in FLINK-4813 [1]. > > To work around this issue, add the following plugin to your build plugins: > > > > org.apache.felix > maven-bundle-plugin > 3.0.1 > true > true > > > > Nico > > [1] https://issues.apache.org/jira/browse/FLINK-4813 > > On Tuesday, 14 February 2017 17:45:12 CET Flavio Pompermaier wrote: > > Hi Nico, > > thanks for the response. The problem is that I don't use the quickstart > > example. > > I have a working set of jobs (in Flink 1.1.4) with some unit tests. > > In the unit tests I use the following dependency that causes the problem: > > > > > > org.apache.flink > > flink-test-utils_2.10 > > 1.2.0 > > test-jar > > test > > > > > > Best, > > Flavio > > > > On Tue, Feb 14, 2017 at 2:51 PM, Nico Kruber > wrote: > > > You do not require a plugin, but most probably this dependency was not > > > fetched > > > by Eclipse. Please try a "mvn clean package" in your project and see > > > whether > > > this helps Eclipse. > > > > > > Also, you may create a clean test project with > > > > > > mvn archetype:generate \ > > > > > > -DarchetypeGroupId=org.apache.flink \ > > > -DarchetypeArtifactId=flink-quickstart-java \ > > > -DarchetypeVersion=1.2.0 > > > > > > for which I could not find any dependency issues using Eclipse. > > > > > > Regards, > > > Nico > > > > > > On Tuesday, 14 February 2017 14:17:10 CET Flavio Pompermaier wrote: > > > > Hi to all, > > > > I've tried to migrate to Flink 1.2.0 and now my Eclipse projects says > > > > > > that > > > > > > > they can't find *apacheds-jdbm1* that has packaging bundle. Should I > > > > install some plugin? > > > > > > > > Best, > > > > Flavio > > --94eb2c1255f0002c6b054880c122 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Great! Thanks a lot=C2=A0

On 14 Feb 2017 6:07 p.m., "Nico Kruber= " <nico@data-artisans.com= > wrote:
I di= d some digging and this is actually documented in FLINK-4813 [1].

To work around this issue, add the following plugin to your build plugins:<= br>
<!--
=C2=A0 https://issues.apache.org/jira/brows= e/DIRSHARED-134
=C2=A0 Required to pull the Mini-KDC transitive dependency
-->
<plugin>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <groupId>org.apache.felix</groupI= d>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <artifactId>maven-bundle-plugin</= artifactId>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <version>3.0.1</version>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <inherited>true</inherited>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <extensions>true</extensions>
</plugin>


Nico

[1] https://issues.apache.org/jira/browse/FLINK= -4813

On Tuesday, 14 February 2017 17:45:12 CET Flavio Pompermaier wrote:
> Hi Nico,
> thanks for the response. The problem is that I don't use the quick= start
> example.
> I have a working set of jobs (in Flink 1.1.4) with some unit tests. > In the unit tests I use the following dependency that causes the probl= em:
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 <dependency>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<groupId>org.apac= he.flink</groupId>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<artifactId>flink= -test-utils_2.10</artifactId>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<version>1.2.0<= ;/version>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<type>test-jar<= ;/type>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<scope>test</s= cope>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</dependency>
>
> Best,
> Flavio
>
> On Tue, Feb 14, 2017 at 2:51 PM, Nico Kruber <nico@data-artisans.com> wrote:
> > You do not require a plugin, but most probably this dependency wa= s not
> > fetched
> > by Eclipse. Please try a "mvn clean package" in your pr= oject and see
> > whether
> > this helps Eclipse.
> >
> > Also, you may create a clean test project with
> >
> > mvn archetype:generate=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0\
> >
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0-DarchetypeGroupId=3Dorg.apache.fl= ink=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 \
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0-DarchetypeArtifactId=3Dflink-quic= kstart-java=C2=A0 =C2=A0 =C2=A0 \
> >=C2=A0 =C2=A0 =C2=A0 =C2=A0-DarchetypeVersion=3D1.2.0
> >
> > for which I could not find any dependency issues using Eclipse. > >
> > Regards,
> > Nico
> >
> > On Tuesday, 14 February 2017 14:17:10 CET Flavio Pompermaier wrot= e:
> > > Hi to all,
> > > I've tried to migrate to Flink 1.2.0 and now my Eclipse = projects says
> >
> > that
> >
> > > they can't find *apacheds-jdbm1* that has packaging bund= le. Should I
> > > install some plugin?
> > >
> > > Best,
> > > Flavio

--94eb2c1255f0002c6b054880c122--