[ https://issues.apache.org/jira/browse/MNG-6613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MNG-6613: -------------------------------- Comment: was deleted (was: I have looked into again and I still think that this is a bug in Maven. This is what I get: No mirror: {noformat} [DEBUG] Repositories (dependencies): [central (file:target/null, default, releases), maven-core-it (file:///D:/Entwicklung/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-3461/test-3/repo, default, releases)] [DEBUG] Repositories (plugins) : [central (file:target/null, default, releases+snapshots)] {noformat} With mirror, named central: {noformat} [DEBUG] Repositories (dependencies): [central (http://maven.apache.org/null, default, releases), maven-core-it (file:///D:/Entwicklung/Projekte/maven-integration-testing/core-it-suite/target/test-classes/mng-3461/test-3/repo, default, releases)] [DEBUG] Repositories (plugins) : [central (http://maven.apache.org/null, default, releases+snapshots)] {noformat} With mirror, named centraaal: {noformat} [DEBUG] Using mirror centraaal (http://maven.apache.org/null) for central (file:target/null). ... [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.apache.org/null [INFO] Downloading from centraaal: http://maven.apache.org/null/org/apache/maven/its/plugins/maven-it-plugin-dependency-resolution/2.1-SNAPSHOT/maven-metadata.xml [DEBUG] Could not find metadata org.apache.maven.its.plugins:maven-it-plugin-dependency-resolution:2.1-SNAPSHOT/maven-metadata.xml in centraaal (http://maven.apache.org/null) [DEBUG] Failure to find org.apache.maven.its.plugins:maven-it-plugin-dependency-resolution:2.1-SNAPSHOT/maven-metadata.xml in http://maven.apache.org/null was cached in the local repository, resolution will not be reattempted until the update interval of centraaal has elapsed or updates are forced [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.apache.org/null [INFO] Downloading from centraaal: http://maven.apache.org/null/org/apache/maven/its/plugins/maven-it-plugins/2.1-SNAPSHOT/maven-metadata.xml [DEBUG] Could not find metadata org.apache.maven.its.plugins:maven-it-plugins:2.1-SNAPSHOT/maven-metadata.xml in centraaal (http://maven.apache.org/null) [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.apache.org/null [INFO] Downloading from centraaal: http://maven.apache.org/null/org/apache/maven/its/core-it-support/2.1-SNAPSHOT/maven-metadata.xml [DEBUG] Could not find metadata org.apache.maven.its:core-it-support:2.1-SNAPSHOT/maven-metadata.xml in centraaal (http://maven.apache.org/null) [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.apache.org/null [INFO] Downloading from centraaal: http://maven.apache.org/null/org/apache/maven/its/core-its/2.1-SNAPSHOT/maven-metadata.xml [DEBUG] Could not find metadata org.apache.maven.its:core-its:2.1-SNAPSHOT/maven-metadata.xml in centraaal (http://maven.apache.org/null) [DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.apache.org/null [INFO] Downloading from centraaal: http://maven.apache.org/null/org/apache/maven/maven-parent/33/maven-parent-33.pom {noformat} Why don't I see {{centraal}} in the repo listing? why is there no repo listing at all? I will debug.) > Mirror matching ignores closest/nearest definition > -------------------------------------------------- > > Key: MNG-6613 > URL: https://issues.apache.org/jira/browse/MNG-6613 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 3.5.4, 3.6.1 > Environment: Java 8u202, Java11u2 > Reporter: Michael Osipov > Assignee: Michael Osipov > Priority: Critical > Attachments: log.txt > > Time Spent: 10m > Remaining Estimate: 0h > > Ran our IT suite in a locked down environment at work, w/o direct internet > access. IT {{mng3461MirrorMatching(itNonGreedyWildcard)}} blocks forever > because the mirror exclude does not work: {{*,!maven-core-it}}. > It still tries to download via mirror instead of ignoring it. See attached > log file. Even switching {{!maven-core-it,*}} makes no difference. -- This message was sent by Atlassian Jira (v8.3.4#803005)