[ https://jira.codehaus.org/browse/MPLUGIN-240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318523#comment-318523 ]
Stuart McCulloch commented on MPLUGIN-240: ------------------------------------------ Also looking at that stacktrace it's actually failing to find the component with role=ModelloGenerator and hint=java (this lookup is made from inside modello code), which has nothing to do with the Maven plugin manager and AbstractMojo. It's just that modello uses the term 'plugin' in its error message which confuses the matter, while it's really just doing a simple Plexus lookup of a component. Now I can't say for sure why the lookup fails until I get that zip of your project tree, but looking at your pom.xml I see you've added the modello plugin as a dependency to various other Maven plugins (such as compiler and surefire). This doesn't seem right and could be messing up the classloader space causing the lookup failure (because they'll likely end up with a local copy of those classes rather than importing them). Try removing all those dependencies you've added directly to the compiler and surefire plugin configurations and see if that helps. > PluginManager cannot locate @goal in Abstract Class in modello-maven-plugin > --------------------------------------------------------------------------- > > Key: MPLUGIN-240 > URL: https://jira.codehaus.org/browse/MPLUGIN-240 > Project: Maven 2.x Plugin Tools > Issue Type: Bug > Components: Metadata Model > Environment: maven 3.0.2 modello-maven-plugin-1.5 > Reporter: Martin Gainty > Attachments: DumpScreenshot.jpg, plugin.xml, pom.xml > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira