Maven Artifact Search is always empty

Solved - by reinstalling Intellij Idea

Search for class tab in Maven Artifact Search popup was always empty

Solution in linux:

  1. remove idea folder (for me it was ~/idea-YOUR_VERSION_HERE)
  2. remove ~/.IntelliJIdeaYOUR_VERSION_HERE folder (settings)
  3. download new version form jetbrains.com, unzip, run installer from bin

I used Artifactory to generate a settings.xml for me, and by default it pointed me to the "libs-releases" repository.

Instead want my "releases" repository to point to the much larger virtual repository "remote-repos."

All it took was a simple change to the options of the "Generate Settings" function. Need to change the "Releases" repository to a big one.  We can use "Snapshots to point to our own builds"


Weird. The Artifact Search is working fine for me with IntelliJ Community Edition, at least for artifacts from the central repo that has been indexed:

alt text

And as you can see above, all repositories declared in POMs known by IntelliJ are listed.

There might be something wrong with your Maven settings. This is a wild guess but is your Maven home directory properly defined? Same for the user settings file? Is Maven actually working fine under IntelliJ?


If you have a brand new IntelliJ install and have never updated your Maven Repository, notice that there is a little "Update" button to the right that becomes clickable when you click on each repository.

Preferences > Build, Execution, Deployment > Build Tools > Maven > Repositories

The important one is the https://repo.maven.apache.org/maven2/ remote repository, make sure you update it.