flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject [3/8] flink git commit: [FLINK-6501] [build] Add NOTICE transformers to shading
Date Wed, 10 May 2017 20:39:43 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/95fd2d37
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/95fd2d37
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/95fd2d37

Branch: refs/heads/release-1.3
Commit: 95fd2d371eae43be1ea2534efe653af1a7095d0b
Parents: 9b8ace9
Author: Stephan Ewen <sewen@apache.org>
Authored: Mon May 8 20:58:26 2017 +0200
Committer: Stephan Ewen <sewen@apache.org>
Committed: Wed May 10 21:08:37 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/flink/blob/95fd2d37/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 71ad779..1c978c6 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