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 B7B7D200B2D for ; Thu, 16 Jun 2016 10:16:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B67B1160A52; Thu, 16 Jun 2016 08:16:32 +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 09EB0160A51 for ; Thu, 16 Jun 2016 10:16:31 +0200 (CEST) Received: (qmail 83393 invoked by uid 500); 16 Jun 2016 08:16:31 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 83381 invoked by uid 99); 16 Jun 2016 08:16:30 -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; Thu, 16 Jun 2016 08:16:30 +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 8B62FC0274 for ; Thu, 16 Jun 2016 08:16:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.279 X-Spam-Level: * X-Spam-Status: No, score=1.279 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 61pHTdr4fD37 for ; Thu, 16 Jun 2016 08:16:28 +0000 (UTC) Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6C51E5F5A1 for ; Thu, 16 Jun 2016 08:16:28 +0000 (UTC) Received: by mail-qk0-f170.google.com with SMTP id p10so45752517qke.3 for ; Thu, 16 Jun 2016 01:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SXEx58oKs3x6+GQBDyne28vFhBPGz1IuNAYS6/ZyQKA=; b=jM2s19QZzhya5G2f6g7W/duhLiKP+a0rqT46qlWx28L6+v0nmPdgPVZMJZegOTbWPF oVA1n0CA+it8V8KeVqbYHgar+zDthdpV0iSjtQNH9idF9iPks4dj3OCw/dnI+SVuTBiP iP8HIPbCky/vxJLCgqWR4PUcVIP2lzTdYi1GWi4kUpltGRB/XKUW6mG/AGuRbuWz8/Rb 5AjjfDgOm657so/bpN7oFRmSZx+SmXeexxPMApZCgLu+c/MKLh16kOWjaDvGtAnnd54n MbYkPo5mdgeV6NN2N4GWdYPrQ93jDsLY29pCo7hSuxkSPfgnjpoU6epD9LKa9JYnvqV6 +H6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SXEx58oKs3x6+GQBDyne28vFhBPGz1IuNAYS6/ZyQKA=; b=L0ftR+A1pq6vghP+rfC0NIEjl4TQAmBoVS0AC4OHfSVjwHltjF58Zvglu+7tydmP3y B8/pLupdDQF4bQ5XqIeE2/vu9mKsEo2ZixzwnUkSSUz4o+Cpi8D3RbxBYOkiTUX1OOrT KBxylzX/nIjk69tNk3iXeZJOGdfaL8oE1ws1qYWHuYxRM7Gsn6x19ORBIulOHbWtMLsc izMc2x8yRafmfYotbSjHOFpQ99xpdzIsFz4oqSyOse3zibPOCTrT2o/zgQSuT3Z1zZ+6 JG5Y5Avh5Wd/9dBLs0nhcyoABph4nIXMxcmcwJcJbkESh8aFNrP8QwK/Jc3k4U41vLZ0 sn1w== X-Gm-Message-State: ALyK8tJIGcpcAxho6QqEuJro7mEQtF61Yk7KyQAREXxPfmTbze1cZ5igdyxPYy4RcyCIDTScemwXGRW9808mGVWt X-Received: by 10.55.42.12 with SMTP id q12mr3482136qkh.38.1466064981974; Thu, 16 Jun 2016 01:16:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.39.38 with HTTP; Thu, 16 Jun 2016 01:16:21 -0700 (PDT) In-Reply-To: References: From: Semyon Boikov Date: Thu, 16 Jun 2016 11:16:21 +0300 Message-ID: Subject: Re: Maven conflicts within ignite-core from duplicated classes To: user@ignite.apache.org Cc: Pete Campton , dev@ignite.apache.org Content-Type: multipart/alternative; boundary=001a1147410e786c9d053560daff archived-at: Thu, 16 Jun 2016 08:16:32 -0000 --001a1147410e786c9d053560daff Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable As far as I know the only reason sources of Nullable are in Ignite - we did not want to have any dependecy for 'core' module. On Mon, Jun 13, 2016 at 10:04 AM, Denis Magda wrote: > Hi Pete, > > CC-ing Ignite dev list to the thread as well. > > Igniters, up to today is there any reason why we need to include sources > of Nullable JetBrain=E2=80=99s annotation in Ignite sources? > > As I see we can rather import that latest version from the maven reposito= ry > https://maven-repository.com/artifact/org.jetbrains/annotations/15.0 > > *Anton, *please take a look at Pete issue and suggest a workaround and > generic solution overall. > > =E2=80=94 > Denis > > On Jun 9, 2016, at 1:32 PM, Pete Campton wrote: > > Hello, > > I've come across an issue where there are a couple of classes duplicated > from org.jetbrains.annotations within the ignite-core module which confli= ct > with other part of our code base. > > As these files are duplicated rather than being referenced as a maven > dependency I am unable to exclude them or reference a specific version of > the org.jetbrains.annotations artifact. > > Specifically, the included version cannot be used to annotate types > ignite-core-1.6.0.jar:org.jetbrains.annotations.Nullable ... > @Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, > ElementType.LOCAL_VARIABLE}) > annotations-15.0.jar:org.jetbrains.annotations.Nullable ... > @Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, > ElementType.LOCAL_VARIABLE, ElementType.TYPE_USE}) > > As far as I know there isn't an easy way of excluding these files from > within the ignite-core module. Is there are reason why these "external" > files have been duplicated within the ignite code base rather than being > referenced as a maven dependency? Or alternatively, has anyone come acros= s > a way of avoiding these conflicts? > > Thanks > Pete > > > --001a1147410e786c9d053560daff--