Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-166

ManifestCreationFinalizerTest fails on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.2-beta-1
    • None
    • None
    • Windows XP

    Description

      Opening a file inside a Jar locks the file on Windows and therefore can not be deleted as part of the tearDown().

      Patched test to workaround the issue.

      // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4823678
      ((JarURLConnection)resource.openConnection()).getJarFile().close();

      Attachments

        1. MASSEMBLY-166-patch.txt
          1 kB
          Barrie Treloar

        Activity

          People

            brett Brett Porter
            baerrach Barrie Treloar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: