AMBARI-20601. Prune files contained in zkmigrator.jar to a minimal set (Attila Magyar via magyari_sandor)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/53f5b63c Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/53f5b63c Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/53f5b63c Branch: refs/heads/branch-dev-logsearch Commit: 53f5b63c70f5667732c83853e7d4bffd841aac9f Parents: 4690fe7 Author: Attila Magyar <amag...@hortonworks.com> Authored: Tue Mar 28 19:15:09 2017 +0200 Committer: Sandor Magyari <smagy...@hortonworks.com> Committed: Tue Mar 28 19:17:53 2017 +0200 ---------------------------------------------------------------------- ambari-agent/pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/53f5b63c/ambari-agent/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml index 292fd07..fb08ce2 100644 --- a/ambari-agent/pom.xml +++ b/ambari-agent/pom.xml @@ -406,6 +406,15 @@ </transformer> </transformers> <outputFile>${project.build.directory}${dirsep}zkmigrator.jar</outputFile> + <minimizeJar>true</minimizeJar> + <artifactSet> + <includes> + <include>org.apache.zookeeper:zookeeper</include> + <include>commons-cli:commons-cli</include> + <include>org.slf4j:*</include> + <include>log4j:*</include> + </includes> + </artifactSet> </configuration> </execution> <execution>