maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip Merensky (JIRA)" <>
Subject [jira] Commented: (MECLIPSE-491) [PATCH] NPE when executing install-plugins and parsed jar has no manifest
Date Thu, 18 Sep 2008 12:48:48 GMT


Phillip Merensky commented on MECLIPSE-491:

This is the concerning NPE:

[DEBUG] Processing Eclipse plugin dependency: javax.transaction:jta:jar:1.0.1B
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
	at org.apache.maven.plugin.eclipse.InstallPluginsMojo.install(
	at org.apache.maven.plugin.eclipse.InstallPluginsMojo.execute(
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
	at org.apache.maven.DefaultMaven.doExecute(
	at org.apache.maven.DefaultMaven.execute(
	at org.apache.maven.cli.MavenCli.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.codehaus.classworlds.Launcher.launchEnhanced(
	at org.codehaus.classworlds.Launcher.launch(
	at org.codehaus.classworlds.Launcher.mainWithExitCode(
	at org.codehaus.classworlds.Launcher.main(
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23 seconds
[INFO] Finished at: Thu Sep 18 12:27:28 CEST 2008
[INFO] Final Memory: 27M/254M
[INFO] -----------------------

> [PATCH] NPE when executing install-plugins and parsed jar has no manifest
> -------------------------------------------------------------------------
>                 Key: MECLIPSE-491
>                 URL:
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: PDE support
>    Affects Versions: 2.5.1
>         Environment: Windows XP
> Java 1.4.2
>            Reporter: Phillip Merensky
>         Attachments: MECLIPSE-491.patch
> The attached Patch fixes two Issues:
> #  NPE when executing install-plugins and parsed jar has no manifest:
>  In this case an info log message will be generated and the respective jar will be skipped.
> # If you build your Eclipse distribution with maven from scratch - that is all your plugins
will be resolved and installed by maven into an assembly directory - it is obstructive to
exit the execution of the install-plugins goal when the plugins folder is missing. Thus I
changed the code to only output an info message and to create the missing plugin dir.
> Hope this helps.
> Regards,
> Phillip

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message