[jboss-jira] [JBoss JIRA] (WFLY-4271) Wildfly BOM wrong dependencies
Tomaz Cerar (JIRA)
issues at jboss.org
Thu Apr 23 12:42:52 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13062140#comment-13062140 ]
Tomaz Cerar commented on WFLY-4271:
-----------------------------------
Most problems are caused by in many places wrong & to extensive resteasy-jaxrs bom.
I have replaced that with explicit dependencies that WildFly uses from resteasy.
As result there is no undertow dependency provided anymore as resteasy's dependency to it was for its own server adapter.
The change also brings down whole dependency tree considerably and shouldn't cause any big problems anymore.
> Wildfly BOM wrong dependencies
> ------------------------------
>
> Key: WFLY-4271
> URL: https://issues.jboss.org/browse/WFLY-4271
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 8.2.0.Final
> Environment: Wildfly 8.2.0.Final, BOM org.wildfly.bom:jboss-javaee-7.0-with-all:8.2.1.Final
> Reporter: Vsevolod Golovanov
> Assignee: Tomaz Cerar
>
> 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:
> {code}
> <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>
> {code}
> 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}}:
> {code}
> <version.org.hibernate-jpamodelgen>4.3.5.Final</version.org.hibernate-jpamodelgen>
> {code}
> , which affects {{org.wildfly.bom:jboss-javaee-7.0-with-hibernate:8.2.1.Final}}:
> {code}
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-jpamodelgen</artifactId>
> <version>${version.org.hibernate-jpamodelgen}</version>
> </dependency>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list