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

dependency:list mismatch with -Dartifact= format

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.10
    • None
    • resolve

    Description

      I believe there is a bug in dependency:list. The output format is:

      <groupId>:<artifactId>:<packaging>:<version>

      Most of the other goals, like get and copy expect the artifact coordinates to be of the form:

      <groupId>:<artifactId>:<version>:<packaging>

      This means you cannot easily write a script to use the output of list to resolve artifacts with get or copy and -Dartifact=...

      I believe this is probably a bug in the output of list, but if anybody is relying on it, it might be better to add a new goal which fixes it by default, and has an option to specify the output format.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            ctubbsii Christopher Tubbs

            Dates

              Created:
              Updated:

              Slack

                Issue deployment