[
https://issues.apache.org/jira/browse/AMBARI-26458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved AMBARI-26458.
--------------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
> 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
> Assignee: Jhen-Yung Hsu
> Priority: Trivial
> Fix For: 3.1.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]