是否有Spring 4的Maven存储库?
我正在寻找Spring 4.0 M1,与Java 8一起使用。根据这个问题应该有一个构建,但是找不到。 理想情况下会有一个Maven回购,但我甚至找不到常规下载?
截至2013年12月12日 ,Spring 4.0.0.RELEASE
位于Maven Central。
您可以将它添加到您的pom.xml
以将其带入:
org.springframework spring-core 4.0.0.RELEASE
引用Paul Grays的回答 – Spring 4
已经在Maven中心,所以你只需要添加这种依赖
org.springframework spring-core 4.0.0.RELEASE
年纪大了
我认为您需要将Spring存储库添加到您的pom.xml
com.springsource.repository.maven.snapshot http://maven.springframework.org/snapshot/ true
然后,您可以使用以下版本4.0.0.BUILD-SNAPSHOT
添加Spring模块。 所以举个例子
org.springframework spring-aop 4.0.0.BUILD-SNAPSHOT
它现在已经发布,所以它可以在标准的回购中找到: http : //search.maven.org/#artifactdetails%7Corg.springframework%7Cspring-framework-bom%7C4.0.0.RELEASE%7Cpom
当我查看Spring Framework 摘要页面时,它指出4.0 M1尚未发布 – 计划于2013-05-14周二发布