title: Tomcat 8 integration with Maven
body: <p>It sounds like Eclipse (Kepler) does not have a proper plugin for Tomcat 8. I want to deploy my .war into Tomcat 8 and run it by Maven pom.xml file. Can anyone provide me step-by-step guidance or any resources, please?</p>
  
  <p>My POM file:</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;Test-App&lt;/groupId&gt;
    &lt;artifactId&gt;test-rest&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;test-rest Maven Webapp&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
       &lt;!-- Tomcat plugin --&gt;
  
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;3.8.1&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;build&gt;
    &lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.tomcat.maven&lt;/groupId&gt;
      &lt;artifactId&gt;tomcat7-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.2&lt;/version&gt;
      &lt;configuration&gt;
       &lt;path&gt;/${project.build.finalName}&lt;/path&gt;
       &lt;update&gt;true&lt;/update&gt;
       &lt;url&gt;http:// localhost:8080/manager/text&lt;/url&gt;
       &lt;username&gt;tomcat&lt;/username&gt;
       &lt;password&gt;tomcatuser&lt;/password&gt;
      &lt;/configuration&gt;
     &lt;/plugin&gt;
     &lt;/plugins&gt;
      &lt;finalName&gt;test-rest&lt;/finalName&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>