[JAVA] Reload dependencies in Maven

Overview

Maven is convenient, but it sometimes bothers me with dependencies. This is because package updates in the repository may not be reflected.

solution

console


maven package -U

This will force the dependency to be reincorporated.

reference

https://stackoverflow.com/questions/39914204/could-not-resolve-dependencies-until-the-update-interval-has-elapsed-or-upda

Recommended Posts

Reload dependencies in Maven
maven
Popular trends in gradle and maven
How to make a jar file with no dependencies in Maven
Browse local Maven artifacts in Gradle
Output JUnit test report in Maven
Maven configuration problem in Spring pom.xml in Eclipse
CI for Maven project in Azure Pipelines