You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2017/03/30 13:17:03 UTC
ambari git commit: AMBARI-20544. Prune files contained in
jcepolicyinfo.jar to a minimal set (rlevas)
Repository: ambari
Updated Branches:
refs/heads/trunk 9feb5d0f9 -> 904370a60
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/904370a6
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/904370a6
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/904370a6
Branch: refs/heads/trunk
Commit: 904370a6069d6281a90232692b42e86bdbf45882
Parents: 9feb5d0
Author: Robert Levas <rl...@hortonworks.com>
Authored: Thu Mar 30 09:16:55 2017 -0400
Committer: Robert Levas <rl...@hortonworks.com>
Committed: Thu Mar 30 09:16:55 2017 -0400
----------------------------------------------------------------------
ambari-agent/pom.xml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/904370a6/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>