Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-40

Incomplete jar indexes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1
    • None
    • None
    • maven-archiver up to version 2.0.6; plexus-archiver up to version 1.0-alpha-6

    Description

      When creating a jar with an index, and a 'Class-Path' in the manifest, the index should include a list of all the classes in the other jars too - see http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#JAR%20Index.

      The attachment contains a testcase which demonstrates a ClassCastException in the plexus-archiver; a fix to that, and a fix to the maven-archiver to make it actually use the fixed code.

      Attachments

        Issue Links

        Activity

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

          People

            jdcasey John Dennis Casey
            richvdh Richard van der Hoff
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment