Wei-Chiu Chuang created AMBARI-26458:
----------------------------------------
Summary: Maven -DskipSurefireTests does not skip Java tests
Key: AMBARI-26458
URL: https://issues.apache.org/jira/browse/AMBARI-26458
Project: Ambari
Issue Type: Bug
Components: build
Affects Versions: 3.1.0
Reporter: Wei-Chiu Chuang
The precommit test {{mvn clean -am test -pl ambari-server -DskipSurefireTests
-Dmaven.test.failure.ignore -Dmaven.artifact.threads=10 -Drat.skip
-Dcheckstyle.skip -DskipAdminWebTests=true}} is supposed to skip Java tests but
doesn't.
The reason is skipSurefireTests is not a declared property of Maven pom.xml.
{code}
diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
index 4e7664c579..07996a5a06 100644
--- a/ambari-project/pom.xml
+++ b/ambari-project/pom.xml
@@ -25,6 +25,7 @@
<name>Apache Ambari Project POM</name>
<packaging>pom</packaging>
<properties>
+ <skipSurefireTests>false</skipSurefireTests>
<skipPythonTests>false</skipPythonTests>
<skipFunctionalTests>true</skipFunctionalTests>
<solr.version>5.5.2</solr.version>
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]