[
https://issues.apache.org/jira/browse/MPLUGIN-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419472#comment-15419472
]
Hudson commented on MPLUGIN-299:
--------------------------------
FAILURE: Integrated in maven-plugin-tools #264 (See
[https://builds.apache.org/job/maven-plugin-tools/264/])
[MPLUGIN-299] Help mojo cannot display goal details (rfscholte:
[http://svn.apache.org/viewvc/?view=rev&rev=1756221])
* maven-plugin-plugin/src/it/mplugin-299_no-configuration
* maven-plugin-plugin/src/it/mplugin-299_no-configuration/invoker.properties
* maven-plugin-plugin/src/it/mplugin-299_no-configuration/pom.xml
* maven-plugin-plugin/src/it/mplugin-299_no-configuration/src
* maven-plugin-plugin/src/it/mplugin-299_no-configuration/src/main
* maven-plugin-plugin/src/it/mplugin-299_no-configuration/src/main/java
* maven-plugin-plugin/src/it/mplugin-299_no-configuration/src/main/java/test
*
maven-plugin-plugin/src/it/mplugin-299_no-configuration/src/main/java/test/MyMojo.java
* maven-plugin-plugin/src/it/mplugin-299_no-configuration/test.properties
* maven-plugin-tools-generators/src/main/resources/help-class-source.vm
> Help mojo cannot display goal details
> -------------------------------------
>
> Key: MPLUGIN-299
> URL: https://issues.apache.org/jira/browse/MPLUGIN-299
> Project: Maven Plugin Tools
> Issue Type: Bug
> Affects Versions: 3.4
> Reporter: Harald Wellmann
> Assignee: Robert Scholte
> Fix For: 3.5
>
>
> Given a Mojo with {{@Parameter}} annotations *without* any further annotation
> arguments like {{property}} or {{defaultValue}}, when invoking the generated
> help mojo for details
> {noformat}
> mvn myplugin:help -Dgoal=mygoal -Ddetail=true
> {noformat}
> then the Mojo fails with a NullPointerException:
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.ops4j.pax.warp.maven.HelpMojo.findNamedChild(HelpMojo.java:203)
> at
> org.ops4j.pax.warp.maven.HelpMojo.findSingleChild(HelpMojo.java:218)
> at org.ops4j.pax.warp.maven.HelpMojo.writeParameter(HelpMojo.java:276)
> at org.ops4j.pax.warp.maven.HelpMojo.writeGoal(HelpMojo.java:264)
> at org.ops4j.pax.warp.maven.HelpMojo.execute(HelpMojo.java:164)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)