3 ms·
Maven builds are deterministic (so long as you don't have SNAPSHOT dependencies). The version resolution is insane but deterministic. You'll only break that d
by cogman10 1y ago
Maven builds are deterministic (so long as you don't have SNAPSHOT dependencies). The version resolution is insane but deterministic. You'll only break that determinism if you change the dependencies.
That's precisely because maven doesn't support version ranges. Maven artifacts are also immutable.
Maven also supports manual override when the insane resolution strategy fails that's the "dependencymanagement" section.
- aidenn0 1y agoLockfile builds are also deterministic. You only break that determinism if you change the lockfile.
- deleted 1y ago[deleted]
- deepsun 1y agoI typically just add an <exclusion> for one of my top level dependency, so Maven picks from some other.
- javanonymous 1y agoYou can use version range with a maven plugin https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html https://maven.apache.org/enforcer/enforcer-rules/versionRang...