Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342910 - improved snapshot dependency management
Summary: improved snapshot dependency management
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 22:36 EDT by Igor Fedorenko CLA
Modified: 2021-04-19 13:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/