默认情况下是jar包形式,需要修改为war包形式时,才能被tomcat插件调用使用。
waralimavenaliyun mavenhttp://maven.aliyun.com/nexus/content/groups/public/net-cnHuman Readable Name for this Mirror.http://maven.net.cn/content/groups/public/repo2Human Readable Name for this Mirror.http://repo2.maven.org/maven2/CNOSChina Centralhttp://maven.oschina.net/content/groups/public/nexusTeam Nexus Repositoryhttp://192.168.1.178:8081/nexus/content/groups/publicorg.apache.maven.pluginsmaven-compiler-plugin3.31.7UTF-8src\main\webapp\WEB-INF\liborg.apache.maven.pluginsmaven-surefire-plugin2.15trueorg.apache.maven.pluginsmaven-war-plugin2.4WebContent在WebContent目录下,一般有META-INF和WEB-INF两个目录。
true//设置为True时,在编译的过程中,如果没有查找到WebContent\WEB-INF\web.xml文件,则会报错。
org.apache.maven.pluginsmaven-jar-plugin2.4org.apache.tomcat.maventomcat7-maven-plugin2.18080/UTF-8tomcat7org.eclipse.jettyjetty-maven-plugin9.2.11.v2015052910/org.wildfly.pluginswildfly-maven-plugin1.1.0.Alpha5127.0.0.19990adminadminspring4ajax.war