spring-social 1.1.0.RELEASE拉入快照依赖项

时间:2014-07-22 20:43:36

标签: spring-social

尝试从spring-social-twitter 1.1.0.M4升级到1.1.0.RELEASE。 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

我该如何避免这种情况?

1 个答案:

答案 0 :(得分:0)

这是Spring Social Facebook 1.1.0.RELEASE的问题(这就是为什么有一个Spring社交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看了一下POM for Spring Social Twitter 1.1.0.RELEASE,很明显它的传递依赖于Spring Social Core / Config / Security 1.1.0.RELEASE。

此外,你说春天社交网络1.1.0.BUILD-SNAPSHOT被拉入。春季社交Twitter根本不依赖于spring-social-web,所以这不是问题。

您是否有可能将Spring Social Facebook 1.1.0.RELEASE作为依赖项?如果是这样,那么试试Spring Social Facebook 1.1.1.RELEASE并查看是否能解决您的问题。