This is an automated email from the ASF dual-hosted git repository. adoroszlai pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push: new 04012a1 AMBARI-24922. No need to create test jar if tests are skipped. (#2630) 04012a1 is described below commit 04012a1733a1378f3662a8d4a681fdff11adb6c4 Author: Doroszlai, Attila <6454655+adorosz...@users.noreply.github.com> AuthorDate: Tue Nov 27 05:45:32 2018 +0100 AMBARI-24922. No need to create test jar if tests are skipped. (#2630) --- ambari-project/pom.xml | 1 + ambari-server/pom.xml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml index 3c57f54..b0ce441 100644 --- a/ambari-project/pom.xml +++ b/ambari-project/pom.xml @@ -91,6 +91,7 @@ </activation> <properties> <skipPythonTests>true</skipPythonTests> + <skipSurefireTests>true</skipSurefireTests> </properties> </profile> </profiles> diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml index c410c42..535f6b5 100644 --- a/ambari-server/pom.xml +++ b/ambari-server/pom.xml @@ -194,6 +194,7 @@ <goal>run</goal> </goals> <configuration> + <skip>${skipSurefireTests}</skip> <target> <mkdir dir="target/test-classes/extensions/EXT/0.1/services/OOZIE2/checks/tmp"/> </target> @@ -206,6 +207,7 @@ <goal>run</goal> </goals> <configuration> + <skip>${skipSurefireTests}</skip> <target> <mkdir dir="target/test-classes/extensions/EXT/0.1/services/OOZIE2/server_actions/tmp"/> </target> @@ -722,6 +724,7 @@ <goal>test-jar</goal> </goals> <configuration> + <skip>${skipSurefireTests}</skip> <outputDirectory>target/test-classes/checks</outputDirectory> </configuration> </execution>