title: mvn eclipse:eclipse not working
body: <p>After importing mavenised project from SVN, I can run
  <code>mvn clean</code>
  <code>mvn install</code>
  command successfully. But, getting error while running <code>mvn eclipse:eclispe</code> command to generate .project and .classpath files automatically which are required to make this project as a eclipse specific project.</p>
  
  <p><strong>Error message after runnning mvn eclipse:eclipse</strong></p>
  
  <pre><code>k\Projects\code-base\PNEBatch&gt;mvn eclipse:eclipse
   Scanning for projects...
   Searching repository for plugin with prefix: 'eclipse'.
   ------------------------------------------------------------------------
  ] BUILD ERROR
   ------------------------------------------------------------------------
   The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does not exist
   valid version could be found
   ------------------------------------------------------------------------
   For more information, run Maven with the -e switch
   ------------------------------------------------------------------------
   Total time: &lt; 1 second
   Finished at: Tue May 06 18:16:20 IST 2014
   Final Memory: 4M/121M
  </code></pre>
  
  <p>After this i also tried to including <strong>mvn-eclipse plugin</strong> in project pom.xml file as </p>
  
  <pre><code>&lt;plugin&gt;
  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-eclipse-plugin&lt;/artifactId&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>but still it is not able to locate that plugin.
  I have also tried running command <code>mvn -npr eclipse:eclipse</code> but no luck.</p>
  
  <p>Can somebody suggest me what else should I do or is there any other way we can setup classpath after importing from SVN if <code>mvn eclipse:eclipse</code> is not working? </p>