You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by jo...@apache.org on 2014/09/24 22:53:35 UTC
[36/37] git commit: AMBARI-7474. Slider View: Pull
slider-agent.tar.gz using maven dependencies - fix for 2 JARs (srimanth)
AMBARI-7474. Slider View: Pull slider-agent.tar.gz using maven dependencies - fix for 2 JARs (srimanth)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7d6731b7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7d6731b7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7d6731b7
Branch: refs/heads/branch-alerts-dev
Commit: 7d6731b7f84d07f2b3369649a8c213daa451b471
Parents: 9d5ba9a
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Wed Sep 24 13:25:51 2014 -0700
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Wed Sep 24 13:25:51 2014 -0700
----------------------------------------------------------------------
contrib/views/slider/pom.xml | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/7d6731b7/contrib/views/slider/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/slider/pom.xml b/contrib/views/slider/pom.xml
index 2aaf9f9..3f311c8 100644
--- a/contrib/views/slider/pom.xml
+++ b/contrib/views/slider/pom.xml
@@ -509,6 +509,7 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
+ <id>copy-dependencies</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-dependencies</goal>
@@ -516,25 +517,20 @@
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
<includeScope>runtime</includeScope>
+ <excludeArtifactIds>slider-agent</excludeArtifactIds>
</configuration>
</execution>
<execution>
- <id>copy-to-lib</id>
+ <id>copy-slider-agent-with-rename</id>
<phase>generate-resources</phase>
<goals>
- <goal>copy</goal>
+ <goal>copy-dependencies</goal>
</goals>
<configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.slider</groupId>
- <artifactId>slider-agent</artifactId>
- <type>tar.gz</type>
- <overWrite>false</overWrite>
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- <destFileName>slider-agent.tar.gz</destFileName>
- </artifactItem>
- </artifactItems>
+ <outputDirectory>${project.build.directory}/lib</outputDirectory>
+ <includeScope>runtime</includeScope>
+ <stripVersion>true</stripVersion>
+ <includeArtifactIds>slider-agent</includeArtifactIds>
</configuration>
</execution>
</executions>