I’m using Maven 3.2. I have this dependency in my pom.xml file (a WAR project)
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>1.6.2</version>
<scope>provided</scope>
</dependency>
Whenever I run any phase for my pom (e.g. “mvn install”), the app always attempts to download some metadata about the dependency …
Downloading: http://repo.spring.io/milestone/joda-time/joda-time/maven-metadata.xml
How do I tell Maven to stop doing that? I already have the artifact cached in my local Maven repo.
Thanks, - Dave
.xml
to realize thatjoda-time
1.6.2 is four years old and the latest version is 2.5. ;-) – Silverssettings.xml
) will sure help to troubleshoot the problem. – Chausses