[ 
http://jira.codehaus.org/browse/MINVOKER-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MINVOKER-51.
-------------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 1.3

Fixed in [r685574|http://svn.apache.org/viewvc?view=rev&revision=685574], 
thanks for the patch Peter!

> NPE when packaging is pom
> -------------------------
>
>                 Key: MINVOKER-51
>                 URL: http://jira.codehaus.org/browse/MINVOKER-51
>             Project: Maven 2.x Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>         Environment: Linux x86_64, Java 1.6, Maven 2.0.9
>            Reporter: Peter Janes
>            Assignee: Benjamin Bentmann
>             Fix For: 1.3
>
>         Attachments: invoker.patch
>
>
> The invoker plugin appears to have the same issue as reported in MAPPASM-13 
> when run on a project with packaging = pom:
> INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] null
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>       at 
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:71)
>       at 
> org.apache.maven.plugin.invoker.InstallMojo.installProjectArtifacts(InstallMojo.java:178)
>       at 
> org.apache.maven.plugin.invoker.InstallMojo.execute(InstallMojo.java:119)
>       at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
> [rest of trace snipped]
> I haven't been able to figure out how to include my test case so that it's 
> automatically executed, but it's in the patch file: "mvn install" in 
> src/it/pom-packaging fails before the patch and passes after.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to