Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Eclipse 中有一个 mavenized 动态 web 项目。当我对其进行更改时,我必须调用mvn:redeploy将项目重新部署到 Tomcat 中。有没有办法在保存文件时自动重新部署到Tomcat,而不需要mvn:redeploy命令?
mvn:redeploy
使用 Eclipse 的“ Java-On Save Actions ”来配置将调用的附加操作mvn redeploy。
mvn redeploy