Search code examples
intellij-ideamaven

Maven Artifact Search is always empty


When using Alt-Insert to insert a dependency into the POM, the Artifact Search is always completely blank regardless of what I search for.

I tried to add repo1 to Settings->Maven->Repository Services, it says "no repository found." I find that hard to believe.

I've also tried to "update" my local repository but that results in an error.

FYI I'm using Community Edition Snapshot.

Thanks!


Solution

  • 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"