Details
Description
Currently, m2e maintains list of repository indexes which is not related to repositories configured in settings.xml or repositories configured in projects pom.xml files. This can result in inconsistency between artifact index and maven artifact resolver, i.e. index can show artifacts not available during resolution or can miss artifacts that are in fact available. It would be nice if m2e artifact index was project sensitive and used repositories actually used to resolve project artifacts.
It would be also nice to warn users if some repositories used by workspace projects do not contain nexus indexes, and possible provide some guidelines on how to get a repository indexed.
Issue Links
- is duplicated by
-
MNGECLIPSE-944
Certain dependency source jars are not being downloaded
-
This would be really nice to have. Also note that by default there is only index for central repository and unless user adds some other index added to "Maven Indexes" view that corresponds to the index not listed in given project or sitting in an non active profile, index search won't show artifacts not available during resolution.
As for the missing index warning, it is currently being shown on the Maven console when index is being updated, either on startup or when index update is triggered manually.