maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baptiste MATHUS (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MECLIPSE-488) InstallPluginsMojo throws NPE if a jar has no manifest
Date Sun, 14 Sep 2008 18:30:48 GMT
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


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

        

Mime
View raw message