Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15874

Change default behaviour to resolve jboss parent pom

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 27.0.0.Alpha1, 27.0.0.Final
    • 26.0.0.Final
    • None
    • None

    Description

      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>
      

       

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: