您的位置:首页 > 运维架构 > Tomcat

m2eclipse+tomcat

2013-10-25 00:15 204 查看
maven goals: package tomcat6:redeploy
pom.xml

<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat6-maven-plugin</artifactId>
<version>2.1</version>
<configuration>
<url>http://localhost:8080/manager/html</url>
<server>localhost</server>
<path>/artfactory</path>
</configuration>
</plugin>

settings.xml

<pluginGroups>
<pluginGroup>org.apache.tomcat.maven</pluginGroup>
</pluginGroups>

settings.xml

<servers>
<server>
<id>localhost</id>
<username>admin</username>
<password>password</password>
</server>


tomcat-users.xml

<role rolename="manager"/>
<user username="admin" password="password" roles="manager"/>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  maven tomcat