maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maarten Mulders (Jira)" <j...@apache.org>
Subject [jira] [Updated] (MDEP-725) excludeGroupIds, excludeArtifactIds not working for go-offline goal
Date Fri, 16 Oct 2020 18:47:00 GMT

     [ https://issues.apache.org/jira/browse/MDEP-725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maarten Mulders updated MDEP-725:
---------------------------------
    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]

 

  was:
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]

 


> excludeGroupIds, excludeArtifactIds not working for go-offline goal
> -------------------------------------------------------------------
>
>                 Key: MDEP-725
>                 URL: https://issues.apache.org/jira/browse/MDEP-725
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline
>    Affects Versions: 3.1.1
>            Reporter: Mahmoud Anouti
>            Priority: Major
>
> 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]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message