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

Duplicate declaration of org.wildfly.core:wildfly-subsystem:jar in wildfly-ejb3 module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 35.0.0.Final
    • None
    • Build System, EJB
    • None
    • ---
    • ---

      The following dependency is duplicated in the wildfly-ejb3 pom.xml.

      When building the project we can see:

      $ mvn clean validate                                                                                                                                                                                                                         
      [INFO] Scanning for projects...
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.wildfly:wildfly-ejb3:jar:35.0.0.Final-SNAPSHOT
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wildfly.core:wildfly-subsystem:jar -> duplicate declaration of version (?) @ line 168, column 21
      [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]
      

              bstansbe@redhat.com Brian Stansberry
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: