How can I speed up Maven and Netbeans

前端 未结 3 800
天命终不由人
天命终不由人 2021-02-02 03:56

I have a rather large project (with quite a large stack including Spring and Hibernate) that I build through Netbeans using Maven.

Unfortunately, every time I make a cha

3条回答
  •  失恋的感觉
    2021-02-02 04:18

    Why do you need to run the Tests on each change? That's a huge cost, when making trivial changes. Switch it off using -DskipTests=true

    Take a look at : http://wiki.netbeans.org/HotDeploymentWebApplicationWithMaven

    Also, setup Netbeans to hot deploy on Tomcat (use Jetty). See this post : Incremental hot deployment on Tomcat with Maven and NetBeans.

提交回复
热议问题