Hi Maven users,

Does anybody know how to query class names in Maven Central Index
(nexus-maven-repository-index.gz) [1] to get Maven artifacts that
contain the class?

I'm exploring ways to find Maven artifacts by a class name. For
example, I want to find which versions of Guava had class
"com.google.common.util.concurrent.MoreExecutors" with
"sameThreadExecutor" method. More background is in my GitHub issue
[2].

I found Central Index page [1] explaining
nexus-maven-repository-index.gz and use of "luke".
The Maven Indexer's documentation [3] says I should be able to find
"classnames" field, but I could not find the field when I opened it in
luke [4]. Even if helps looking up class name, it might not provide
method information. Does anybody know how to use the index?

[1]: https://maven.apache.org/repository/central-index.html
[2]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/1095
[3]: 
https://maven.apache.org/maven-indexer-archives/maven-indexer-LATEST/indexer-core/
[4]: 
https://user-images.githubusercontent.com/28604/73096813-b67dfe80-3eb3-11ea-82e4-dec1f9ca7519.png

-- 
Regards,
Tomo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to