You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Peter Janes (JIRA)" <ji...@codehaus.org> on 2008/08/13 01:57:26 UTC
[jira] Created: (MINVOKER-51) NPE when packaging is pom
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
[jira] Closed: (MINVOKER-51) NPE when packaging is pom
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Commented: (MINVOKER-51) NPE when packaging is pom
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ 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