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 2016/09/29 17:25:48 UTC

[03/14] ambari git commit: AMBARI-18051 - Services should be able to provide their own pre-req checks by supplying a jar file

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/20ce57b7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/20ce57b7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/20ce57b7

Branch: refs/heads/branch-feature-AMBARI-18456
Commit: 20ce57b7bb578dd337007d4411c695c95d6bf287
Parents: aad2133
Author: Tim Thorpe <tt...@apache.org>
Authored: Wed Sep 28 09:28:06 2016 -0700
Committer: Tim Thorpe <tt...@apache.org>
Committed: Wed Sep 28 09:28:06 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/20ce57b7/ambari-server/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
index d507b82..e37accd 100644
--- a/ambari-server/pom.xml
+++ b/ambari-server/pom.xml
@@ -578,6 +578,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>
@@ -603,9 +622,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>