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

Dependency plugin seems to unpack archive even, if it is already unpacked

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • unpack
    • None

    Description

      The plugin used to be smart about not unpacking archives if it found the archive was already unpacked (maybe I was doing something different than..not sure). However, now it unpacks the archive every time, no matter what I try to keep it from doing it, including using overwriteIfNewer.

      I would like to be able to run the build once to extract the archive, then not have it extracted again, unless I clean the target directory because the archive takes several minutes to unpack.

      Here are the steps.

      1) configure unpack in pom
      2) run mvn clean install --> expect unpacking
      3) run mvn install --> do not expect unpacking as it is still unpaced from step (2)

      Attachments

        1. MDEP-225.patch
          4 kB
          Ruediger Dreier
        2. MDEP-225.patch
          0.7 kB
          Ruediger Dreier
        3. MDEP-225-plh.patch
          2 kB
          Phillip Hellewell
        4. MDEP-225-plh2.patch
          3 kB
          Phillip Hellewell

        Activity

          People

            brianf Brian E Fox
            jchaffee Jason Chaffee
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: