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 E1FD5200BF1 for ; Mon, 19 Dec 2016 21:31:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E0C8F160B21; Mon, 19 Dec 2016 20:31:59 +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 3B1D0160B14 for ; Mon, 19 Dec 2016 21:31:59 +0100 (CET) Received: (qmail 75969 invoked by uid 500); 19 Dec 2016 20:31:58 -0000 Mailing-List: contact issues-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 issues@flink.apache.org Received: (qmail 75937 invoked by uid 99); 19 Dec 2016 20:31:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2016 20:31:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 561362C0086 for ; Mon, 19 Dec 2016 20:31:58 +0000 (UTC) Date: Mon, 19 Dec 2016 20:31:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-5369) Rework jsr305 and logging dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 19 Dec 2016 20:32:00 -0000 [ https://issues.apache.org/jira/browse/FLINK-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15762228#comment-15762228 ] ASF GitHub Bot commented on FLINK-5369: --------------------------------------- Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/3029 I think this is a quite crucial change for 1.2, because dependency structure cannot be changed in minor releases. @rmetzger to your attention > Rework jsr305 and logging dependencies > -------------------------------------- > > Key: FLINK-5369 > URL: https://issues.apache.org/jira/browse/FLINK-5369 > Project: Flink > Issue Type: Bug > Components: Build System > Reporter: Stephan Ewen > Assignee: Stephan Ewen > Fix For: 1.2.0 > > > Currently, every project in Flink has a hard (compile scope) dependency on the {{jsr305}}, {{slf4j}}, {{log4j}}, and {{commons-land3}} artifacts, because these dependencies are declared in the root pom.xml. That way they are pulled into every fat jar, including user fat jars as soon as they refer to a connector or library. > We should get the {{log4j}} related dependencies out of the root pom file. Ideally these dependencies are only in test scope (as the default logger for testing) and in {{flink-dist}} and the quickstart poms. But to keep compatibility with the current project setups by users, we could also add them to {{flink-core}}. > In addition, the projects whose artifacts usually get bundles in fat jars (namely {{flink-libraries}}, {{flink-connectors}}, and {{flink-metrics}} should override the {{slf4j}} and {{jsr305}} dependencies as provided. -- This message was sent by Atlassian JIRA (v6.3.4#6332)