Tomcat-Maven plugin

From CodeMonkeyWiki

Jump to: navigation, search

after installing maven and running it for the first time (do mvn package in a project) ~/.m2 will have been created. edit (or create) ~/.m2/settings.xml and add the following lines:

 <settings>
   <servers>
     <server>
       <id>local-tomcat</id>
       <username>admin</username>
       <password>admin</password>
     </server>
   </servers>
 </settings>