Skip to content

Commit

Permalink
[FLINK-6654] [build] Let 'flink-dist' properly depend on 'flink-shade…
Browse files Browse the repository at this point in the history
…d-hadoop2-uber'

This closes apache#3960
  • Loading branch information
Nico Kruber authored and StephanEwen committed Jul 20, 2017
1 parent 2ba5f87 commit 70d5348
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ under the License.
</dependency>

<!-- Concrete logging framework - we add this only here (and not in the
root POM to not tie the projects to one specific framework and make
root POM) to not tie the projects to one specific framework and make
it easier for users to swap logging frameworks -->

<dependency>
Expand All @@ -221,6 +221,22 @@ under the License.
<scope>compile</scope>
</dependency>

<!--
The Hadoop 2 Uber jar should not go into the Flink dist jar, but
sit next to it. Hence, we set it to 'provided' here.
-->

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-hadoop2-uber</artifactId>
<version>${project.version}</version>
<!--
Exclusion of flink-shaded-hadoop2 not necessary, dependencies
are shaded away properly by flink-shaded-hadoop2-uber.
-->
<scope>provided</scope>
</dependency>

<!--
The following dependencies are packaged in 'examples/'
The scope of these dependencies needs to be 'provided' so that
Expand Down

0 comments on commit 70d5348

Please sign in to comment.