Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-300

Unpacking artifacts should be based on type, with fallback on file-extension

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.6
    • Component/s: unpack, unpack-dependencies
    • Labels:
      None
    • Flags:
      Patch

      Description

      I've defined a custom lifecycle with a new packaging type "custom-ear". This type is generated by calling some external tool, which generates a (non java) ear-file. During the pre-integration-test I need to unpack it. Since dependency:unpack and dependecy:unpack-dependencies is based on the extension I'm not able to specify my own unArchiver.
      Attached a patch which should fix this problem.

        Attachments

        1. typebased-unpack.patch
          7 kB
          Robert Scholte

          Activity

            People

            • Assignee:
              rfscholte Robert Scholte
              Reporter:
              rfscholte Robert Scholte
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: