Benson Margulies created MENFORCER-203:
------------------------------------------

             Summary: dependencyConvergence seems to get tangled in reactor
                 Key: MENFORCER-203
                 URL: https://jira.codehaus.org/browse/MENFORCER-203
             Project: Maven Enforcer Plugin
          Issue Type: Bug
          Components: Standard Rules
    Affects Versions: 1.3.1
            Reporter: Benson Margulies


The enforcer is claiming that one of the modules of my project is using the 
prior release version of another of the modules of my project.

The problem version, 1.9.112, occurs _nowhere_ in any current POM.

Both modules refer to adm-model with ${project.version} references. 

{noformat}

[WARNING]
Dependency convergence error for com.basistech:adm-model:2.0.0-rc1-SNAPSHOT 
paths to dependency are:
+-com.basistech:adm-tools:2.0.0-rc1-SNAPSHOT
  +-com.basistech:adm-model:2.0.0-rc1-SNAPSHOT
and
+-com.basistech:adm-tools:2.0.0-rc1-SNAPSHOT
  +-com.basistech:adm-json:2.0.0-rc1-SNAPSHOT
    +-com.basistech:adm-model:1.9.112

[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence 
failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for com.basistech:adm-model:2.0.0-rc1-SNAPSHOT 
paths to dependency are:
+-com.basistech:adm-tools:2.0.0-rc1-SNAPSHOT
  +-com.basistech:adm-model:2.0.0-rc1-SNAPSHOT
and
+-com.basistech:adm-tools:2.0.0-rc1-SNAPSHOT
  +-com.basistech:adm-json:2.0.0-rc1-SNAPSHOT
    +-com.basistech:adm-model:1.9.112
{noformat}

but mvn dependency:tree says in the failing module:

{noformat}
[INFO] --- maven-dependency-plugin:2.5.1:tree (default-cli) @ adm-tools ---
[INFO] com.basistech:adm-tools:jar:2.0.0-rc1-SNAPSHOT
[INFO] +- com.basistech:adm-model:jar:2.0.0-rc1-SNAPSHOT:compile
[INFO] +- com.basistech:adm-json:jar:2.0.0-rc1-SNAPSHOT:compile
[INFO] +- com.basistech:rlp-java-blackboard:jar:12.1:compile
[INFO] |  +- com.basistech:rlp:jar:7.10.0:compile
[INFO] |  |  \- com.basistech:utilities:jar:7.10.0:compile
[INFO] |  +- 
com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.4.1:compile 
(version managed from 2.3.0)
[INFO] |  \- org.javassist:javassist:jar:3.18.0-GA:compile
[INFO] +- com.basistech:common:jar:33:compile
[INFO] +- com.google.guava:guava:jar:16.0.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.4.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.4.1:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.4.1:compile 
(version managed from 2.4.0)
[INFO] +- junit:junit:jar:4.11:test
[INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] \- args4j:args4j:jar:2.0.26:compile
{noformat}

and in the 'json' module:

{noformat}
--- maven-dependency-plugin:2.5.1:tree (default-cli) @ adm-json ---
[INFO] com.basistech:adm-json:jar:2.0.0-rc1-SNAPSHOT
[INFO] +- com.basistech:adm-model:jar:2.0.0-rc1-SNAPSHOT:compile
[INFO] +- com.basistech:common:jar:33:compile
[INFO] +- com.google.guava:guava:jar:16.0.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-core:jar:2.4.1:compile
[INFO] +- com.fasterxml.jackson.core:jackson-databind:jar:2.4.1:compile
[INFO] |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.4.1:compile 
(version managed from 2.4.0)
[INFO] \- junit:junit:jar:4.11:test
[INFO]    \- org.hamcrest:hamcrest-core:jar:1.3:test
{noformat}






--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to