flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [05/13] flink git commit: [FLINK-6501] [build] Add NOTICE transformers to shading
Date Thu, 11 May 2017 16:19:19 GMT
[FLINK-6501] [build] Add NOTICE transformers to shading

This makes sure that transitive NOTICE files are added to the shaded JAR files.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/609bfa1d
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/609bfa1d
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/609bfa1d

Branch: refs/heads/master
Commit: 609bfa1db66e98e82792b6140748f14d10b79209
Parents: faee90e
Author: Stephan Ewen <sewen@apache.org>
Authored: Mon May 8 20:58:26 2017 +0200
Committer: Stephan Ewen <sewen@apache.org>
Committed: Thu May 11 12:45:51 2017 +0200

----------------------------------------------------------------------
 pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/609bfa1d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 10677a4..4e0bf52 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1173,6 +1173,14 @@ under the License.
 									<shadedPattern>org.apache.flink.shaded.org.objectweb.asm</shadedPattern>
 								</relocation>
 							</relocations>
+							<transformers>
+								<!-- The service transformer is needed to merge META-INF/services files -->
+								<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
+								<!-- The ApacheNoticeResourceTransformer collects and aggregates NOTICE files
-->
+								<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/>
+								<!-- The ApacheLicenseResourceTransformer prevents duplicate Apache Licenses -->
+								<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/>
+							</transformers>
 						</configuration>
 					</execution>
 				</executions>


Mime
View raw message