Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342910

Summary: improved snapshot dependency management
Product: z_Archived Reporter: Igor Fedorenko <igor>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthew, pascal
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Igor Fedorenko CLA 2011-04-14 22:36:27 EDT
There are several scenarios when m2e does not consistently handles updated dependencies https://docs.sonatype.org/display/M2ECLIPSE/Consistent+dependency+update. We will try the following improvements for 0.13

* Introduce new "Do not automatically update dependencies from remote repositories" boolean preference. When checked (the default) m2e will force "never" global snapshot/release update policy, i.e. only resolve new/unknown artifacts from remote repositories and "never" re-resolve artifacts already present locally.

* Replace "Update Snapshots" and "Update Dependencies" right-click actions with new "Update Dependencies..." action. The new action will open a dialog similar to PDE "Update Classpath" dialog, where the user will see all workspace source-tress (!) and will be able to select projects to update. The new dialog will also provide a
** checkbox to "Forces a check for updated releases and snapshots on remote repositories" (same as -U maven cli option), off by default.
** checkbox to "Do not automatically update dependencies from remote repositories", default is off.

* Fix a bug when the same dependency can be reported as missing for some workspace projects and be available for others.
Comment 1 Pascal Rapicault CLA 2011-04-14 22:53:41 EDT
Matt, see with Igor about some UI work.
Comment 2 Igor Fedorenko CLA 2011-04-20 10:25:23 EDT
I believe this is implemented now. Any additional refinements and bugfixes, if any, will be handled through separate bug reports.
Comment 3 Denis Roy CLA 2021-04-19 13:26:19 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/