Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335383 - Add dependencies & plugins defaults automatically selects snapshots
Summary: Add dependencies & plugins defaults automatically selects snapshots
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Milos Kleint CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 15:54 EST by Matthew Piggott CLA
Modified: 2021-04-19 13:23 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 Matthew Piggott CLA 2011-01-25 15:54:32 EST
When adding a dependency or plugin using dialogs in the pom editor, if the user doesn't select a specific version we automatically use the highest version, in some cases this includes snapshot builds which may not be desirable.

Perhaps we need a preference to toggle snapshot builds?
Comment 1 Milos Kleint CLA 2011-01-26 08:02:22 EST
not sure if a preference is desirable, noone will find it and noone will remember if they have it set or not in the given profile. IMHO we should decide and stick to it :)

please note that snapshots shall only appear for stuff somehow related. If I'm not mistaken. Like when you build stuff, snapshots appear in local repository (these you might want). Or from repositories that you ave defined (in which case you might also be interested in snapshots as these can be the snapshots from within your company.) or it's there because people at java.net are what they are and mix releases with snapshots. In this case you don't want it most probably ;)
Comment 2 Igor Fedorenko CLA 2011-08-01 01:12:43 EDT
I think we should select the latest release by default. This is how maven cli works for plugin versions, for example.
Comment 4 Denis Roy CLA 2021-04-19 13:23:33 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/