GitHub user greghogan opened a pull request:
https://github.com/apache/flink/pull/3000
[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.
I'm not aware of a way to place the maven-shade-plugin configuration in the
parent pom and conditionally enable it for a subset of modules.
$ ls build-target/opt
flink-avro_2.10-1.2-SNAPSHOT.jar
flink-cep_2.10-1.2-SNAPSHOT.jar
flink-cep-scala_2.10-1.2-SNAPSHOT.jar
flink-connector-cassandra_2.10-1.2-SNAPSHOT.jar
flink-connector-elasticsearch_2.10-1.2-SNAPSHOT.jar
flink-connector-elasticsearch2_2.10-1.2-SNAPSHOT.jar
flink-connector-filesystem_2.10-1.2-SNAPSHOT.jar
flink-connector-flume_2.10-1.2-SNAPSHOT.jar
flink-connector-hadoop-compatibility_2.10-1.2-SNAPSHOT.jar
flink-connector-hbase_2.10-1.2-SNAPSHOT.jar
flink-connector-hcatalog-1.2-SNAPSHOT.jar
flink-connector-jdbc-1.2-SNAPSHOT.jar
flink-connector-kafka-0.10_2.10-1.2-SNAPSHOT.jar
flink-connector-kafka-0.8_2.10-1.2-SNAPSHOT.jar
flink-connector-kafka-0.9_2.10-1.2-SNAPSHOT.jar
flink-connector-nifi_2.10-1.2-SNAPSHOT.jar
flink-connector-rabbitmq_2.10-1.2-SNAPSHOT.jar
flink-connector-redis_2.10-1.2-SNAPSHOT.jar
flink-connector-twitter_2.10-1.2-SNAPSHOT.jar
flink-gelly_2.10-1.2-SNAPSHOT.jar
flink-gelly-examples_2.10-1.2-SNAPSHOT.jar
flink-gelly-scala_2.10-1.2-SNAPSHOT.jar
flink-metrics-dropwizard-1.2-SNAPSHOT.jar
flink-metrics-ganglia-1.2-SNAPSHOT.jar
flink-metrics-graphite-1.2-SNAPSHOT.jar
flink-metrics-statsd-1.2-SNAPSHOT.jar
flink-ml_2.10-1.2-SNAPSHOT.jar
flink-storm_2.10-1.2-SNAPSHOT.jar
flink-storm-examples_2.10-1.2-SNAPSHOT.jar
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/greghogan/flink
4861b_package_optional_project_artifacts
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/3000.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3000
commit 972d3d01faf5375bff976a90f651c1bb2d8776bf
Author: Greg Hogan
Date: 2016-12-13T20:14:19Z
[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.
---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---