Plugins with no mojos lead to exception and failure in PluginsReport
--------------------------------------------------------------------
Key: MPIR-231
URL: https://jira.codehaus.org/browse/MPIR-231
Project: Maven 2.x Project Info Reports Plugin
Issue Type: Bug
Components: plugin-management
Affects Versions: 2.4
Reporter: Benson Margulies
If a plugin has no mojos, because it exists purely to add a lifecycle, a
backtrace and failure reports:
I'm just supplying the tail of it.
Caused by: org.apache.maven.reporting.MavenReportException: Error extracting
plugin descriptor: 'No mojo definitions were found for plugin:
org.eclipse.tycho:tycho-maven-plugin.'
at
org.apache.maven.plugin.plugin.PluginReport.executeReport(PluginReport.java:231)
at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:135)
at
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:228)
... 25 more
Caused by: org.apache.maven.plugin.descriptor.InvalidPluginDescriptorException:
No mojo definitions were found for plugin: org.eclipse.tycho:tycho-maven-plugin.
at
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor(DefaultMojoScanner.java:121)
at
org.apache.maven.plugin.plugin.PluginReport.executeReport(PluginReport.java:219)
... 27 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira