ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [36/37] git commit: AMBARI-7474. Slider View: Pull slider-agent.tar.gz using maven dependencies - fix for 2 JARs (srimanth)
Date Wed, 24 Sep 2014 20:53:35 GMT
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 <sgunturi@hortonworks.com>
Authored: Wed Sep 24 13:25:51 2014 -0700
Committer: Srimanth Gunturi <sgunturi@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>


Mime
View raw message