Java – lists all artifacts in the Maven repository
•
Java
Aether has a function to get all versions of a given artifact, as shown below:
org.sonatype.aether.impl.VersionRangeResolver.resolveVersionRange( RepositorySystemSession session,VersionRangeRequest request )
Is there an Ethernet function to list all artifacts in the repository?
Or how do I get the list?
PS: I know that most Maven repositories provide a human readable index that you can parse and crawl This is not a safe solution, just a solution. I'm not looking for this type of solution
Solution
The official answer to almost "no" is this answer "list cultural relics with aether?":
From Benjamin bentmann
You may find that Maven indexer is exactly what you need
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码