尝试从spring-social-twitter 1.1.0.M4升级到1.1.0.RELEASE。在maven构建期间,发布版本引入了多个快照依赖项。在1.1.0.M4中不会发生这种情况。
Downloading: org/springframework/social/spring-social-config/1.1.0.BUILD-SNAPSHOT/maven-metadata.xml Downloading: org/springframework/social/spring-social-core/1.1.0.BUILD-SNAPSHOT/maven-metadata.xml Downloading: org/springframework/social/spring-social-web/1.1.0.BUILD-SNAPSHOT/maven-metadata.xml
我该如何避免这种情况?
发布于 2014-07-23 23:48:12
这是Spring Social Facebook 1.1.0.RELEASE的一个问题(这就是为什么有一个Spring Social Facebook 1.1.1.RELEASE来解决这个问题)。但这不应该是Spring Social Twitter 1.1.0.RELEASE的问题,事实上,我刚刚在http://central.maven.org/maven2/org/springframework/social/spring-social-twitter/1.1.0.RELEASE/spring-social-twitter-1.1.0.RELEASE.pom上看了一下Spring Social Twitter 1.1.0.RELEASE的POM,很明显它依赖于Spring Social Core/Config/Security 1.1.0.RELEASE。
此外,您还说spring-social-web1.1.0.BUILD-SNAPSHOT被拉入。Spring Social Twitter完全不依赖于spring-social-web,所以这不是问题所在。
有没有可能你也有Spring Social Facebook 1.1.0.RELEASE作为依赖?如果是这样,那么试试Spring Social Facebook 1.1.1.RELEASE,看看它是否能解决你的问题。
https://stackoverflow.com/questions/24897459
复制相似问题