Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 74638c378 -> fedf15faa


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/fedf15fa
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fedf15fa
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fedf15fa

Branch: refs/heads/branch-2.5
Commit: fedf15faa578cf1ed6c55b12825cd6396fd736a6
Parents: 74638c3
Author: Attila Magyar <[email protected]>
Authored: Tue Mar 28 19:15:09 2017 +0200
Committer: Sandor Magyari <[email protected]>
Committed: Thu Mar 30 12:15:59 2017 +0200

----------------------------------------------------------------------
 ambari-agent/pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/fedf15fa/ambari-agent/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index c0bf11e..03df72b 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -404,6 +404,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>

Reply via email to