Seems to work fine for me:
mvn help:describe -Dplugin=org.apache.geronimo.plugins:geronimo-
deployment-plugin:1.2-SNAPSHOT
<snip>
[INFO] [help:describe]
[INFO] snapshot org.apache.geronimo.plugins:geronimo-deployment-
plugin:1.2-SNAPSHOT: checking for updates from apache-snapshots
[INFO] snapshot org.apache.geronimo.plugins:geronimo-deployment-
plugin:1.2-SNAPSHOT: checking for updates from codehaus-snapshots
[INFO] Plugin: 'org.apache.geronimo.plugins:geronimo-deployment-
plugin:1.2-SNAPSHOT'
-----------------------------------------------
Group Id: org.apache.geronimo.plugins
Artifact Id: geronimo-deployment-plugin
Version: 1.2-SNAPSHOT
Goal Prefix: deploy
Description:
Apache Geronimo, the J2EE server project of the Apache Software
Foundation.
</snip>
--jason
On Aug 28, 2006, at 12:44 PM, Prasad Kashyap wrote:
> If the mojo extends directly from the AbstractMojo.. it works.
>
> It fails when it extends from MojoSupport in genesis:plugin-
> support :-(
>
> Cheers
> Prasad
>
> On 8/28/06, Prasad Kashyap <goyathlay.geronimo@gmail.com> wrote:
>> I am suspecting an error with our geronimo-deployment-plugin.
>>
>> Invoking any of the goals directly from the throws an NPE.
>> java.lang.NullPointerException
>> at
>> org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo
>> (PluginDescriptor.java:259)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
>> (DefaultLifecycleExecutor.java:1524)
>>
>>
>> Invoking the help:describe on the goals throws the same NPE.
>>
>> Reusing the same goal(mojo) in another plugin works.
>>
>> I am going to go thro 1252 lines of it's effective pom. Meanwhile if
>> someone can spot something out of the ordinary, please holler.
>>
>> Thanx
>> Prasad
>>
>>
>>
|