3 ms·
Java/Spring/Maven should have locked down dependencies by default. They have to go out of their way to not do that. Not that some people don't, anyway. Typos:
by oblio 5y ago
Java/Spring/Maven should have locked down dependencies by default. They have to go out of their way to not do that. Not that some people don't, anyway.
Typos:
> I stopped advocating for locking everything down.
started?
> Look down dependencies.
lock?
- nvrspyx 5y agoI think the first typo is actually correct. They're saying that they stopped advocating for it because everyone treated them like they were crazy for doing so.
- specialist 5y agoEdited. Thanks for proofreading my rant. :)
- watermelon0 5y agoAFAIK Maven and Gradle don't have any built-in way of locking down dependencies (direct or transient), unless I missed something.
- cesarb 5y agoIn my experience, Maven always uses the exact version specified in your pom.xml (and the pom.xml of your dependencies, transitively), it never uses a newer version automatically. That is, the built-in way in Maven is locked down dependencies.