[
https://issues.apache.org/jira/browse/OPENEJB-2036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13747607#comment-13747607
]
Bojan Antonovic commented on OPENEJB-2036:
------------------------------------------
When I use
<rules>
<DependencyConvergence />
</rules>
I'm getting for version 4.5.1 and for version 4.5.2 the identical results:
Dependency convergence error for org.slf4j:slf4j-api:1.6.6 paths to dependency
are:
+-foo:test:0.0.1-SNAPSHOT
+-org.apache.openejb:openejb-standalone:4.5.1
+-org.apache.openejb:openejb-core:4.5.1
+-org.apache.activemq:activemq-core:5.7.0
+-org.slf4j:slf4j-api:1.6.6
and
+-foo:test:0.0.1-SNAPSHOT
+-org.apache.openejb:openejb-standalone:4.5.1
+-org.apache.openejb:openejb-core:4.5.1
+-org.apache.activemq:activemq-core:5.7.0
+-org.apache.activemq:kahadb:5.7.0
+-org.slf4j:slf4j-api:1.6.6
and
+-foo:test:0.0.1-SNAPSHOT
+-org.apache.openejb:openejb-standalone:4.5.1
+-org.apache.openejb:openejb-core:4.5.1
+-org.apache.xbean:xbean-bundleutils:3.12
+-org.slf4j:slf4j-api:1.5.11
and
+-foo:test:0.0.1-SNAPSHOT
+-org.apache.openejb:openejb-standalone:4.5.1
+-org.apache.openejb:openejb-core:4.5.1
+-org.quartz-scheduler:quartz:2.1.6
+-org.slf4j:slf4j-api:1.6.1
and
+-foo:test:0.0.1-SNAPSHOT
+-org.apache.openejb:openejb-standalone:4.5.1
+-org.apache.openejb:openejb-core:4.5.1
+-org.slf4j:slf4j-api:1.7.2
,
Dependency convergence error for commons-pool:commons-pool:1.5.4 paths to
dependency are:
+-foo:test:0.0.1-SNAPSHOT
+-org.apache.openejb:openejb-standalone:4.5.1
+-org.apache.openejb:openejb-core:4.5.1
+-commons-dbcp:commons-dbcp:1.4
+-commons-pool:commons-pool:1.5.4
and
+-foo:test:0.0.1-SNAPSHOT
+-org.apache.openejb:openejb-standalone:4.5.1
+-org.apache.openejb:openejb-core:4.5.1
+-commons-pool:commons-pool:1.5.7
]
> openejb-core has conflicting dependencies to commons-pool
> ---------------------------------------------------------
>
> Key: OPENEJB-2036
> URL: https://issues.apache.org/jira/browse/OPENEJB-2036
> Project: OpenEJB
> Issue Type: Bug
> Affects Versions: 4.5.1
> Reporter: Jens Bannmann
> Priority: Minor
>
> I activated the Maven Enforcer dependency convergence rule (see
> [http://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html])
> for my project, and got an error caused by openejb:
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce) @ myartifact ---
>
> [WARNING]
> Dependency convergence error for commons-pool:commons-pool:1.5.4 paths to
> dependency are:
> +-mygroup:myartifact:1.0-SNAPSHOT
> +-org.apache.openejb:openejb-core:4.5.1
> +-commons-dbcp:commons-dbcp:1.4
> +-commons-pool:commons-pool:1.5.4
> and
> +-mygroup:myartifact:1.0-SNAPSHOT
> +-org.apache.openejb:openejb-core:4.5.1
> +-commons-pool:commons-pool:1.5.7
> In my opinion, openejb-core has to either
> a) use a version of commons-dbcp that uses the same version of commons-pool
> (1.5.7), or
> b) exclude the transitive dependency to 1.5.4.
> Besides ensuring correctness within OpenEJB, this has the added benefit of
> not breaking downstream builds which use this rule from Maven Enforcer Plugin.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira