Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F40196E9 for ; Tue, 8 May 2012 11:13:33 +0000 (UTC) Received: (qmail 69983 invoked by uid 500); 8 May 2012 11:13:31 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 69898 invoked by uid 500); 8 May 2012 11:13:31 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 21307 invoked by uid 99); 8 May 2012 10:10:28 -0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Date: Tue, 8 May 2012 03:09:49 -0700 (PDT) From: strug To: users@maven.apache.org Message-ID: <1336471789065-5693140.post@n5.nabble.com> Subject: Strange difference between enforcer dependency convergence and dependency tree (hibernate4/jboss-logging) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi there, I'm a bit lost. We are using Hibernate4. Unfortunately they mixed up their dependencies a bit, so that we managed them in our pom: org.jboss.logging jboss-logging 3.1.0.GA The dependency tree looks good. The dependency jboss-logging 3.1.0.CR2 is "overwritten" by the above definition: [INFO] | \- ourgroup:nic-api:jar:103:compile [INFO] | +- ourgroup:persistence:jar:2.22-Hibernate4:compile [INFO] | | +- org.springframework:spring-test:jar:3.1.1.RELEASE:compile [INFO] | | +- javax.annotation:jsr250-api:jar:1.0:compile [INFO] | | +- (de.hypoport.ef2:ef2-types:jar:2.22-Hibernate4:compile - omitted for duplicate) [INFO] | | +- de.hypoport.ef2:ef2-core:jar:2.22-Hibernate4:compile [INFO] | | | +- (de.hypoport.ef2:ef2-types:jar:2.22-Hibernate4:compile - omitted for duplicate) [INFO] | | | \- org.springframework:spring-context:jar:3.1.1.RELEASE:compile [INFO] | | | +- (org.springframework:spring-beans:jar:3.1.1.RELEASE:compile - omitted for duplicate) [INFO] | | | \- org.springframework:spring-expression:jar:3.1.1.RELEASE:compile [INFO] | | +- org.hibernate:hibernate-core:jar:4.1.2.Final:compile [INFO] | | | +- org.jboss.logging:jboss-logging:jar:3.1.0.GA:compile [INFO] | | | +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:jar:1.0.0.Final:compile [INFO] | | | +- dom4j:dom4j:jar:1.6.1:compile [INFO] | | | +- org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.1.Final:compile [INFO] | | | +- org.javassist:javassist:jar:3.15.0-GA:compile [INFO] | | | \- org.hibernate.common:hibernate-commons-annotations:jar:4.0.1.Final:compile [INFO] | | | \- (org.jboss.logging:jboss-logging:jar:3.1.0.CR2:compile - omitted for conflict with 3.1.0.GA) Running the enforcer rule DependencyConvergence results in an error: [ERROR] Dependency convergence error for org.jboss.logging:jboss-logging:3.1.0.GA paths to dependency are: +-ourgroup:rules-assembly:11-SNAPSHOT +-ourgroup:scoring:139 +-ourgroup:nic-api:103 +-ourgroup:persistence:2.22-Hibernate4 +-org.hibernate:hibernate-core:4.1.2.Final +-org.jboss.logging:jboss-logging:3.1.0.GA and +-ourgroup:rules-assembly:11-SNAPSHOT +-ourgroup:scoring:139 +-ourgroup:nic-api:103 +-ourgroup:persistence:2.22-Hibernate4 +-org.hibernate:hibernate-core:4.1.2.Final +-org.hibernate.common:hibernate-commons-annotations:4.0.1.Final +-org.jboss.logging:jboss-logging:3.1.0.CR2 This feels unexpected. Is this a bug, or do I understand s.th. wrong:) Thanks a lot, Leif -- View this message in context: http://maven.40175.n5.nabble.com/Strange-difference-between-enforcer-dependency-convergence-and-dependency-tree-hibernate4-jboss-logg-tp5693140.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org