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

Wildfly BOM wrong dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Final
    • 8.2.0.Final
    • None
    • None

      1. The BOM org.wildfly.bom:jboss-javaee-7.0-with-all:8.2.1.Final (indirectly) imports org.jboss.resteasy:resteasy-jaxrs-all:3.0.10.Final that has the following dependencies:

      <version.io.undertow>1.0.1.Final</version.io.undertow>
      ...
      <dependency>
      	<groupId>io.undertow</groupId>
      	<artifactId>undertow-servlet</artifactId>
      	<version>${version.io.undertow}</version>
      </dependency>
      <dependency>
      	<groupId>io.undertow</groupId>
      	<artifactId>undertow-core</artifactId>
      	<version>${version.io.undertow}</version>
      </dependency>
      

      The version should be 1.1.0.Final. The wrong version ends up being the effective one in dependencyManagement, messes up debugging in Eclipse, and probably compiling in Eclipse.

      2. org.wildfly.bom:jboss-bom-parent:8.2.1.Final:

      <version.org.hibernate-jpamodelgen>4.3.5.Final</version.org.hibernate-jpamodelgen>
      

      , which affects org.wildfly.bom:jboss-javaee-7.0-with-hibernate:8.2.1.Final:

      <dependency>
      	<groupId>org.hibernate</groupId>
      	<artifactId>hibernate-jpamodelgen</artifactId>
      	<version>${version.org.hibernate-jpamodelgen}</version>
      </dependency>
      

      Hibernate 4.3.7.Final from SourceForge has jpamodelgen 4.3.7.Final supplied.

      3. org.jboss.resteasy:resteasy-jaxrs-all:3.0.10.Final specifies a managed version 3.0.0 for org.glassfish:javax.el. The actual version supplied with Wildfly 8.2.0.Final is javax.el-3.0.1-b05. Maybe resteasy-jaxrs-all shouldn't export this managed version at all?

      Hoping for a BOM 8.2.2.Final release, because our project POMs are complex enough without workarounds for such errors.

            tomazcerar Tomaž Cerar (Inactive)
            vsevolodgol Vsevolod Golovanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: