spatial-framework-for-hadoop icon indicating copy to clipboard operation
spatial-framework-for-hadoop copied to clipboard

Improve MAVEN build Performance - test reports

Open SilverSteven opened this issue 4 years ago • 1 comments

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.

SilverSteven avatar Feb 08 '22 13:02 SilverSteven

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.

randallwhitman avatar Mar 07 '22 14:03 randallwhitman