title: Maven tomcat plugin dependency error
body: <p>I've a fully working project that use version 1.1 of tomcat maven plugin. I tried to switch to the last maven tomcat plugin version, specifying in the <code>pom.xml</code>:</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;configuration&gt;
                  &lt;contextFile&gt;src/main/webapp/META-INF/context.xml&lt;/contextFile&gt;
              &lt;/configuration&gt;
              &lt;dependencies&gt;      
                  &lt;dependency&gt;
                      &lt;groupId&gt;mysql&lt;/groupId&gt;
                      &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
                      &lt;version&gt;5.1.9&lt;/version&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/plugin&gt;   
  </code></pre>
  
  <p>However launching the project with <code>tomcat7:run</code> instead of <code>tomcat:run</code> i get the following error:</p>
  
  <pre><code>[INFO]                                                                         
  [INFO] ------------------------------------------------------------------------
  [INFO] Building group-organizer-server 1.0.0-BUILD-SNAPSHOT
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] &gt;&gt;&gt; tomcat7-maven-plugin:2.0:run (default-cli) @ group-organizer-server &gt;&gt;&gt;
  [INFO] 
  [INFO] --- aspectj-maven-plugin:1.2:compile (default) @ group-organizer-server ---
  [INFO] 
  [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ group-organizer-server ---
  [debug] execute contextualize
  [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent!
  [INFO] Copying 1 resource 
  [INFO] 
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ group-organizer-server ---
  [INFO] Nothing to compile - all classes are up to date
  [INFO] 
  [INFO] &lt;&lt;&lt; tomcat7-maven-plugin:2.0:run (default-cli) @ group-organizer-server &lt;&lt;&lt;
  [INFO] 
  [INFO] --- tomcat7-maven-plugin:2.0:run (default-cli) @ group-organizer-server ---
  Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/10/maven-parent-10.pom
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 1:03.805s
  [INFO] Finished at: Mon Nov 05 18:18:32 CET 2012
  [INFO] Final Memory: 7M/81M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.0:run (default-cli) on project group-organizer-server: Execution default-cli of goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.0:run failed: Plugin org.apache.tomcat.maven:tomcat7-maven-plugin:2.0 or one of its dependencies could not be resolved: Failed to collect dependencies for org.apache.tomcat.maven:tomcat7-maven-plugin:jar:2.0 (): Failed to read artifact descriptor for org.apache.maven.doxia:doxia-sink-api:jar:1.0: Could not transfer artifact org.apache.maven:maven-parent:pom:10 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000 -&gt; [Help 1]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1]     http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
  </code></pre>
  
  <p>How can i fix this?</p>