How to force Maven to automatically use the latest version of a dependency?
Hi everyone! I'm new to Java and Maven, and I have a problem. I'm writing a project that uses the Apache Commons Lang library. Currently, in my pom.xml, I explicitly specify version 3.12.0:\n\n```xml\n\n org.apache.commons \n commons-lang3 \n 3.12.0 \n \n```\n\nBut a month later, version 3.13.0 was released, and I want Maven to automatically pull the latest version. I've heard that you can use LATEST or RELEASE, but I'm not sure how to do it correctly and whether it's safe.\n\nI have several questions:\n1. Can I write `LATEST ` or `RELEASE `?\n2. Will this work with Maven 2 and Maven 3?\n3. How often does Maven check for new versions?\n4. Won't it break
No answers yet.
Log in to leave an answer