You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mikko Wuokko (JIRA)" <ji...@codehaus.org> on 2012/11/05 10:34:13 UTC
[jira] (MDEP-323) dependency:go-offline -DexcludeGroupIds=xxxx
still try to resolve artifacts in the excluded group xxxx
[ https://jira.codehaus.org/browse/MDEP-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312871#comment-312871 ]
Mikko Wuokko edited comment on MDEP-323 at 11/5/12 3:33 AM:
------------------------------------------------------------
I created a patch for this and also to support copy-dependencies to also copy plugins. Both "copy-dependencies" and "go-offline" should support inclusion/exlusion and other filtering options.
I included a tiny sample app to test it out. Though, the dependency-plugin version might be wrong in it as I'm not perfectly sure which one 2.6 or 2.7 is now under development.
We had a need for this feature also and decided to explore it myself. Check it out, please.
was (Author: wiibaker):
I created a patch for this and also to support copy-dependencies to also copy plugins. Both "copy-dependencies" and "go-offline" should support inclusion/exlusion and other filtering options.
We had a need for this feature also and decided to explore it myself. Check it out, please.
> dependency:go-offline -DexcludeGroupIds=xxxx still try to resolve artifacts in the excluded group xxxx
> ------------------------------------------------------------------------------------------------------
>
> Key: MDEP-323
> URL: https://jira.codehaus.org/browse/MDEP-323
> Project: Maven 2.x Dependency Plugin
> Issue Type: Bug
> Components: go-offline
> Affects Versions: 2.3
> Environment: windows / cygwin xp64 bit / bash / maven 3.0.3
> Reporter: Jason Pyeron
> Attachments: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira