How can I speed up my maven2 build?

前端 未结 8 2170
孤独总比滥情好
孤独总比滥情好 2020-12-13 04:29

I\'m using a local artifactory to proxy the request, but the build and test phases are still a bit slow. It\'s not the actual compile and tests that are slow, it\'s the \"wa

8条回答
  •  旧时难觅i
    2020-12-13 05:03

    There are some possibilities to optimize some of the build tasks. For example the 'clean' task can be optimized from minutes to just milliseconds using simple trick - rename 'target' folder instead of delete.

    To get details how to do it refer to Speed up Maven build.

提交回复
热议问题