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

include not matching for custom types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.1
    • None
    • purge-local-repository
    • None
    • Win 7, 64 Bit, JDK 8u92, MVN 3.5.0, MDEP 3.0.1
    • Important

    Description

      Apparently MDEP's purge-local-repository cannot explicitly include dependencies with custom types, like "de.quipsy:qsstatoleobject-pbd:pbd", because (according to the javadocs of private String gavToPath( String gav )) the goal's private coordiante parser expects g:a:v, while the actual coordinates of this include are g:a:t:v.

      Effectively this render <include> not mathing anything.

      Workaround: Do not use includes, but simply purge ALL dependencies (in this case, the artifact is correctly found, and in debug mode also is correctly reported as "Puring artifact: g:a:t:v".

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkarg Markus Karg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: