You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wang Haiqi (Jira)" <ji...@apache.org> on 2020/07/03 01:15:00 UTC

[jira] [Updated] (MNG-6953) dependencyManagement scan dependency jar repository config

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

Wang Haiqi updated MNG-6953:
----------------------------
    Description: 
!image-2020-07-02-11-41-58-230.png!

 

dependencyManagement When there is a version configuration with scope in the dependency jar package, why is the repository repository configuration in the dependency package used in the package?

How to disable?

 

!image-2020-07-02-11-46-14-728.png!

!image-2020-07-02-11-46-47-443.png!

 

 

这个描述很清晰了吧,当dependencyManagement标签里面使用的依赖包,使用了<version>[2.9,)</version>这种版本配置时。在package时,会扫描依赖包里面的<repository>。为什么是这样的?而不是使用当前pom.xml里面的<repository>

  was:
!image-2020-07-02-11-41-58-230.png!

 

dependencyManagement When there is a version configuration with scope in the dependency jar package, why is the repository repository configuration in the dependency package used in the package?

How to disable?

 

!image-2020-07-02-11-46-14-728.png!

!image-2020-07-02-11-46-47-443.png!


> dependencyManagement scan dependency jar repository config
> ----------------------------------------------------------
>
>                 Key: MNG-6953
>                 URL: https://issues.apache.org/jira/browse/MNG-6953
>             Project: Maven
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>            Reporter: Wang Haiqi
>            Priority: Major
>         Attachments: image-2020-07-02-11-41-58-230.png, image-2020-07-02-11-46-14-728.png, image-2020-07-02-11-46-47-443.png
>
>
> !image-2020-07-02-11-41-58-230.png!
>  
> dependencyManagement When there is a version configuration with scope in the dependency jar package, why is the repository repository configuration in the dependency package used in the package?
> How to disable?
>  
> !image-2020-07-02-11-46-14-728.png!
> !image-2020-07-02-11-46-47-443.png!
>  
>  
> 这个描述很清晰了吧,当dependencyManagement标签里面使用的依赖包,使用了<version>[2.9,)</version>这种版本配置时。在package时,会扫描依赖包里面的<repository>。为什么是这样的?而不是使用当前pom.xml里面的<repository>



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