spring内部各模块jar包依赖

分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

               

对于spring内部各模块的jar包依赖关系可以通过eclipse的maven插件的dependency hierarchy视图进行形象地查看。下图就列举了3.0.5版本一些重要jar包之间的依赖关系:

spring内部各模块jar包依赖_第1张图片

上一篇文章提到的关于同一框架多jar包配置的最佳实践中提到,如果工程中使用到了多个spring的jar包,最好全部声明出来,不要试图通过spring内部的包依赖关系自动解析,而在pom中省去一些包的依赖声明,这有可能会导致其他包的版本变得不确定。以下是从spring官网上摘录的一份spring全配置参照:

<properties>    <org.springframework.version>3.0.5.RELEASEorg.springframework.version>properties><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-coreartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-expressionartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-beansartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-aopartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-contextartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-context-supportartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-txartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-jdbcartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-ormartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-oxmartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-webartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-webmvcartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-webmvc-portletartifactId<version>${org.springframework.version}version>dependency><dependency>  <groupId>org.springframeworkgroupId<artifactId>spring-testartifactId<version>${org.springframework.version}version<scope>testscope>dependency>


           

给我老师的人工智能教程打call!http://blog.csdn.net/jiangjunshow

spring内部各模块jar包依赖_第2张图片

你可能感兴趣的:(spring内部各模块jar包依赖)