Maven??????????Web???
???????????? ???????[ 2016/3/4 11:48:40 ] ??????????????? WEB????
?????????maven????????tomcat???????Web???
???????ü???java web????????
??????????????maven?????tomcat???м?????tomcat-maven-plugin????????????plugin??repository?????????????tomcat-maven-plugin??tomcat ??
????????????
????mvn tomcat:run
???????????
??????????????????????
????mvn tomcat:deploy
?????????can not invoke tomcat manager??????????????ж?tomcat manager?????á?
??????????maven???????tomcat????web???
???????????tomcat?????????????tomcat??maven?????????á?
????maven?????????tomcat????????????裺
???????????tomcat??manager?????????????????????tomcat??plugin??????????maven setting.xml????е?server?tomcat??manager??
??????????????tomcat???????°汾??tomcat6(or7)-maven-plugin??
??????1??????tomcat ??manager???
?????????tomcat-path/conf/tomcat-user.xml?м???????
??????2??????maven setting.xml
???????????????????????~/.m2/setting.xml??
??????3??????????????? tomcat??plugin
???????????pom.xml?м???plugin.
????maven????plugin???????repo???????????????repo??
<span style="font-size: 16px;"><!---->
<!--if no repository defined?? there will be error:-->
<!--No plugin found for prefix 'tomcat7' in the current project and in the plugin groups for ..-->
<!--from the repository [local]??central (https://repo.maven.apache.org.maven2-->
<repositories>
<repository>
<id>people.apache.snapshots</id>
<url>http://repository.apache.org/content/groups/snapshots-group</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Snapshots</name>
<url>http://repository.apache.org/content/groups/snapshots-groups</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</span>
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11