ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aonis...@apache.org
Subject [47/55] [abbrv] ambari git commit: AMBARI-20544. Prune files contained in jcepolicyinfo.jar to a minimal set (rlevas)
Date Fri, 31 Mar 2017 07:22:54 GMT
AMBARI-20544. Prune files contained in jcepolicyinfo.jar to a minimal set (rlevas)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/192a30fb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/192a30fb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/192a30fb

Branch: refs/heads/branch-3.0-perf
Commit: 192a30fbaf7969cdb6b541724b65b17a6ab00f80
Parents: 0ef14f5
Author: Robert Levas <rlevas@hortonworks.com>
Authored: Thu Mar 30 09:16:55 2017 -0400
Committer: Andrew Onishuk <aonishuk@hortonworks.com>
Committed: Fri Mar 31 10:21:45 2017 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/192a30fb/ambari-agent/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
index fb08ce2..a57ed64 100644
--- a/ambari-agent/pom.xml
+++ b/ambari-agent/pom.xml
@@ -327,7 +327,7 @@
                   <location>${project.build.directory}${dirsep}${project.artifactId}-${project.version}/var/lib/ambari-agent</location>
                   <includes>
                     <include>/cred/lib/*.jar</include>
-                    <include>/tools/zkmigrator.jar</include>
+                    <include>/tools/*.jar</include>
                     <include>/cache/stacks/HDP/2.1.GlusterFS/services/STORM/package/files/wordCount.jar</include>
                     <include>/cache/stacks/HDP/2.0.6/hooks/before-START/files/fast-hdfs-resource.jar</include>
                     <include>/cache/common-services/STORM/0.9.1/package/files/wordCount.jar</include>
@@ -424,6 +424,14 @@
               <goal>shade</goal>
             </goals>
             <configuration>
+              <minimizeJar>true</minimizeJar>
+              <artifactSet>
+                <includes>
+                  <include>commons-cli:commons-cli</include>
+                  <include>org.slf4j:*</include>
+                  <include>log4j:*</include>
+                </includes>
+              </artifactSet>
               <transformers>
                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                   <mainClass>org.apache.ambari.tools.jce.JcePolicyInfo</mainClass>


Mime
View raw message