maven引入spring4.x所有依赖

阅读更多

 

参考spring-framework-4.3.7.RELEASE-dist.zip中的内容

 


		
			central
			Central Repository
			
			http://repo1.maven.org/maven2/
			default
			
				false
			
		
		      
            com.springsource.repository.bundles.release      
            EBR Spring Release Repository      
            http://repository.springsource.com/maven/bundles/release      
              
              
            com.springsource.repository.bundles.external      
            EBR External Release Repository      
            http://repository.springsource.com/maven/bundles/external      
        
	

  


	4.3.7.RELEASE


	
	
		org.springframework
		spring-aop
		${org.springframework.version}
	
	
		org.springframework
		spring-aspects
		${org.springframework.version}
	
	
		org.springframework
		spring-beans
		${org.springframework.version}
	
	
		org.springframework
		spring-context
		${org.springframework.version}
	
	
		org.springframework
		spring-context-support
		${org.springframework.version}
	
	
		org.springframework
		spring-core
		${org.springframework.version}
	
	
		org.springframework
		spring-expression
		${org.springframework.version}
	
	
		org.springframework
		spring-instrument
		${org.springframework.version}
	
	
		org.springframework
		spring-instrument-tomcat
		${org.springframework.version}
	
	
		org.springframework
		spring-jdbc
		${org.springframework.version}
	
	
		org.springframework
		spring-jms
		${org.springframework.version}
	
	
		org.springframework
		spring-messaging
		${org.springframework.version}
	
	
		org.springframework
		spring-orm
		${org.springframework.version}
	
	
		org.springframework
		spring-oxm
		${org.springframework.version}
	
	
		org.springframework
		spring-test
		${org.springframework.version}
	
	
		org.springframework
		spring-tx
		${org.springframework.version}
	
	
		org.springframework
		spring-web
		${org.springframework.version}
	
	
		org.springframework
		spring-webmvc
		${org.springframework.version}
	
	
		org.springframework
		spring-webmvc-portlet
		${org.springframework.version}
	
	
		org.springframework
		spring-websocket
		${org.springframework.version}
	
	

 

这样引入可能不太好,比如你引入spring-webmvc,maven会自动引入其他依赖,

但我喜欢这样,先引入所有依赖,

 

spring4.x引入所有命名空间xmlns xsi:schemaLocation

http://happyqing.iteye.com/blog/2303238

 

你可能感兴趣的:(maven,spring,4.x,所有,依赖)