Example URLs⚓︎
These URLs represent the search functionality available in the Central Repository. They will function only when requested by a modern, Javascript-enabled web browser. These URLs can be bookmarked and e-mailed. If you wish to call the Central Repository's search functionality programmatically, refer to the REST API Guide.
NOTE: Most of the URLs in this document have been URL-decoded for the sake of readability. They should work when pasted into a web browser, but you may have to URL-encode them to function when called programmatically.
URL | Description |
---|---|
https://search.maven.org/#search|ga|1|guice | Mimics typing "guice" in the basic search box. Returns first page of artifacts with "guice" in the groupId or artifactId and lists details for most recent version released. |
https://search.maven.org/#search|gav|1|g:com.google.inject%20AND%20a:guice | Mimics clicking the link for all versions of groupId "com.google. inject" and artifactId "guice." Returns sorted list of all versions of an artifact. |
https://search.maven.org/#search|ga|1|g:com.google.inject | Search for all artifacts in the groupId "com.google.inject." For each artifact, returns details for the most recent version released. |
https://search.maven.org/#search|ga|1|a:guice | Search for any artifactId named "guice," irrespective of groupId. For each artifact returns details for the most recent version released. |
https://search.maven.org/#artifactdetails|com.google.inject|guice|3.0|jar | Returns artifact details for groupId "com.google.inject," artifactId "guice," version "3.0," with packaging "jar." The packaging is optional, but the trailing "|" is not. |
https://search.maven.org/remotecontent?filepath=com/jolira/guice/3.0.0/guice-3.0.0.pom | Downloads a file at the given path from the Central Repository (https://repo1.maven.org/maven2/ and its mirrors). |
https://search.maven.org/#search|ga|1|g:com.google.inject%20AND%20a:guice%20AND%20v:3.0%20AND%20l:javadoc%20AND%20p:jar | Mimics searching by coordinate in Advanced Search. This search uses all coordinates ("g" for groupId, "a" for artifactId, "v" for version, "p" for packaging, "l" for classifier) |
https://search.maven.org/#search|ga|1|c:junit | Mimics searching by classname in Advanced Search. Returns a list of artifacts, down to the specific version, containing the class. |
https://search.maven.org/#search|ga|1|fc:org.specs.runner.JUnit | Mimics searching by fully-qualified classname in Advanced Search. Returns a list of artifacts, down to the specific version containing the class. |
https://search.maven.org/#search|ga|1|1:35379fb6526fd019f33154 2b4e9ae2e566c57933 | Mimics searching by SHA-1 Checksum in Advanced Search. You will need to calculate the SHA-1 for the file before sending the request to the Central Repository. |
https://search.maven.org/#search|ga|1|tags:sbtplugin | Returns all artifacts in central that are sbtplugins. An sbtplugin is defined as an artifact with a pom including the properties "sbtVersion" and "scalaVersion". |
https://search.maven.org/#search|ga|1|tags:sbtVersion-0.11 | Returns all artifacts in central that use sbt version 0.11 |
https://search.maven.org/#search|ga|1|tags:scalaVersion-2.9 | Returns all artifacts in central that use scala version 2.9 |