Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zahlman
· 1y ago · 0 comments
So you... manually re-lock the parts you need to?
Comments
[–]
aidenn0
1y ago
Don't forget the part where Maven silently picks one version for you when there are transitive dependency conflicts (and no, it's not always the newest one).
[–]
deredede
1y ago
Sure, I'm happy with locking the parts I need to lock. Why would I lock the parts I don't need to lock?
[–]
skywhopper
1y ago
Because you can’t know which ones you “need” to lock.
[–]
lenkite
1y ago
You can definitely know this. Use
mvn dependency:tree -Dverbose
Or use maven-enforcer-plugin to fail the build on conflicts.