title: how to add maven plugin to eclipse
body: <p>I am new to maven. I was trying to add the maven plugin to eclipse(indigo). The problem I am facing is that when I try to add the plugin using 'Help -> Install new software' using URL <a href="http://download.eclipse.org/releases/indigo" rel="nofollow">http://download.eclipse.org/releases/indigo</a> the download process starts and then stops with an error </p>
  
  <pre><code>An error occurred while collecting items to be installed
  session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
  No repository found containing: osgi.bundle,org.eclipse.emf,2.6.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.ant,2.7.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.codegen,2.6.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore,2.7.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ecore.ui,2.7.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.codegen.ui,2.6.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.common,2.7.0.v20120127-1122
  No repository found containing: osgi.bundle,org.eclipse.emf.common.ui,2.7.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.converter,2.5.0.v20120130-0943
  No repository found containing: osgi.bundle,org.eclipse.emf.databinding,1.2.0.v20120130-0943
  ...........
  ...........
  </code></pre>
  
  <p>Also when I try to install the plugin using <a href="http://download.eclipse.org/technology/m2e/releases" rel="nofollow">http://download.eclipse.org/technology/m2e/releases </a> then the installation gets stuck 48% and after a long time it again displays an error message:</p>
  
  <pre><code>An error occurred while collecting items to be installed
  session context was:(profile=epp.package.jee,   phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
  Multiple problems occurred while downloading.
  Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
  Read timed out
  Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins /org.eclipse.m2e.archetype.common_1.0.100.20110804-1717.jar.
  Read timed out
  Multiple problems occurred while downloading.
  Unable to read repository at http://download.eclipse.org/technology/m2e/releases /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
  Read timed out
  Unable to read repository at http://download.eclipse.org/technology/m2e/releases  /1.0/1.0.100.20110804-1717/plugins/org.eclipse.m2e.maven.indexer_1.0.100.20110804-1717.jar.
  Read timed out
  ............
  ............
  </code></pre>
  
  <p>Kindly suggest if there is something wrong with the installation process I am using.</p>
  
  <p>Also suggest if there is some other method to add 'maven plugin for eclipse'. </p>
  
  <p>Thanks</p>