启动/使用maven停止Tomcat [英] start/stop tomcat using maven

查看:942
本文介绍了启动/使用maven停止Tomcat的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能启动/使用maven停止远程tomcat的。我使用的货物插件,可以帮助我在部署应用程序,但不提供启动功能/停止远程tomcat的。

How can i start/stop remote tomcat using maven. I am using cargo plugin which helps me in deploying the application , but doesn't provides the functionality to start/stop the remote tomcat.

推荐答案

您可以尝试使用的 Maven的Tomcat插件或如果它不给你你需要的一切,你总是可以在这里使用一个Ant任务是的任务参考

You can try to use the maven tomcat plugin or if it does not give you everything you need, you can always use an ant task here is a reference on the task

这篇关于启动/使用maven停止Tomcat的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆