maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MDEP-568) dependency:go-offline -DexcludeGroupIds=xxxx still try to resolve artifacts in the excluded group xxxx
Date Sat, 24 Nov 2018 19:14:00 GMT

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

ASF GitHub Bot commented on MDEP-568:
-------------------------------------

cosmin commented on issue #2: MDEP-568 respect excludeGroupIds in go-offline
URL: https://github.com/apache/maven-dependency-plugin/pull/2#issuecomment-441389417
 
 
   It worked for me and I ended up having to publish a patched a version under `con.offbytwo`
so I can use it in my builds. For me the use case is to exclude inter-module dependencies
in a multi-module project (since the module artifacts can’t be downloaded from anywhere
else but rather need to be built). My specific reason for wanting to do this is to cache all
dependies needed to build a project (keyed by pom hashes) and use that cache to speed up future
builds. This is the recommended workflow in CircleCI for example, but any other container
based builds would want a similar workflow. 
   
   I believe there was some discussion about this on the Jira ticket as well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)

Mime
View raw message