Maven 3.0.2 -U parameter does not update snapshot

Does anyone know why the Maven 3.0.2 -U option does not update the snapshot? The maven-metadata-repo.xml file is updated, but there is no SNAPSHOT. I tried to put <updatePolicy>always</updatePolicy>in settings.xml, also does not work.

Thanks Jane

+3
source share
1 answer

Are you using Artifactory for your repository? If so, you may run into a problem that I was struggling with. This is caused by an incorrect Artifactory configuration. In the Artifactory documentation, see "Maven 3 only supports unique snapshots."

http://wiki.jfrog.org/confluence/display/RTF/Local+Repositories

+3
source

All Articles