Eclipse maven updating indexes forever


26-Nov-2019 20:08

This has the effect of altering the way that Maven locates dependency artifacts.If a project is configured to resolve dependencies from the workspace, these artifacts do not need to be present in your local repository.I don't see any reason why it should have to load all my POMs and update dependencies when I restart, which is what it seems to be doing.Dan-- Dan Diephouse dependencies when I restart, which is what it seems to be doing. So, it only updates dependencies when pom changes, but in order to track changes we need to load all Maven projects when IDE starts.Figure 7.1, “Manually Adding a Dependency to the Project's POM” shows how I added a dependency for into the query field, m2eclipse queries the repository indexes and even shows a version of the artifact that is currently in my local Maven repository.This option is preferred because it is such a tremendous time saver.By commenting, you are accepting the DISQUS terms of service.

artifact, double-clicking on it will open it up in Eclipse for browsing or editing.

But reading projects may trigger updating dependencies (especially snapshots), e.g. Perhaps we could try to disable that and also track corner cases that may trigger additional dependency resolution.

Do you have your projects in public source repository that we can access? regards, Eugene --------------------------------------------------------------------- To unsubscribe from this list, please visit: I see - the snapshots do present a tricky case.

If workspace resolution is enabled, m2eclipse will resolve the dependency via the Eclipse workspace.

In other words, when workspace resolution is enabled, project's don't have to be installed in the local repository to relate to one another. This has the effect of telling m2eclipse to stop trying to manage your project's classpath, and it will remove the Maven Dependencies classpath container from your project.My hunch is that this is somehow related to me running maven on the command line as well. Do you have repeatable way to reproduce endless build?