forked from opentable/otj-pg-embedded
-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Labels
Milestone
Description
Hello,
First of all thank you for your hard work and providing the library, it has been quite useful.
Version 2.0.7
includes some dependency updates, which introduced conflicting versions of it's dependencies
07:33:01 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.4.1:enforce (enforce) on project project-name:
07:33:01 [ERROR] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence failed with message:
07:33:01 [ERROR] Failed while enforcing releasability.
07:33:01 [ERROR]
07:33:01 [ERROR] Dependency convergence error for commons-io:commons-io:jar:2.15.1 paths to dependency are:
07:33:01 [ERROR] +-project-name:jar:1.0-SNAPSHOT
07:33:01 [ERROR] +-io.zonky.test:embedded-postgres:jar:2.0.7:compile
07:33:01 [ERROR] +-org.apache.commons:commons-compress:jar:1.26.0:compile
07:33:01 [ERROR] +-commons-io:commons-io:jar:2.15.1:compile
07:33:01 [ERROR] and
07:33:01 [ERROR] +-project-name:jar:1.0-SNAPSHOT
07:33:01 [ERROR] +-io.zonky.test:embedded-postgres:jar:2.0.7:compile
07:33:01 [ERROR] +-commons-io:commons-io:jar:2.11.0:compile
07:33:01 [ERROR]
07:33:01 [ERROR]
07:33:01 [ERROR] Dependency convergence error for org.apache.commons:commons-lang3:jar:3.12.0 paths to dependency are:
07:33:01 [ERROR] +-project-name:jar:1.0-SNAPSHOT
07:33:01 [ERROR] +-io.zonky.test:embedded-postgres:jar:2.0.7:compile
07:33:01 [ERROR] +-org.apache.commons:commons-lang3:jar:3.12.0:compile
07:33:01 [ERROR] and
07:33:01 [ERROR] +-project-name:jar:1.0-SNAPSHOT
07:33:01 [ERROR] +-io.zonky.test:embedded-postgres:jar:2.0.7:compile
07:33:01 [ERROR] +-org.apache.commons:commons-compress:jar:1.26.0:compile
07:33:01 [ERROR] +-org.apache.commons:commons-lang3:jar:3.14.0:compile
07:33:01 [ERROR]
This can obviously be worked around on the project's level but would be desirable for the library to have convergence within its dependencies.
To avoid such cases going undetected in the future I would also suggest introducing maven-enforcer-plugin
into the project.
reneleonhardt