AMBARI-7474. Slider View: Pull slider-agent.tar.gz using maven dependencies - 
giving fixed name (srimanth)


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

Branch: refs/heads/branch-alerts-dev
Commit: 9d5ba9a1a9c61980bdd6df9d0f488cb9cff8edb1
Parents: ddf92be
Author: Srimanth Gunturi <[email protected]>
Authored: Wed Sep 24 13:09:21 2014 -0700
Committer: Srimanth Gunturi <[email protected]>
Committed: Wed Sep 24 13:09:32 2014 -0700

----------------------------------------------------------------------
 contrib/views/slider/pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/9d5ba9a1/contrib/views/slider/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/views/slider/pom.xml b/contrib/views/slider/pom.xml
index ed5767b..2aaf9f9 100644
--- a/contrib/views/slider/pom.xml
+++ b/contrib/views/slider/pom.xml
@@ -518,6 +518,25 @@
                                                        
<includeScope>runtime</includeScope>
                                                </configuration>
                                        </execution>
+                                       <execution>
+                                               <id>copy-to-lib</id>
+                                               
<phase>generate-resources</phase>
+                                               <goals>
+                                                       <goal>copy</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>
+                                               </configuration>
+                                       </execution>
                                </executions>
                        </plugin>
                        <plugin>

Reply via email to