How-to articles, tricks, and solutions about DEPENDENCIES

Automatically create requirements.txt

You can use the pip freeze command to automatically generate a requirements.txt file in Python.

How do I tell Maven to use the latest version of a dependency?

To tell Maven to use the latest version of a dependency, you can use the [RELEASE] or [LATEST] version range in the <version> element of the dependency in your pom.xml file.

How to add local jar files to a Maven project?

To add a local JAR file to a Maven project, you can use the maven-install-plugin. Here's how you can do it: