sbernard31 opened a new issue, #1703: URL: https://github.com/apache/maven-resolver/issues/1703
### Affected version 1.9.24, 2.0.9 ### Bug description Reading the [documentation](https://maven.apache.org/resolver/remote-repository-filtering.html) : > modifier (must be first, or second if negation modifier present) = is limiter (equals; **by default entry is “and below this G”**) And > Line 3 means **“allow org.apache.maven G and below”**. Line 4 is “disallow org.apache.maven.foo” only" (so org.apache.maven.foo.bar is allowed due first line). Line 5 means “disallow org.apache.maven.indexer and below” and finally line 6 means **“allow org.apache.bar ONLY”** (so org.apache.bar.foo is NOT enabled). So I expected that if I add `org.apache` in my groupId filtering file, then `org.apache.maven` will be accepted. But when I test with maven3 3.9.11 (resolver 1.9.24) I get : ``` [ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.13.0 or one of its dependencies could not be resolved: [ERROR] The following artifacts could not be resolved: org.apache.maven:maven-parent:pom:41 (present, but unavailable): G:org.apache.maven NOT allowed from central (https://repo.maven.apache.org/maven2, default, releases) ``` And with maven4 4.0.0-rc-4 (resolver 2.0.9), I get pretty much the same: ``` [ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.13.0 or one of its dependencies could not be resolved: [ERROR] The following artifacts could not be resolved: org.apache.maven:maven-parent:pom:41 (present, but unavailable): G:org.apache.maven NOT allowed from central (https://repo.maven.apache.org/maven2, default, releases) (remote repositories: central (https://repo.maven.apache.org/maven2, default, releases), plexus.snapshots (https://oss.sonatype.org/content/repositories/plexus-snapshots, default, snapshots)): Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.13.0: One or more requests failed ``` Is it a bug OR did I miss something ? 🙏 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
