[
http://jira.codehaus.org/browse/MINVOKER-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144887#action_144887
]
Benjamin Bentmann commented on MINVOKER-51:
-------------------------------------------
To run the ITs, you only need to activate the profile "run-its" like this:
{{mvn clean verify -P run-its}}. I will have a closer look later this day, but
thanks so far!
> 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
> 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