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

Print GAV information in console output during dependency:resolve-plugins execution

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.1
    • Component/s: resolve-plugins
    • Labels:

      Description

      There doesn't appear to be a simple way to report full GAV information for all plugins in a given project. ResolvePluginsMojo has all the information at hand, but only elects to print name and version number to the console.

      Would anyone be interested in a patch to update this? I'd be happy to submit one if so (not sure how much out there depends on the output format currently in ResolvePluginsMojo).

      1. MDEP-500.patch
        2 kB
        Andrew Wright

        Issue Links

          Activity

          Hide
          atwapache Andrew Wright added a comment -

          Initial suggested patch

          Show
          atwapache Andrew Wright added a comment - Initial suggested patch
          Hide
          atwapache Andrew Wright added a comment -

          Snippet of sample output from mvn dependency:resolve-plugins with patch applied:

          [INFO] Plugin Resolved: org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.8.2:runtime
          [INFO]     Plugin Dependency Resolved: org.apache.maven:maven-plugin-api:jar:2.2.1:test
          [INFO]     Plugin Dependency Resolved: org.apache.maven:maven-project:jar:2.2.1:test
          
          Show
          atwapache Andrew Wright added a comment - Snippet of sample output from mvn dependency:resolve-plugins with patch applied: [INFO] Plugin Resolved: org.apache.maven.plugins:maven-deploy-plugin:maven-plugin:2.8.2:runtime [INFO] Plugin Dependency Resolved: org.apache.maven:maven-plugin-api:jar:2.2.1:test [INFO] Plugin Dependency Resolved: org.apache.maven:maven-project:jar:2.2.1:test
          Hide
          michael-o Michael Osipov added a comment -

          Fixed with r1791633.

          Show
          michael-o Michael Osipov added a comment - Fixed with r1791633 .
          Hide
          atwapache Andrew Wright added a comment -

          That's great, thanks Michael Osipov

          Show
          atwapache Andrew Wright added a comment - That's great, thanks Michael Osipov

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              atwapache Andrew Wright
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development