Apache Tomcat Maven Plugin :: Tomcat 6.x 2.2

Apache Tomcat Maven Plugin :: Tomcat 6.x 2.2

  The Tomcat Maven Plugin provides goals to manipulate WAR projects within the

  Tomcat 6.x servlet container.


This plugin has 20 goals:


tomcat6:deploy

  Deploy a WAR to Tomcat.


tomcat6:deploy-only

  Deploy a WAR to Tomcat without forking the package lifecycle.


tomcat6:exploded

  Deploy an exploded WAR to Tomcat.


tomcat6:help

  Display help information on tomcat6-maven-plugin.

  Call mvn tomcat6:help -Ddetail=true -Dgoal=<goal-name> to display parameter

  details.


tomcat6:info

  Lists information about the Tomcat version, OS, and JVM properties.


tomcat6:inplace

  Deploy a WAR in-place to Tomcat.


tomcat6:list

  Lists all the currently deployed web applications in Tomcat.


tomcat6:redeploy

  Redeploy a WAR in Tomcat. (Alias for the deploy goal with its update parameter


  set to true.)


tomcat6:redeploy-only

  Redeploy a WAR in Tomcat without forking the package lifecycle. (Alias for the


  deploy-only goal with its update parameter set to true.)


tomcat6:reload

  Reload a WAR in Tomcat.


tomcat6:resources

  Lists JNDI resources in Tomcat.


tomcat6:roles

  Lists security roles in Tomcat.


tomcat6:run

  Runs the current project as a dynamic web application using an embedded Tomcat


  server.


tomcat6:run-war

  Runs the current project as a packaged web application using an embedded

  Tomcat server.


tomcat6:run-war-only

  Same as run-war goal without forking the package cycle.


tomcat6:sessions

  Lists session information for a WAR in Tomcat.


tomcat6:shutdown

  Shuts down all possibly started embedded Tomcat servers. This will be

  automatically done through a shutdown hook or you may call this Mojo to shut

  them down explictly.


  By default the shutdown goal is not bound to any phase. For integration tests

  you might want to bind it to post-integration-test.


tomcat6:start

  Start a WAR in Tomcat.


tomcat6:stop

  Stop a WAR in Tomcat.


tomcat6:undeploy

  Undeploy a WAR from Tomcat.


转载于:https://my.oschina.net/u/193989/blog/615781

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值