bmarwell opened a new issue, #1668:
URL: https://github.com/apache/maven-resolver/issues/1668
### Affected version
4.0.0-rc-4
### Bug description
## Use case
For a specific repository, you do not want to make requests for certain
artifacts identified by groupId, e.g. `invalid.mycompany`.
## Problem description
When creating a RRF for groupIds which are not to be loaded from a specific
repository:
```
!invalid.mycompany
```
Then no artifact will be loaded at all from this repository:
```
[INFO] Loaded 3 group rules for remote repository maven-central
[INFO] [stdout] ?
[INFO] [stdout] ?invalid
[INFO] [stdout] -mycompany
[…]
[ERROR] Extension eu.maveniverse.maven.mimir:extension3:0.10.4 or one of its
dependencies could not be resolved: Plugin
eu.maveniverse.maven.mimir:extension3:0.10.4 or one of its dependencies could
not be resolved:
G:eu.maveniverse.maven.mimir NOT allowed from nexus-central
(https://repo.company.invalid/repository/maven-central/, default, releases)
```
There is no (documented) catch-all either:
https://maven.apache.org/resolver/remote-repository-filtering.html
## Workaround
As a workaround, just define everything as allowed before that:
```
aopalliance
ch
eu
de
dev
com
commons-beanutils
commons-cli
commons-codec
commons-collections
commons-chain
commons-digester
commons-io
commons-jxpath
commons-lang
commons-logging
dom4j
guru
jakarta
javax
info
io
log4j
net
nl
org
oro
xerces
!invalid.mycompany
```
--
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]