开发者

Maven 3.0.2 -U option does not update snapshot

开发者 https://www.devze.com 2023-02-15 16:21 出处:网络
Does anyone know why Maven 3.0.2 -U option does not update snapshot? The maven-metadata-repo.xml file gets updated, however, the SNAPSHOT jar doesn\'t. I\'ve tried to put <updatePolicy>always开发

Does anyone know why Maven 3.0.2 -U option does not update snapshot? The maven-metadata-repo.xml file gets updated, however, the SNAPSHOT jar doesn't. I've tried to put <updatePolicy>always开发者_开发百科</updatePolicy> in the settings.xml, doesn't work either.

Thanks, Jane


Are you using Artifactory for your repository? If so, you may be running in to an issue I struggled with. It is caused by incorrect Artifactory configuration. In the Artifactory documentation, see the part about "Maven 3 Only Supports Unique Snapshots".

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

0

精彩评论

暂无评论...
验证码 换一张
取 消