Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-5768

Change default behaviour to resolve jboss parent pom

XMLWordPrintable

      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>
      

              xf01213 Boris Unckel (Inactive)
              xf01213 Boris Unckel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: