Skip to content

Commit

Permalink
[build] merge transitive notice files to shaded notices
Browse files Browse the repository at this point in the history
This closes apache#837.
  • Loading branch information
mbalassi authored and mxm committed Jun 16, 2015
1 parent 7240c7a commit 5c1aa34
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ under the License.
</transformer>
<!-- The service transformer is needed to merge META-INF/services files -->
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
</transformers>
</configuration>
</execution>
Expand Down
1 change: 1 addition & 0 deletions flink-shaded-hadoop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ under the License.
<transformers>
<!-- The service transformer is needed to merge META-INF/services files -->
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
</transformers>
<relocations>
<relocation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ under the License.
</execution>
</executions>
</plugin>

<plugin>
<!-- Override artifactSet configuration to build fat-jar with all dependencies packed. -->
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -162,6 +163,9 @@ under the License.
<include>org.apache.flume:*</include>
</includes>
</artifactSet>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
</transformers>
</configuration>
</execution>
</executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ under the License.
<include>com.twitter:joauth</include>
</includes>
</artifactSet>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
</transformers>
</configuration>
</execution>
</executions>
Expand Down
3 changes: 3 additions & 0 deletions flink-yarn-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ under the License.
<shadedPattern>org.apache.flink.hadoop.shaded.org.jboss.netty</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
</transformers>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 5c1aa34

Please sign in to comment.