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

查看:42
本文介绍了使用 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天全站免登陆