maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Fox (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MPH-10) NPE when -Dplugin value can not find specified plugin
Date Thu, 28 May 2015 14:59:18 GMT

     [ https://issues.apache.org/jira/browse/MPH-10?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Fox updated MPH-10:
-------------------------
    Reporter: Barrie Treloar  (was: Barrie Treloar)

> NPE when -Dplugin value can not find specified plugin
> -----------------------------------------------------
>
>                 Key: MPH-10
>                 URL: https://issues.apache.org/jira/browse/MPH-10
>             Project: Maven Help Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Barrie Treloar
>            Assignee: Brett Porter
>             Fix For: 2.0.1
>
>   Original Estimate: 0.25h
>          Time Spent: 0.25h
>  Remaining Estimate: 0h
>
> specifying -Dplugin where help can not find the plugin causes an NPE.
> mvn help:describe -Dfull=true -Dplugin=eclipse
> [INFO] Scanning for projects...
> ...del...
> [INFO] Searching repository for plugin with prefix: 'help'.
> [INFO] ----------------------------------------------------------------------------
> [INFO] Building Mobile Computing Project
> [INFO]    task-segment: [help:describe] (aggregator-style)
> [INFO] ----------------------------------------------------------------------------
> [INFO] [help:describe]
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO] ----------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] null
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at org.apache.maven.plugins.help.DescribeMojo.describePlugin(DescribeMojo.java:404)
>         at org.apache.maven.plugins.help.DescribeMojo.execute(DescribeMojo.java:222)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:485)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:455)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:303)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:216)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] ----------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Wed Jan 25 12:11:03 CST 2006
> [INFO] Final Memory: 2M/5M
> [INFO] ----------------------------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message