Aether has a function to get all versions of a given artifact, as follows:
org.sonatype.aether.impl.VersionRangeResolver.resolveVersionRange(
RepositorySystemSession session,
VersionRangeRequest request )
Is there a aether function to list all the artifacts in a repository?
Or how to get that list?
Note: I am aware that most Maven repositories offer a human-readable index that you could parse and crawl. This is not a safe solution, just a workaround, and I am not looking for this type of solution.
Pretty much an official answer of "no" is this answer to "list artifacts with Aether?":
from Benjamin Bentmann.
You may find that the Maven Indexer is exactly what you need, however.