nvazquez opened a new pull request #4014: Improvement on build time and new quality profile URL: https://github.com/apache/cloudstack/pull/4014 ## Description Since PR #3956 has been merged the build time has increased drastically due to the quality tools added. This PR simply removes these tools from the default build execution and adds a new profile with name: `quality` to enable these tools. To enable this new profile, simply append: `-P quality` to the maven build command As a result, the default build time increases significantly, as shown in the 'How has this been tested' section ## Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ## Screenshots (if appropriate): ## How Has This Been Tested? Tested on Ubuntu 19.10 laptop, 8x1.8Ghz CPU - 16GB RAM openjdk version "11.0.6" 2020-01-14 Apache Maven 3.6.1 Default build: ```` $ mvn clean install -Dnoredist -P developer,systemvm -DskipTests -T4 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 06:21 min (Wall Clock) [INFO] Finished at: 2020-04-05T01:16:18-03:00 [INFO] ------------------------------------------------------------------------ ```` Enabling quality tools (x2+ slower): ```` mvn clean install -Dnoredist -P developer,systemvm,quality -U -DskipTests -T4 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 16:25 min (Wall Clock) [INFO] Finished at: 2020-04-05T01:42:07-03:00 [INFO] ------------------------------------------------------------------------ ````
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
