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

Duplicate declaration of wildfly-rts-jakarta Artifact on WildFly Preview

    XMLWordPrintable

Details

    Description

      The wildfly-rts-jakarta is declared twice on ee-9/pom.xml

      That results in the following maven warning complaining about it:

      [INFO] Scanning for projects...
      [WARNING]
      [WARNING] Some problems were encountered while building the effective model for org.wildfly:wildfly-ee-9-source-transform-parent:pom:27.0.0.Alpha2-SNAPSHOT
      [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${ee.maven.groupId}:wildfly-rts-jakarta:jar -> duplicate declaration of version ${ee.maven.version} @ org.wildfly:wildfly-ee-9-parent:27.0.0.Alpha2-SNAPSHOT, /Users/yborgess/dev/projects/wildfly/ee-9/pom.xml, line 3596, column 25
      [WARNING]
      [WARNING] Some problems were encountered while building the effective model for org.wildfly:wildfly-ee-9-parent:pom:27.0.0.Alpha2-SNAPSHOT
      [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: ${ee.maven.groupId}:wildfly-rts-jakarta:jar -> duplicate declaration of version ${ee.maven.version} @ line 3596, column 25
      [WARNING]
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING]
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [WARNING]

      Attachments

        Activity

          People

            yborgess1@redhat.com Yeray Borges Santana
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: