Maven search fails for a project in the Central repository.

Answered

Hi,

I'm using IntelliJ's Maven plugin to import a particular library, jPlag (https://mvnrepository.com/artifact/de.jplag).  No keyword that I can think of can find it (de.jplag, jplag, etc.) Usually, the searches work fine with other library imports (slf4j, the Princeton StdLib, etc.).

I've verified that "https://repo1.maven.org/maven2" is listed as a Jar Repository in the "Remote Jar Repositories" section of Settings.  I've also verified that the project exists in the Central repository (https://repo1.maven.org/maven2/de/jplag/jplag/4.2.0/).

Does anyone have an idea of what I might be doing wrong and what I should be doing differently?

thanks!

James

 

0
5 comments

Hello,

Am I got you right that you are trying to add library in "Project Structure | Libraries - Add - From Maven"?

0

Hi Yaroslav,

Yes, File -> Project Structure -> Libraries -> add -> From Maven

It usually works smoothly and easily (like so much of IntelliJ... a real pleasure to work with) 

Thanks!

James

 

 

0

Hi Yaroslav,

Okay.  So as per that post it seems that this might be a long-standing issue and that the Maven search may be using an older index.  Is there a suggestion to work around this?

thanks!

James

 

0

James,

Unfortunately, no. We'll check if it's possible to rework it in 2023 release cycle.

0

Please sign in to leave a comment.