Use the command mvn clean package . You’ll find a file ending in -jar-with-dependencies.jar in your /target folder. 2. Using Gradle
No need to configure complex CLASSPATH environment variables. download jar with all dependencies
Sometimes you don't want to build a JAR; you just want to download the .jar files for dependencies listed in a project. Use the command mvn clean package
Use the command mvn clean package . You’ll find a file ending in -jar-with-dependencies.jar in your /target folder. 2. Using Gradle
No need to configure complex CLASSPATH environment variables.
Sometimes you don't want to build a JAR; you just want to download the .jar files for dependencies listed in a project.