Heimdall (Heimdallr)
Categories:
Heimdall is Maven Remote Repository Filtering (RRF) feature enhanced, or “on steroids”!
Maveniverse Heimdall hooks into Resolver and makes possible filtering the remote repositories.
Sources: https://github.com/maveniverse/heimdall
The main differences from “vanilla” RRF are:
- Prefix files does not have to be checked in with sources, is automatically discovered, fetched and cached for you
- Group files got huge enhancements, and are much more expressive and powerful.
Just by loading the extension, prefix filter will auto-activate itself and get prefix files for you. This immediately means that remote repositories that offer prefix files (like Central, ASF forge, etc) will not be asked by your build to deliver files they don’t have, this is “win-win” for both parties: your build is faster (no need to wait for HTTP 404s) and target repo is relieved of sending 404s for stuff not there.
If you configure group filter as well, you can target which Maven Artifact groupIDs are allowed (or not) to come from given remote repository, making your build even faster by making Maven knowledgeable where to get stuff from.
The IT included is based on “oldie” RRF demo, but Heimdall will of course happily work with “vanilla” RRF as well.
Note: using Resolver filters (they need to be explicitly enabled) along with Heimdall is not recommended nor tested.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.