You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/12/19 12:38:00 UTC
[jira] [Commented] (MNG-7980) Add ability to ignore transitive dependency repositories
[ https://issues.apache.org/jira/browse/MNG-7980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17798566#comment-17798566 ]
ASF GitHub Bot commented on MNG-7980:
-------------------------------------
cstamas opened a new pull request, #1354:
URL: https://github.com/apache/maven/pull/1354
If set, Maven will ignore all remote repositories introduced by transitive dependencies POM.
---
https://issues.apache.org/jira/browse/MNG-7980
> Add ability to ignore transitive dependency repositories
> --------------------------------------------------------
>
> Key: MNG-7980
> URL: https://issues.apache.org/jira/browse/MNG-7980
> Project: Maven
> Issue Type: Improvement
> Components: Core
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 4.0.0, 4.0.0-alpha-11
>
>
> In certain cases it is valid to ignore repositories introduced by transitive dependencies. They are usually needed, but in certain cases (ie. air gapped environment) they are just causing problems. Even if environment, or the POM itself defines all the repositories needed for the build (so the "superset" of remote repositories that have all the artifacts the build even needs), this requires tuning in case of dependency changes, as new and new repositories may be introduced as dependencies change.
> Ideally, Maven could be instructed to globally ignore any repository introduced by dependency, as POM itself has it call (in controlled fashion) to fulfil all the artifacts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)