开发者

Maven 3.0.2 -U option does not update snapshot

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜