title: Spring and Maven plugin installation issue; mvn; spring
body: <p>i've a maven based project and i'm trying to import it to Spring source tool suite. I am getting the following error.</p>
  
  <pre><code>Description Resource    Path    Location    Type
  Could not calculate build plan: Missing:
  ----------
  1) org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.2
  
    Try downloading the file manually from the project website.
  
    Then, install it using the command: 
        mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.2 -Dpackaging=maven-plugin -Dfile=/path/to/file
  
    Alternatively, if you host your own repository you can deploy the file there: 
        mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-resources-plugin -Dversion=2.4.2 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  
  ----------
  1 required artifact is missing.
  
  for artifact: 
    org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.4.2
  
  from the specified remote repositories:
    central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
      Gamex       Unknown Maven Problem
  </code></pre>
  
  <p>It looks like it's asking me to install the maven resourource plugin 2.4.2 but I'm not sure what is the file to download. I tried downloading maven-plugin-plugin-2.4.2-source.jar and feeding it to the command; but it didn't work.
  I then went to the maven repository in <a href="http://svn.apache.org/viewvc/maven/plugins/tags/maven-resources-plugin-2.4.2/" rel="nofollow">http://svn.apache.org/viewvc/maven/plugins/tags/maven-resources-plugin-2.4.2/</a> and downloaded the pof.xml; this also is not working.
  If you have seen this problem before pls help me understand what is missing / or what the error message is.</p>
  
  <p>Thanks,</p>