Bug 566700 - oomph checkout of jdt.ui and non resolvable parent pom
Summary: oomph checkout of jdt.ui and non resolvable parent pom
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.17   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-05 11:32 EDT by Carsten Hammer CLA
Modified: 2022-12-02 17:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Hammer CLA 2020-09-05 11:32:08 EDT
On a fresh oomph based checkout of jdt.ui I have errors like this:

"Non-resolvable parent POM for eclipse.jdt.ui:eclipse.jdt.ui:4.18.0-SNAPSHOT: Could not find artifact org.eclipse:eclipse-platform-parent:pom:4.18.0-SNAPSHOT and 'parent.relativePath' points at wrong 
 local POM" 

as soon as I open a pom file.
One problem seems to be that there are no maven projects, every project is a plain eclipse plugin project, feature and so on and trying to right mouse click on a pom file like this

maven-> Select Maven Profiles

does not work because of the error "You must select at least one active maven project".
Without that I cannot activate the profile "build-individual-bundles" which is the only chance to resolve the dependency to the parent pom. Either that or eclipse should start to deploy the parent pom and some other needed poms to maven central.

I can workaround creating the following .m2/settings.xml

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                              https://maven.apache.org/xsd/settings-1.0.0.xsd">
	<localRepository/>
	<interactiveMode/>
	<offline/>
	<pluginGroups/>
	<servers/>
	<mirrors/>
	<proxies/>
	<profiles/>
	<activeProfiles>
		<activeProfile>build-individual-bundles</activeProfile>
	</activeProfiles>
</settings>

However, that seems to be awkward - it should work without having the other eclipse projects already on the harddisk and in my .m2 folder.
Comment 1 Eclipse Genie CLA 2022-12-02 17:35:53 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.