Why are some artifacts, existent on mvn repository, ommited (ignored/ not found) ?

Answered

Project Structure / Libraries / + / Maven / "Download LIbrary from Maven Repository" dialogue window.

If you type in the input form, for example: org.apache.spark. and press shift+enter you will get here 101 results found. However, org.apache.spark.spark-core will not be listed. Why is that particular artifact ommited?

0
3 comments

>However, org.apache.spark.spark-core will not be listed. Why is that particular artifact ommited?

Works here:

When searching in this dialog IDE uses the repositories defined in Settings(Preferences) | Build, Execution, Deployment | Remote Jar Repositories.

Make sure you are entering a correct artifact coordinates. E.g.  artifactId must be prepended with the colon.

0
Avatar
Permanently deleted user

EHhh..  Apologies for trivial question. Now I am also getting 197 hits and can't even recreate the situation I was in. I knew about 'Remote Jar Repositories' and was playing with that as well, that might be the reason for the mess... 

One more question, though: Why is it not listing all versions of the artifact, for example _2.12:3.0.1 ?

https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.12/3.0.1

 

 

0

>Why is it not listing all versions of the artifact, for example _2.12:3.0.1 ?

>https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.12/3.0.1

It is known issue, please vote for: https://youtrack.jetbrains.com/issue/IDEA-143434

0

Please sign in to leave a comment.