← All tasks
javaj-easy/easy-rules #170Reported task

maven build fails on dependency

envgap__j-easy__easy-rules-170

01 / FAILURE SIGNATURE

Captured in a clean container

No identifying execution failure has been captured.

02 / ENVIRONMENT RECIPE

Base commit
34328ab1aab1448e0f7c2efb25bef7bb1de4687c
Manifest
easy-rules-mvel/pom.xml
Reproduce
mvn -B -q -Dlicense.skip=true -Dmaven.javadoc.skip=true -pl easy-rules-mvel -am install && mvn -B -q -pl easy-rules-mvel dependency:build-classpath -Dmdep.outputFile=/work/easy-rules-mvel/target/envgap-classpath.txt && java -cp "easy-rules-mvel/target/test-classes:easy-rules-mvel/target/classes:$(cat easy-rules-mvel/target/envgap-classpath.txt)" org.junit.runner.JUnitCore org.jeasy.rules.mvel.MVELRuleTest
Run under trace
java -cp "easy-rules-mvel/target/test-classes:easy-rules-mvel/target/classes:$(cat easy-rules-mvel/target/envgap-classpath.txt)" org.junit.runner.JUnitCore org.jeasy.rules.mvel.MVELRuleTest

03 / ORIGINAL ISSUE TEXT

j-easy/easy-rules #170 · read the original issue
When I run "mvn clean install" I get this  convergence error from maven-enforcer-plugin



Dependency convergence error for org.hamcrest:hamcrest-core:1.3 paths to dependency are:

+-org.jeasy:easy-rules-mvel:3.2.1-SNAPSHOT

  +-junit:junit:4.12

    +-org.hamcrest:hamcrest-core:1.3

and

+-org.jeasy:easy-rules-mvel:3.2.1-SNAPSHOT

  +-com.github.stefanbirkner:system-rules:1.17.1

    +-junit:junit-dep:4.11.20120805.1225

      +-org.hamcrest:hamcrest-core:1.1



[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:

Failed while enforcing releasability the error(s) are [

Dependency convergence error for org.hamcrest:hamcrest-core:1.3 paths to dependency are:

+-org.jeasy:easy-rules-mvel:3.2.1-SNAPSHOT

  +-junit:junit:4.12

    +-org.hamcrest:hamcrest-core:1.3

and

+-org.jeasy:easy-rules-mvel:3.2.1-SNAPSHOT

  +-com.github.stefanbirkner:system-rules:1.17.1

    +-junit:junit-dep:4.11.20120805.1225

      +-org.hamcrest:hamcrest-core:1.1
Continue on GitHub ↗

04 / LABELS

Labels checked by running the task · assistant reviewed

No supported category has been assigned.

Label rules and the text that matched
[]

Historical install-only results are not EnvGap validation.

Already-works control: no environment change, empty observed failure signature, never eligible for lite.

Only existing easy-rules-mvel module and reactor prerequisites are built; original MVELRuleTest executes real expressions through MVEL and JUnit. Maven license and javadoc plugins are skipped because they are unrelated to runtime dependency convergence.

Maven registry artifacts are not issue-date bounded. Current remote metadata may differ from the reported 2018 resolver state; no historical failure is claimed.

D1 includes inherited test dependencies and local reactor easy-rules-core; local unpublished SNAPSHOT identity is not evidence of a nonexistent public package. Maven D3 records runtime jars; optional/static declarations can remain unloaded.

Preparation uses current registries. Historical package availability is not enforced here; execution metadata records this limitation separately from the oracle's date-bounding policy.