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

excludeGroupIds, excludeArtifactIds not working for go-offline goal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.1
    • None
    • go-offline
    • None

    Description

      When applying -DexcludeGroupIds or -DexcludeArtifactIds to exclude project dependencies from resolution, they still get resolved and downloaded by go-offline:
       

      mvn dependency:go-offline -DexcludeArtifactIds=example-core
      ...
      [INFO] — maven-dependency-plugin:3.1.1:go-offline (default-cli) @ rest-example —
       ...
      [INFO] Resolved: example-core-1.0.jar
      

      Also reported in https://stackoverflow.com/questions/51113813/mvn-dependencygo-offline-how-do-you-set-params-on-the-command-line-or-at-all

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              manouti Mahmoud Anouti
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: