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

[PATCH] NPE when executing install-plugins and parsed jar has no manifest

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.5.1
    • None
    • PDE support
    • None
    • Windows XP
      Java 1.4.2
    • Patch

    Description

      The attached Patch fixes two Issues:

      1. 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.
      2. 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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            phillme Phillip Merensky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment