You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there isn't. jpm uses a search option provided by Maven Central itself so by definition it's limited to it..
There is another option that I looked into some time ago, which is to use the search feature provided by Maven itself. But it's so limited that for a bunch of tests I did it often failed to return useful information.
For example, by default Maven Central orders results by "popularity", while the Maven search API doesn't, meaning the most useful results might be buried pages deep in the list.
But even worse, the API will often not return expected results. For example searching for "snakeyaml" will return dozens of results, but the official org.yaml:snakeyaml is not among them. Which makes the API useless IMO. But I would happily be proven wrong because I'd love for jpm to be able to search other repositories besides Maven Central.
Of course another option would be to specifically add support for Nexus/Artifactory search APIs. I'm not sure if there are publically available servers to test against.
Activity
quintesse commentedon Mar 3, 2025
Right now there isn't. jpm uses a search option provided by Maven Central itself so by definition it's limited to it..
There is another option that I looked into some time ago, which is to use the search feature provided by Maven itself. But it's so limited that for a bunch of tests I did it often failed to return useful information.
For example, by default Maven Central orders results by "popularity", while the Maven search API doesn't, meaning the most useful results might be buried pages deep in the list.
But even worse, the API will often not return expected results. For example searching for "snakeyaml" will return dozens of results, but the official org.yaml:snakeyaml is not among them. Which makes the API useless IMO. But I would happily be proven wrong because I'd love for jpm to be able to search other repositories besides Maven Central.
quintesse commentedon Mar 3, 2025
Of course another option would be to specifically add support for Nexus/Artifactory search APIs. I'm not sure if there are publically available servers to test against.
chabala commentedon Mar 3, 2025
That is sort of what I expected. Troubling to hear about unexpected results from the API.
I assume you're open to reviewing PRs adding support for Nexus/Artifactory search APIs, if they should materialize?
quintesse commentedon Mar 4, 2025
Absolutely! :-)