-
Bug
-
Resolution: Done
-
Minor
-
19.0.0.Beta1
-
None
-
None
Intellij "complains 'parent.relativePath' of POM org.wildfly:wildfly-parent:27.0.0.Beta1-SNAPSHOT (/home/user/javaprojects/wildfly/wildfly/pom.xml) points at org.wildfly:wildfly-parent instead of org.jboss:jboss-parent, please verify your project structure" which can be solved adding <relativePath/> below Line29. The error breaks the sync at top level.
The default path to resolve the parent is ../pom.xml. Correct here is to read it from the (local) repository. This can be achieved with an empty relativePath. Details: https://maven.apache.org/ref/3.8.1/maven-model/maven.html#class_parent
Fix
<parent> <groupId>org.jboss</groupId> <artifactId>jboss-parent</artifactId> <version>37</version> <relativePath/> </parent>