springframework maven地址

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

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

view source
print ?
001
002 <properties>
003     <org.springframework.version>3.0.5.RELEASEorg.springframework.version>
004 properties>
005   
006
010 <dependency>
011   <groupId>org.springframeworkgroupId>
012   <artifactId>spring-coreartifactId>
013   <version>${org.springframework.version}version>
014 dependency>
015   
016
020 <dependency>
021   <groupId>org.springframeworkgroupId>
022   <artifactId>spring-expressionartifactId>
023   <version>${org.springframework.version}version>
024 dependency>
025   
026
030 <dependency>
031   <groupId>org.springframeworkgroupId>
032   <artifactId>spring-beansartifactId>
033   <version>${org.springframework.version}version>
034 dependency>
035   
036
040 <dependency>
041   <groupId>org.springframeworkgroupId>
042   <artifactId>spring-aopartifactId>
043   <version>${org.springframework.version}version>
044 dependency>
045   
046
050 <dependency>
051   <groupId>org.springframeworkgroupId>
052   <artifactId>spring-contextartifactId>
053   <version>${org.springframework.version}version>
054 dependency>
055   
056
060 <dependency>
061   <groupId>org.springframeworkgroupId>
062   <artifactId>spring-context-supportartifactId>
063   <version>${org.springframework.version}version>
064 dependency>
065   
066
071 <dependency>
072   <groupId>org.springframeworkgroupId>
073   <artifactId>spring-txartifactId>
074   <version>${org.springframework.version}version>
075 dependency>
076   
077
081 <dependency>
082   <groupId>org.springframeworkgroupId>
083   <artifactId>spring-jdbcartifactId>
084   <version>${org.springframework.version}version>
085 dependency>
086   
087
092 <dependency>
093   <groupId>org.springframeworkgroupId>
094   <artifactId>spring-ormartifactId>
095   <version>${org.springframework.version}version>
096 dependency>
097   
098
103 <dependency>
104   <groupId>org.springframeworkgroupId>
105   <artifactId>spring-oxmartifactId>
106   <version>${org.springframework.version}version>
107 dependency>
108   
109
114 <dependency>
115   <groupId>org.springframeworkgroupId>
116   <artifactId>spring-webartifactId>
117   <version>${org.springframework.version}version>
118 dependency>
119   
120
124 <dependency>
125   <groupId>org.springframeworkgroupId>
126   <artifactId>spring-webmvcartifactId>
127   <version>${org.springframework.version}version>
128 dependency>
129   
130
134 <dependency>
135   <groupId>org.springframeworkgroupId>
136   <artifactId>spring-webmvc-portletartifactId>
137   <version>${org.springframework.version}version>
138 dependency>
139   
140
144 <dependency>
145   <groupId>org.springframeworkgroupId>
146   <artifactId>spring-testartifactId>
147   <version>${org.springframework.version}version>
148   <scope>testscope>
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:

view source
print ?
01 <repository>
02     <id>com.springsource.repository.bundles.releaseid>
03     <name>EBR Spring Release Repositoryname>
04     <url>http:// repository.springsource.com/maven/bundles/releaseurl>
05 repository>
06 <repository>
07     <id>com.springsource.repository.bundles.externalid>
08     <name>EBR External Release Repositoryname>
09     <url>http:// repository.springsource.com/maven/bundles/externalurl>
10 repository>

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

转载于:https://www.cnblogs.com/skyme/archive/2011/08/30/2159893.html

你可能感兴趣的:(测试,java)