flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanEwen <...@git.apache.org>
Subject [GitHub] flink pull request #3030: Updated version of #3014
Date Mon, 19 Dec 2016 21:12:56 GMT
GitHub user StephanEwen opened a pull request:


    Updated version of #3014

    Updated version of #3014

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/StephanEwen/incubator-flink greg

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3030
commit c259198a579c294569498a4019ba5cf25cc60f68
Author: Stephan Ewen <sewen@apache.org>
Date:   2016-12-19T15:24:29Z

    [FLINK-5369] [build] Remove jsr305 and logging as root dependencies.
    Currently, every project in Flink has a hard (compile scope) dependency on the jsr305,
slf4j, and log4j
    artifacts. That way they are pulled into every fat jar, including user fat jars as soon
as they refer to
    a connector or library.
    This commit changes the behavior in two ways:
      1. It removes the concrete logger dependencies from the root pom file. Instead, it adds
them to the
         'flink-core' project. That way, all modules that refer to 'flink-core' will have
those dependencies
         as well, but the projects that have 'flink-core' as provided (connectors, libraries,
user programs,
         etc) will have those dependencies transitively as provided as well.
      2. The commit overrides the slf4j and jsr305 dependencies in the parents of 'flink-connectors',
         'flink-libraries', and 'flink-metrics' and sets the to 'provided'. That way all core
         pull the logger classes, but all projects that are not part of flink-dist (and rather
         in fat jars) will not bundle these dependencies again.
    The flink-dist puts the dependencies into the fat jar (slf4j, jsr305) or the lib folder

commit 77fa5396bdc7e56fccaffb0111fb36b222e87efe
Author: Greg Hogan <code@greghogan.com>
Date:   2016-12-15T20:49:07Z

    [FLINK-4861] [build] Package optional project artifacts
    Package the Flink connectors, metrics, and libraries into subdirectories
    of a new opt directory in the release/snapshot tarballs.
    This closes #3014

commit 0267449d7248e1717dfea2d294910186cf22cbdd
Author: Stephan Ewen <sewen@apache.org>
Date:   2016-12-19T20:50:31Z

    [FLINK-4861] [build] Remove gelly-examples from 'opt' assembly


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message