title: eclipse: plugin to call Maven - Update Project
body: <p>I'm trying to write a plugin to call the command that is executed when you Right click on a Maven Project and select "Maven" > "Update Project".</p>
  
  <p>(This is part of a bigger plugin)</p>
  
  <p>I can get command Service and from that I understand I can call ...</p>
  
  <pre><code>commandService.getCommand("org.eclipse.m2e.core.ui.command.updateProject")
  </code></pre>
  
  <p>To get the command, but how do I control what project it is executed on?</p>
  
  <p>Can someone point me in the right direction please.</p>
  
  <p>Thanks
  Jeff Porter</p>