ํฐ์บฃ7๋ก๋จ, ์๋์ฒ๋ผ ์ธํ
ํด์ฃผ๊ณ ํฐ์บฃ ์๋ฒ์ฌ๊ธฐ๋ํ๋ฉด ํฐ์บฃ์ ๋ฐฐํฌ ํ๋ฆผ
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0</version>
<configuration>
<url>http://127.0.0.1:8080/manager/text</url>
<server>TomcatServer</server>
<path>/${project.build.finalName}</path>
<username>admin</username>
<password>password1234</password>
</configuration>
</plugin>
์๋ฌ๋์ ์ถ๊ฐํจ
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.2</version>
</dependency>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
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">
<servers>
<server>
<id>TomcatServer</id>
<username>admin</username>
<password>password1234</password>
</server>
</servers>
</settings>
<role rolename="manager-script"/>
<user username="admin" password="password1234" roles="manager-script"/>