title: Guice Dependency Injection Not Working in Maven plugin
body: <p>I am using the <code>sisu-maven-plugin</code> to generate a configuration file for a maven plugin I am writing.  I checked the <code>javax.inject.Named</code> file it creates in the META-INF folder of my maven plugin's jar, and this file has all the classes I have annotated with the <code>@Named</code> and <code>@Singleton</code> (both annotations on each component) listed in it.  Those classes are the only thing listed in the config file.  I then have a single constructor annotated in my mojo with the <code>@Inject</code> annotation.  When I try to use my plugin in a small test app, I get a guice error saying "Could not find suitable constructor".</p>
  
  <p>I tried downloading the example plugin provided at <a href="http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-5382/" rel="nofollow">http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/src/test/resources/mng-5382/</a> but I received the same error.  So my question is this: has anyone successfully gotten guice dependency injection working in a maven plugin?  If so, what did you have to do?</p>
  
  <p>Also, I am using maven 3.0.3.</p>