Esri / spatial-framework-for-hadoop

The Spatial Framework for Hadoop allows developers and data scientists to use the Hadoop data processing system for spatial data analysis.
Apache License 2.0
363 stars 160 forks source link

Improve MAVEN build Performance - test reports #184

Closed SilverSteven closed 1 year ago

SilverSteven commented 2 years ago

That report generation takes time, slowing down the overall build. Reports are definitely useful, but do you need them every time you run the build. We can conditionally disable generating test reports by setting <disableXmlReport>true<disableXmlReport>. If you need to generate reports, just add -DcloseTestReports=false to the end of mvn build command.

===================== If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

randallwhitman commented 2 years ago

Hi SilverSteven - thanks for contributing to the Spatial Framework for Hadoop. How much faster does the build complete with this chance? For me mvn clean test runs in under 10 seconds, as is. It seems like an alternate to changing the default in the POM, would be to pass -DcloseTestReports=true at command line.