2How to get the current MavenSession or MavenExecutionRequest from a Plexus Component
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3736576/how-to-get-the-current-mavensession-or-mavenexecutionrequest-from-a-plexus-compo">How to get the current MavenSession or MavenExecutionRequest from a Plexus Component</a>  </p>
</blockquote>



<p>created a Plexus component to house common logic for several Mojos I want to create. I have been able to pass information like localRepository and project from the Mojo (and test cases).</p>

<p>I was wondering if there is a way to get the MavenSession or MavenExecutionRequest from within the component without having to pass them as parameters from a Mojo. I know my component will be running from a Maven Mojo.</p>
