Repository: ambari Updated Branches: refs/heads/branch-2.5 00df3655a -> 439eaedc9
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/439eaedc Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/439eaedc Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/439eaedc Branch: refs/heads/branch-2.5 Commit: 439eaedc9f32e727f2959daec116017873d3b3f4 Parents: 00df365 Author: Tim Thorpe <[email protected]> Authored: Wed Sep 28 09:26:13 2016 -0700 Committer: Tim Thorpe <[email protected]> Committed: Wed Sep 28 09:26:13 2016 -0700 ---------------------------------------------------------------------- ambari-server/pom.xml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/439eaedc/ambari-server/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml index a754726..49ab61f 100644 --- a/ambari-server/pom.xml +++ b/ambari-server/pom.xml @@ -576,6 +576,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> @@ -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>
