Maven Artifact Search Tips

You can use the following query syntax when searching for artifacts in a Maven repository:

sampleMatch all artifacts containing sample
samp*Match all artifacts with the prefix samp. For example., sample, samples and samplewebapp.
*sample

Match all artifacts with the suffix sample. For example, sample and websample. (On large Maven repositories, this may take a long time.)

s?mpleMatches sample and simple

sample webapp

sample OR webapp

Match all artifacts containing sample or webapp

+sample +webapp

sample AND webapp

Match all artifacts containing sample and webapp

+sample -webapp

sample NOT webapp

Match all artifacts containing sample but not webapp
(sample OR example) AND webappMatch all artifacts containing webapp and either sample or example
"sample-webapp"Match all artifacts containing exactly sample-webapp
type:warMatch all artifacts whose type is war
artifactId:sampleMatch all artifacts whose artifactId matches sample
artifactId:"sample-webapp"Match all artifacts whose artifactId is exactly sample-webapp
groupId:com.example.*Match all artifacts whose groupId starts with com.example.
version:2.0Match all artifacts whose version field matches 2.0