Bladeren bron

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

Tim Thorpe 9 jaren geleden
bovenliggende
commit
439eaedc9f
1 gewijzigde bestanden met toevoegingen van 21 en 2 verwijderingen
  1. 21 2
      ambari-server/pom.xml

+ 21 - 2
ambari-server/pom.xml

@@ -574,6 +574,25 @@
           <argLine>-Xmx1024m -XX:MaxPermSize=512m -Xms512m</argLine>
         </configuration>
       </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>
@@ -601,9 +620,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>