Repository: bigtop Updated Branches: refs/heads/master c26bc08ea -> cb5983eed
BIGTOP-2133: Running BPSGenerator using fat-jar fails on Mac OS X Signed-off-by: Olaf Flebbe <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/cb5983ee Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/cb5983ee Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/cb5983ee Branch: refs/heads/master Commit: cb5983eedb04a6ce28b91d6a808af52135be9bac Parents: c26bc08 Author: Kengo Seki <[email protected]> Authored: Mon Nov 16 12:51:44 2015 +0900 Committer: Olaf Flebbe <[email protected]> Committed: Mon Nov 16 21:02:21 2015 +0100 ---------------------------------------------------------------------- bigtop-bigpetstore/bigpetstore-mapreduce/build.gradle | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/cb5983ee/bigtop-bigpetstore/bigpetstore-mapreduce/build.gradle ---------------------------------------------------------------------- diff --git a/bigtop-bigpetstore/bigpetstore-mapreduce/build.gradle b/bigtop-bigpetstore/bigpetstore-mapreduce/build.gradle index 6718227..16cc7f8 100644 --- a/bigtop-bigpetstore/bigpetstore-mapreduce/build.gradle +++ b/bigtop-bigpetstore/bigpetstore-mapreduce/build.gradle @@ -298,3 +298,10 @@ eclipse { downloadJavadoc = false } } + +// shadowJar can merge files which have the same path but it differs only in case into a single jar, +// but it causes a problem on some case-insensitive platforms such as Mac OS X. +// The following function removes either of the duplicated path. +shadowJar { + exclude 'META-INF/LICENSE' +}
