New mojo: check-artifacts-availability by cstamas · Pull Request #131 · maveniverse/njord (original) (raw)

This is a "batched request" (that does HEADs only!), and very same mechanism like for resolving, it happens on multiple threads (see https://maven.apache.org/resolver/configuration.html aether.connector.basic.* properties).

What happens here, is that we send a batch, that connector checks (on multiple threads), and then the "set" of artifacts is shrinking, as those found to exist are removed. And so on...

So like in this gist, mojo will once check for all, then next check is only with missing, ideally the number of checks is dropping as more and more is published.