You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Cosmin Stejerean (JIRA)" <ji...@apache.org> on 2018/07/16 23:10:00 UTC

[jira] [Commented] (MDEP-568) dependency:go-offline -DexcludeGroupIds=xxxx still try to resolve artifacts in the excluded group xxxx

    [ https://issues.apache.org/jira/browse/MDEP-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16545849#comment-16545849 ] 

Cosmin Stejerean commented on MDEP-568:
---------------------------------------

This issue is causing problems with ability to cache external dependencies in environments such as CircleCI. I have a multi-module project and I'd like to get a copy of all dependencies other than the local projects. Trying to do this with -DexcludeGroupIds fails, because the project has not yet been built. I see that there is an attached patch as as well as a pull request in Github (although the project has been split into a separate repo and now the pull request goes against the wrong repo).

If we can get some feedback on the existing pull request or patch I'm happy to spend some time on improvements so that this can finally be fixed.

> dependency:go-offline -DexcludeGroupIds=xxxx still try to resolve artifacts in the excluded group xxxx
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MDEP-568
>                 URL: https://issues.apache.org/jira/browse/MDEP-568
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: go-offline, resolve
>    Affects Versions: 2.3, 3.0.0
>         Environment: windows / cygwin xp64 bit / bash / maven 3.0.3
>            Reporter: Archimedes Trajano
>            Priority: Major
>         Attachments: MDEP-568-maven-dependency-plugin.patch, go-offline_copy-dependencies_patch_sample.zip, test.tgz
>
>
> see thread: http://mail-archives.apache.org/mod_mbox/maven-users/201109.mbox/%3c0B02C46601D44673A4A2DF4C4F907E9E@black%3e
> in attached sample pom structure:
> mvn org.apache.maven.plugins:maven-dependency-plugin:2.3:go-offline -DexcludeGroupIds=us.pdinc.foo.maven.test
> fails



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)