maven项目中部署项目到远程Tomcat服务器

2020腾讯云8月秒杀活动,优惠非常大!(领取2860元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1040

2020阿里云最低价产品入口,含代金券(新老用户有优惠),
地址https://www.aliyun.com/minisite/goods

                        <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>tomcat-maven-plugin</artifactId> <version>1.1</version> <configuration> <url>http://www.unknown.com/manager/html</url> <path>/</path> <server>unknown</server> </configuration> </plugin>
然后在maven的个人settings中定义<server> <?xml version="1.0" encoding="UTF-8"?> <settings>     <servers>         <server>             <id>unknown</id>             <username>tomcat</username>             <password>tomcat</password>         </server> <server>             <id>unknown2</id>             <username>tomcat</username>             <password>tomcat</password>         </server>     </servers> </settings>

推荐:Linux服务器上的tomcat中部署web项目

[Linux服务器上的tomcat中部署web项目]

相关推荐