Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-488

InstallPluginsMojo throws NPE if a jar has no manifest

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.6
    • PDE support
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              baerrach Barrie Treloar
              mathus.b@mipih.fr Baptiste MATHUS
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: