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

Bug 336520

Summary: Improve handling of properties used in versions
Product: z_Archived Reporter: Pascal Rapicault <pascal>
Component: m2eAssignee: Project Inbox <m2e.core-inbox>
Status: CLOSED INVALID QA Contact:
Severity: enhancement    
Priority: P3 CC: igor, mkleint
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Pascal Rapicault CLA 2011-02-07 10:29:59 EST
In the update-jars-pom.xml (in the org.eclipse.m2e.maven.runtime project), a large number of properties are used to specify the version of certain dependencies. 
Though this approach is quite convenient  since it groups all the versions in one spot, it is not easy to update since you can't benefit from completion on GA like you do in the dependency element.
If we believe that this is a frequently used pattern, we may want to improve its handling in the editor
Comment 1 Milos Kleint CLA 2011-02-07 11:01:16 EST
the ideal place for this would be completion for property value. 
The values would be gathered from dependencies/plugins using the property in their declarations. The resulting completion list would be union of the values..

In multilevel poms it becomes more tricky.. in the parent you have often no context in terms of what dependencies use the property because it's used in the child poms maybe only..  Still we might hit all the dep. management entries in the same pom..
Comment 2 Igor Fedorenko CLA 2013-09-29 09:40:17 EDT
closing old/stale bugreports
Comment 3 Denis Roy CLA 2021-04-19 13:26:26 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/