title: Maven tomcat7-maven-plugin not found error
body: <p>I am new to working with Maven. Searched alot but no success. Tried my best. Someone explain to me what to do to fix this issue. Any of your current pom with struts2 and tomcat 7 will be very helpful.</p>
  
  <p>I am using maven3</p>
  
  <p><strong>ERROR</strong></p>
  
  <p><em>Plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-SNAPSHOT' not found</em></p>
  
  <p>I see this plugin is available at <a href="http://people.apache.org/repo/m2-snapshot-repository/org/apache/tomcat/">http://people.apache.org/repo/m2-snapshot-repository/org/apache/tomcat/</a> . Got link from here <a href="http://tomcat.apache.org/tomcat-7.0-doc/maven-jars.html#Using_Tomcat_libraries_With_Maven">http://tomcat.apache.org/tomcat-7.0-doc/maven-jars.html#Using_Tomcat_libraries_With_Maven</a></p>
  
  <p><strong>My pom.xml</strong></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;Struts2_Maven_Web&lt;/groupId&gt;
      &lt;artifactId&gt;Struts2_Maven_Web&lt;/artifactId&gt;
      &lt;packaging&gt;war&lt;/packaging&gt;
      &lt;version&gt;1.0&lt;/version&gt;
      &lt;name&gt;Struts2_Maven_Web Maven Webapp&lt;/name&gt;
      &lt;url&gt;http://maven.apache.org&lt;/url&gt;
      &lt;dependencies&gt;
  
          &lt;dependency&gt;
              &lt;groupId&gt;org.apache.struts&lt;/groupId&gt;
              &lt;artifactId&gt;struts2-core&lt;/artifactId&gt;
              &lt;version&gt;2.3.4.1&lt;/version&gt;
          &lt;/dependency&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;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;apache.snapshots&lt;/id&gt;
              &lt;url&gt;http://repository.apache.org/content/groups/snapshots-group/&lt;/url&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
  
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;apache.snapshots&lt;/id&gt;
              &lt;name&gt;Apache Snapshots&lt;/name&gt;
              &lt;url&gt;http://repository.apache.org/content/groups/snapshots-group/&lt;/url&gt;
              &lt;releases&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/releases&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;true&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
  
  
      &lt;build&gt;
          &lt;finalName&gt;Struts2_Maven_Web&lt;/finalName&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.0-SNAPSHOT&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;path&gt;/&lt;/path&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
  
  
      &lt;/build&gt;
  
  
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>EDITED*<em>*</em>**<em>*</em>*</strong></p>
  
  <p>I just found version 2.0 and its resolved fine.</p>
  
  <p><em>Should I use this. Difference between 2.0 and 2.0-SNAPSHOT. Anyone? .</em> </p>
  
  <pre><code> &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.0&lt;/version&gt;
          &lt;/plugin&gt;
  </code></pre>