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

Bug 336313

Summary: properties not showing up
Product: z_Archived Reporter: Milos Kleint <mkleint>
Component: m2eAssignee: Milos Kleint <mkleint>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Milos Kleint CLA 2011-02-04 01:50:47 EST
[9:47pm] igorf_: mkleint: am I supposed to get codeassist for properties defined in this pom.xml?
[9:51pm] mkleint: igorf_: where? after you type ${ you should get props from effective pom
[9:51pm] igorf_: it does not work, at least not for all projects
[9:51pm] igorf_: mkleint: try org.eclipse.m2e.maven.runtime/update-jars-pom.xml for example
[9:52pm] igorf_: I see some random properties defined I don't even know where
[9:52pm] igorf_: editor most likely uses wrong effective pom
[9:52pm] mkleint: please file an issue, I'll look into it tomorow.. about ot head for bead now..
[9:53pm] igorf_: sure
Comment 1 Milos Kleint CLA 2011-02-04 01:59:23 EST
caused by code relying on IProject as reference point, rather than MavenProject


        IMavenProjectFacade mvnproject = MavenPlugin.getDefault().getMavenProjectManager().getProject(project);
        List<String> keys = new ArrayList<String>();
        String contextTypeId = getContextTypeId();
        if(mvnproject != null) {
          MavenProject mvn = mvnproject.getMavenProject();
Comment 3 Denis Roy CLA 2021-04-19 13:22:27 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/