Skip to content

Commit

Permalink
[FLINK-6514] [build] Merge bin and lib assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanEwen authored and rmetzger committed May 15, 2017
1 parent 3c77812 commit aa13591
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 63 deletions.
23 changes: 0 additions & 23 deletions flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -403,15 +403,6 @@ under the License.
</configuration>
</plugin>

<!-- binary compatibility checks -->
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<!--Build uber jar-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -502,20 +493,6 @@ under the License.
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
<execution>
<id>lib</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assemblies/lib.xml</descriptor>
</descriptors>
<finalName>flink-${project.version}-bin</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</plugin>

Expand Down
10 changes: 9 additions & 1 deletion flink-dist/src/main/assemblies/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,21 @@ under the License.
</dependencySets>

<files>
<!-- copy fat jar -->
<!-- copy flink-dist fat jar -->
<file>
<source>target/flink-dist_${scala.binary.version}-${project.version}.jar</source>
<outputDirectory>lib/</outputDirectory>
<fileMode>0644</fileMode>
</file>

<!-- copy the Hadoop fat jar -->
<file>
<source>../flink-shaded-hadoop/flink-shaded-hadoop2/target/flink-shaded-hadoop2-${project.version}.jar</source>
<outputDirectory>lib/</outputDirectory>
<destName>flink-shaded-hadoop2-${project.version}.jar</destName>
<fileMode>0644</fileMode>
</file>

<!-- copy the config file -->
<file>
<source>src/main/resources/flink-conf.yaml</source>
Expand Down
39 changes: 0 additions & 39 deletions flink-dist/src/main/assemblies/lib.xml

This file was deleted.

0 comments on commit aa13591

Please sign in to comment.