maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <>
Subject [jira] (MPLUGIN-240) PluginManager cannot locate @goal in Abstract Class in modello-maven-plugin
Date Sat, 02 Feb 2013 00:48:13 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message