Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 96797fed6 -> 592a9ef45


AMBARI-18051 - Services should be able to provide their own pre-req checks by 
supplying a jar file


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

Branch: refs/heads/branch-2.4
Commit: 592a9ef4512dc189f9b61741a0752b544f1e1660
Parents: 96797fe
Author: Tim Thorpe <ttho...@apache.org>
Authored: Wed Sep 28 09:05:46 2016 -0700
Committer: Tim Thorpe <ttho...@apache.org>
Committed: Wed Sep 28 09:05:46 2016 -0700

----------------------------------------------------------------------
 ambari-server/pom.xml | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/592a9ef4/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index 87d7469..867fe94 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -573,6 +573,25 @@
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.7</version>
+        <executions>
+          <execution>
+            <id>clean-sample-upgrade-check-jar</id>
+            <phase>process-test-classes</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <delete dir="target/test-classes/checks" 
includeemptydirs="true"/>
+              </target>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <version>3.0.2</version>
         <executions>
@@ -598,9 +617,9 @@
               <goal>run</goal>
             </goals>
             <configuration>
-              <tasks>
+              <target>
                 <mkdir 
dir="target/test-classes/extensions/EXT/0.1/services/OOZIE2/checks/tmp"/>
-              </tasks>
+              </target>
             </configuration>
           </execution>
         </executions>

Reply via email to