List all artifacts in a Maven repository
java, maven, maven-indexer
Solution
Pretty much an official answer of "no" is this answer to "list artifacts with Aether?":
No.
These kind of queries for are a job for the Maven Indexer.
from Benjamin Bentmann.
You may find that the Maven Indexer is exactly what you need, however.
Problem
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.