[英]Is there a Maven repository for Spring 4?
Quoting Paul Grays answer - Spring 4
is already in Maven central so you just need to add this dependency 引用Paul Grays的答案
Spring 4
已经在Maven Central中,因此您只需添加此依赖项
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
Older asnwer 老年人
I think you need to add Spring repository to your pom.xml
我认为您需要将Spring存储库添加到
pom.xml
<repository>
<id>com.springsource.repository.maven.snapshot</id>
<url>http://maven.springframework.org/snapshot/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Then you can add your Spring module with following version 4.0.0.BUILD-SNAPSHOT
. 然后,您可以使用以下版本
4.0.0.BUILD-SNAPSHOT
添加您的Spring模块。 So for example 所以举个例子
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>4.0.0.BUILD-SNAPSHOT</version>
</dependency>
As of December 12, 2013 , Spring 4.0.0.RELEASE
is in Maven Central. 截至2013年12月12日 ,Spring
4.0.0.RELEASE
在Maven Central中。
You can add this to your pom.xml
to bring it in: 您可以将其添加到
pom.xml
以将其引入:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
当我查看Spring Framework 摘要页面时,它指出4.0 M1尚未发布-计划于2013年5月2日星期二发布
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.