Maven的tomcat插件tomcat-maven-plugin
来源:互联网 发布:淘宝售后在哪评价呢 编辑:程序博客网 时间:2024/04/30 19:43
第一步创建maven web工程。
<role rolename="manager"/> <user username="admin" password="admin" roles="manager"/>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository>D:/maven/repository</localRepository> <servers> <server> <id>myserver</id> <username>admin</username> <password>admin</password> </server> </servers>
第二步,设置tomcat-users.xml。
<tomcat-users>
</tomcat-users>
第三步,配置maven的settings.xml。
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
</settings>
第四步,pom.xml中添加tomcat-maven-plugin插件。
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<configuration>
<url>http://127.0.0.1:8080/manager/html</url>
<server>myserver</server>
<URIEncoding>UTF-8</URIEncoding>
</configuration>
</plugin>
</plugins>
阅读全文
0 0
- Maven的tomcat插件tomcat-maven-plugin
- Maven的tomcat插件tomcat-maven-plugin
- Tomcat-maven-plugin插件使用
- maven-tomcat-plugin的用法
- tomcat-maven-plugin的使用
- tomcat-maven-plugin的使用
- maven配置tomcat-maven-plugin
- Maven tomcat plugin
- maven-tomcat-plugin
- Tomcat Maven Plugin使用
- maven tomcat plugin配置
- tomcat-maven-plugin看法
- 备忘-tomcat-maven-plugin的使用
- 备忘-tomcat-maven-plugin的使用
- 备忘-tomcat-maven-plugin的使用
- maven tomcat插件的使用
- maven tomcat插件的使用
- 配置Tomcat的Maven插件
- 字符串分割
- WOJ1184-Feli的糖果2
- PAT-1021(个位数统计)
- WIN10+VS2017+TensorFlow-gpu 被坑日记
- scp 命令的使用
- Maven的tomcat插件tomcat-maven-plugin
- 1. Kotlin 语言简介
- bootstrap中的form-group和input-group
- CF 851A Arpa and a research in Mexican wave
- mysql管理性能状态查看命令
- 免费领取阿里云的优惠券
- HDU
- use local gradle distribution
- send函数阻塞