You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2023/02/08 13:27:00 UTC

[jira] [Commented] (MDEP-844) Go Offline doesn't honor exclusions.

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

Michael Osipov commented on MDEP-844:
-------------------------------------

Interesting...but does it hurt?

> Go Offline doesn't honor exclusions.
> ------------------------------------
>
>                 Key: MDEP-844
>                 URL: https://issues.apache.org/jira/browse/MDEP-844
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 3.5.0
>         Environment: Linux and Mac
>            Reporter: John Patrick
>            Priority: Major
>
> Using the example below;
>  
> {code:java}
> <dependencyMangement>
>   <dependencies>
>     <dependency>
>       <groupId>org.apache.commons</groupId>
>       <artifactId>commons-configuration2</artifactId>
>       <version>2.8.0</version>
>       <exclusions>
>         <exclusion>
>           <groupId>org.apache.commons</groupId>
>           <artifactId>commons-vfs2</artifactId>
>         </exclusion>
>       </exclusions>
>     </dependency>
>   </dependencies>
> </dependencyMangement>{code}
>  
> When executing `./mvnw org.apache.maven.plugins:maven-dependency-plugin:3.5.0:go-offline -Dmaven.repo.local=new-dir`.
> I wouldn't expect `commons-vfs2` to be attempted to be downloads or appear in `new-dir`.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)