[
http://jira.codehaus.org/browse/MECLIPSE-488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Barrie Treloar closed MECLIPSE-488.
-----------------------------------
Assignee: Barrie Treloar
Resolution: Fixed
Fix Version/s: 2.6
Applied path as well as creating a unit test.
> InstallPluginsMojo throws NPE if a jar has no manifest
> ------------------------------------------------------
>
> Key: MECLIPSE-488
> URL: http://jira.codehaus.org/browse/MECLIPSE-488
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Bug
> Components: PDE support
> Affects Versions: 2.5.1
> Reporter: Baptiste MATHUS
> Assignee: Barrie Treloar
> Fix For: 2.6
>
> Attachments: jarWithoutManifest.patch
>
>
> Some library we're using (namely xdb, from the oracle XDK) doesn't have any
> manifest file.
> This makes InstallPluginsMojo crash because it seems to consider jars always
> have a manifest.
> After checking the Jar File Specification
> (http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html), as the whole META-INF
> is optional, it's legal for a Jar to not have a manifest.
> Cheers.
--
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