springframework maven地址

http://blog.springsource.com/2009/12/02/obtaining-spring-3-artifacts-with-maven/

A .pom <dependency> snippet for each Spring Framework 3 artifact as it will be indexed in Maven Central is listed below.

001	<!-- Shared version number properties -->
002	<properties> 
003	    <org.springframework.version>3.0.5.RELEASE</org.springframework.version> 
004	</properties> 
005	  
006	<!-- 
007	    Core utilities used by other modules. 
008	    Define this if you use Spring Utility APIs (org.springframework.core.*/org.springframework.util.*) 
009	-->
010	<dependency> 
011	  <groupId>org.springframework</groupId> 
012	  <artifactId>spring-core</artifactId> 
013	  <version>${org.springframework.version}</version> 
014	</dependency> 
015	  
016	<!-- 
017	    Expression Language (depends on spring-core) 
018	    Define this if you use Spring Expression APIs (org.springframework.expression.*) 
019	-->
020	<dependency> 
021	  <groupId>org.springframework</groupId> 
022	  <artifactId>spring-expression</artifactId> 
023	  <version>${org.springframework.version}</version> 
024	</dependency> 
025	  
026	<!-- 
027	    Bean Factory and JavaBeans utilities (depends on spring-core) 
028	    Define this if you use Spring Bean APIs (org.springframework.beans.*) 
029	-->
030	<dependency> 
031	  <groupId>org.springframework</groupId> 
032	  <artifactId>spring-beans</artifactId> 
033	  <version>${org.springframework.version}</version> 
034	</dependency> 
035	  
036	<!-- 
037	    Aspect Oriented Programming (AOP) Framework (depends on spring-core, spring-beans) 
038	    Define this if you use Spring AOP APIs (org.springframework.aop.*) 
039	-->
040	<dependency> 
041	  <groupId>org.springframework</groupId> 
042	  <artifactId>spring-aop</artifactId> 
043	  <version>${org.springframework.version}</version> 
044	</dependency> 
045	  
046	<!-- 
047	    Application Context (depends on spring-core, spring-expression, spring-aop, spring-beans) 
048	    This is the central artifact for Spring's Dependency Injection Container and is generally always defined 
049	-->
050	<dependency> 
051	  <groupId>org.springframework</groupId> 
052	  <artifactId>spring-context</artifactId> 
053	  <version>${org.springframework.version}</version> 
054	</dependency> 
055	  
056	<!-- 
057	    Various Application Context utilities, including EhCache, JavaMail, Quartz, and Freemarker integration 
058	    Define this if you need any of these integrations 
059	-->
060	<dependency> 
061	  <groupId>org.springframework</groupId> 
062	  <artifactId>spring-context-support</artifactId> 
063	  <version>${org.springframework.version}</version> 
064	</dependency> 
065	  
066	<!-- 
067	    Transaction Management Abstraction (depends on spring-core, spring-beans, spring-aop, spring-context) 
068	    Define this if you use Spring Transactions or DAO Exception Hierarchy 
069	    (org.springframework.transaction.*/org.springframework.dao.*) 
070	-->
071	<dependency> 
072	  <groupId>org.springframework</groupId> 
073	  <artifactId>spring-tx</artifactId> 
074	  <version>${org.springframework.version}</version> 
075	</dependency> 
076	  
077	<!-- 
078	    JDBC Data Access Library (depends on spring-core, spring-beans, spring-context, spring-tx) 
079	    Define this if you use Spring's JdbcTemplate API (org.springframework.jdbc.*) 
080	-->
081	<dependency> 
082	  <groupId>org.springframework</groupId> 
083	  <artifactId>spring-jdbc</artifactId> 
084	  <version>${org.springframework.version}</version> 
085	</dependency> 
086	  
087	<!-- 
088	    Object-to-Relation-Mapping (ORM) integration with Hibernate, JPA, and iBatis. 
089	    (depends on spring-core, spring-beans, spring-context, spring-tx) 
090	    Define this if you need ORM (org.springframework.orm.*) 
091	-->
092	<dependency> 
093	  <groupId>org.springframework</groupId> 
094	  <artifactId>spring-orm</artifactId> 
095	  <version>${org.springframework.version}</version> 
096	</dependency> 
097	  
098	<!-- 
099	    Object-to-XML Mapping (OXM) abstraction and integration with JAXB, JiBX, Castor, XStream, and XML Beans. 
100	    (depends on spring-core, spring-beans, spring-context) 
101	    Define this if you need OXM (org.springframework.oxm.*) 
102	-->
103	<dependency> 
104	  <groupId>org.springframework</groupId> 
105	  <artifactId>spring-oxm</artifactId> 
106	  <version>${org.springframework.version}</version> 
107	</dependency> 
108	  
109	<!-- 
110	    Web application development utilities applicable to both Servlet and Portlet Environments 
111	    (depends on spring-core, spring-beans, spring-context) 
112	    Define this if you use Spring MVC, or wish to use Struts, JSF, or another web framework with Spring (org.springframework.web.*) 
113	-->
114	<dependency> 
115	  <groupId>org.springframework</groupId> 
116	  <artifactId>spring-web</artifactId> 
117	  <version>${org.springframework.version}</version> 
118	</dependency> 
119	  
120	<!-- 
121	    Spring MVC for Servlet Environments (depends on spring-core, spring-beans, spring-context, spring-web) 
122	    Define this if you use Spring MVC with a Servlet Container such as Apache Tomcat (org.springframework.web.servlet.*) 
123	-->
124	<dependency> 
125	  <groupId>org.springframework</groupId> 
126	  <artifactId>spring-webmvc</artifactId> 
127	  <version>${org.springframework.version}</version> 
128	</dependency> 
129	  
130	<!-- 
131	    Spring MVC for Portlet Environments (depends on spring-core, spring-beans, spring-context, spring-web) 
132	    Define this if you use Spring MVC with a Portlet Container (org.springframework.web.portlet.*) 
133	-->
134	<dependency> 
135	  <groupId>org.springframework</groupId> 
136	  <artifactId>spring-webmvc-portlet</artifactId> 
137	  <version>${org.springframework.version}</version> 
138	</dependency> 
139	  
140	<!-- 
141	    Support for testing Spring applications with tools such as JUnit and TestNG 
142	    This artifact is generally always defined with a 'test' scope for the integration testing framework and unit testing stubs 
143	-->
144	<dependency> 
145	  <groupId>org.springframework</groupId> 
146	  <artifactId>spring-test</artifactId> 
147	  <version>${org.springframework.version}</version> 
148	  <scope>test</scope> 
149	</dependency>

Obtaining Spring Releases From The Enterprise Bundle Repository (EBR)

To obtain final releases of Spring projects from the EBR, add the following repositories to your .pom:

01	<repository> 
02	    <id>com.springsource.repository.bundles.release</id> 
03	    <name>EBR Spring Release Repository</name> 
04	    <url>http:// repository.springsource.com/maven/bundles/release</url> 
05	</repository> 
06	<repository> 
07	    <id>com.springsource.repository.bundles.external</id> 
08	    <name>EBR External Release Repository</name> 
09	    <url>http:// repository.springsource.com/maven/bundles/external</url> 
10	</repository>

Then simply add the dependencies your project requires, keeping in mind the EBR artifact naming conventions.

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏码匠的流水账

redis的sentinel模式故障演练

redis的sentinel模式相对cluster来说比较简单,缺点是需要浪费一些资源来做sentinel节点,对于中小数据量的业务来说,相对比较划算。

15310
来自专栏用户2442861的专栏

java SLF4J 使用其他的 log框架

http://saltnlight5.blogspot.com/2013/08/how-to-configure-slf4j-with-different.ht...

15010
来自专栏用户2442861的专栏

win10 安装 Cygwin

http://preshing.com/20141108/how-to-install-the-latest-gcc-on-windows/

66430
来自专栏ml

HDUOJ---2955 Robberies

Robberies Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K ...

28990
来自专栏乐沙弥的世界

MHA 自动故障转移步骤及过程剖析

    MHA是众多使用MySQL数据库企业高可用的不二选择,它简单易用,功能强大,实现了基于MySQL replication架构的自动主从故障转移,本文主要...

11730
来自专栏一个会写诗的程序员的博客

Gradle 环境安装Installation

The current Gradle release is 4.10.2. You can download binaries and view docs fo...

18930
来自专栏静晴轩

lua Standard Libraries

The standard Lua libraries provide useful functions that are implemented directl...

32090
来自专栏算法修养

CodeForces 157B Trace

B. Trace time limit per test 2 seconds memory limit per test 256 megabytes...

36880
来自专栏算法修养

POJ 1651 Multiplication Puzzle(区间DP)

Multiplication Puzzle Time Limit: 1000MS Memory Limit: 65536K Total Sub...

33150
来自专栏云知识学习

kubernetes 基础集群排障

在排错过程中,kubectl 是最重要的工具,通常也是定位错误的起点。这里也列出一些常用的命令,在后续的各种排错过程中都会经常用到。

1.5K120

扫码关注云+社区

领取腾讯云代金券