文档章节

Apache Tomcat Maven Plugin for Tomcat 7.x命令大全

宁静的夜海
 宁静的夜海
发布于 2016/02/16 16:28
字数 315
阅读 145
收藏 0

阿里云携手百名商业领袖、技术大咖,带您一探行进中的数字新基建!>>>

Apache Tomcat Maven Plugin :: Tomcat 7.x 2.2

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

  Tomcat 7.x servlet container.


This plugin has 14 goals:


tomcat7:deploy

  Deploy a WAR to Tomcat.


tomcat7:deploy-only

  Deploy a WAR to Tomcat without forking the package lifecycle.


tomcat7:exec-war

  Create a self executable jar file containing all necessary Apache Tomcat

  classes. This allows for using just java -jar mywebapp.jar to run your webapp

  without needing to install a Tomcat instance. More details here.


tomcat7:exec-war-only

  Same as exec-war goal without forking the package lifecycle.


tomcat7:help

  Display help information on tomcat7-maven-plugin.

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

  details.


tomcat7:redeploy

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


  set to true.)


tomcat7: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.)


tomcat7:run

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


  server.


tomcat7:run-war

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

  Tomcat server.


tomcat7:run-war-only

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


tomcat7: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.


tomcat7:standalone-war

  This Mojo will create an executable war file with embedded Tomcat that is also


  capable of being deployed elsewhere.


tomcat7:standalone-war-only

  This Mojo will create an executable war file with embedded Tomcat that is also


  capable of being deployed elsewhere.


tomcat7:undeploy

  Undeploy a WAR from Tomcat.


© 著作权归作者所有

宁静的夜海
粉丝 1
博文 11
码字总数 1809
作品 0
南京
技术主管
私信 提问
加载中

评论(0)

Jenkins常用插件之Deploy Plugin

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/jiang1986829/article/details/51173251 该插件主要运用在Java项目中,功能是“将成功编译的War/Jar包部署到远...

心在天涯
2016/04/17
0
0
Java Web开发入门 - 第4章 Maven单元作业

问题1 问题1描述:maven插件帮助文档 1(3分)如何查看一个maven插件的帮助文档,并举一个例子(可以将你查看到的帮助文档内容贴出来,可以只贴一部分) 回答: 插件配置 插件配置元素 conf...

抢小孩糖吃
2016/08/26
764
0
maven 自动部署到 tomcat7

tomcat7 需要使用 tomcat-maven-plugin 的新版本,版本支持tomcat6和tomcat7,groupId也由org.codehaus.mojo改为org.apache.tomcat.maven. 1、配置tomcat的环境变量 如:CATALINA_HOME=此处填...

卯金刀GG
2016/12/16
10
0
Maven 集成Tomcat7插件

Maven已经是Java的项目管理标配,如何在JavaEE开发使用Maven调用Web应用,是很多同学关心的问题。本文将介绍,Maven如何介绍Tomcat插件。 Maven Tomcat插件现在主要有两个版本,tomcat-mave...

squanchao
2015/10/17
541
0
maven一键部署tomcat war包

1、环境如下   eclipse、apache-maven-3.0.5、apache-tomcat-7.0.39 2、配置如下   apache-tomcat-7.0.39配置C:Program Filesapache-tomcat-7.0.39conftomcat-users.xml,因为tomcat7默认......

技术小甜
2017/11/16
0
0

没有更多内容

加载失败,请刷新页面

加载更多

windows下安装M2Crypto

安装M2Crypto使用python里的pip安装功能安装即可。 步骤: 1、首先下载安装python 2.7版本 。下载完成后把python的路径加入到环境变量中 2、安装pip 。pip的下载地址为:https://pypi.python...

A_laoshiren
34分钟前
14
0
戳破中台泡沫,软件定义让数字中台脱虚入实

道路是曲折的,前途是光明的。 用这句话来形容数字中台当前的处境可谓是再恰当不过。从过去几年的轰轰烈烈,到年初备受各方质疑,数字中台从巅峰跌落到谷底,遭受了过山车般的待遇。其实对于...

大数据在线
34分钟前
12
0
vue源码---将data对象中的属性变成observable

function defineReactive(obj, key, val, cb) { Object.defineProperty(obj, key, { enumerable: true, configurable: true, get: () => { re......

gtandsn
36分钟前
11
0
我应该使用Vagrant还是Docker来创建一个孤立的环境? [关闭]

问题: I use Ubuntu for development and deployment and have a need for creating an isolated environment. 我使用Ubuntu进行开发和部署,并且需要创建一个隔离的环境。 I am consideri......

技术盛宴
39分钟前
28
0
PanDownload登录时账号登录失败,获取bdstoken失败

PanDownload一直以来都是我信赖的云盘下载工具,其下载速度确实是快 但天有不测风云,最近登录网盘账号时,提示账号登录失败,获取bdstoken失败 问题显现: 提示信息:账号登录失败,获取bds...

二营长意大利炮
40分钟前
34
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部