7.spring-boot依赖详解

spring-boot
1.初始
基础
    spring-jcl
    spring-core
    spring-beans
    spring-context
    spring-aop
    ....
web模块
    spring-web
    spring-webmvc
数据库
    mysql-connection-java-8.0.11
mybatis模块
    mybatis-3.4.0
    mybatis-spring-1.3.0


2.spring-boot.jar-> spring-boot-parent.pom
	
		
		
			org.springframework
			spring-core
		
		
			org.springframework
			spring-context
		
		
		
			ch.qos.logback
			logback-classic
			true
		
        ......
    

3.1 spring-boot-starter.jar基础-> spring-boot-starters.pom
	
		
			org.springframework.boot
			spring-boot
		
		
			org.springframework.boot
			spring-boot-autoconfigure
		
		
			org.springframework.boot
			spring-boot-starter-logging
		
		
			org.springframework
			spring-core
			
				
					commons-logging
					commons-logging
				
			
		
		
			org.yaml
			snakeyaml
			runtime
		
	

3.2 spring-boot-starter-data-jpa.jar数据库-> spring-boot-starters.pom
    	
		
			org.springframework.boot
			spring-boot-starter
		
		
			org.springframework.boot
			spring-boot-starter-aop
		
		
			org.springframework.boot
			spring-boot-starter-jdbc
		
		
			org.hibernate
			hibernate-core
			
				
					org.apache.geronimo.specs
					geronimo-jta_1.1_spec
				
			
		
		
			org.hibernate
			hibernate-entitymanager
			
				
					org.apache.geronimo.specs
					geronimo-jta_1.1_spec
				
			
		
		
			javax.transaction
			javax.transaction-api
		
		
			org.springframework.data
			spring-data-jpa
			
				
					org.aspectj
					aspectjrt
				
			
		
		
			org.springframework
			spring-aspects
		
	

3.3 spring-boot-starter-web.jar servlet-> spring-boot-starters.pom
    
		
			org.springframework.boot
			spring-boot-starter
		
		
			org.springframework.boot
			spring-boot-starter-tomcat
		
		
			org.hibernate
			hibernate-validator
		
		
			com.fasterxml.jackson.core
			jackson-databind
		
		
			org.springframework
			spring-web
		
		
			org.springframework
			spring-webmvc
		
	

3.4 spring-boot-starter-tomcat.jar服务器->spring-boot-starters.pom
    
		
			org.apache.tomcat.embed
			tomcat-embed-core
		
		
			org.apache.tomcat.embed
			tomcat-embed-el
		
		
			org.apache.tomcat.embed
			tomcat-embed-websocket
		
	

3.5 spring-boot-starter-data-redis.jar第三方工具-> spring-boot-starters.pom
    
		
			org.springframework.boot
			spring-boot-starter
		
		
			org.springframework.data
			spring-data-redis
		
		
			redis.clients
			jedis
		
	

3.6.1.1 mybatis-spring-boot-starter.jar整合第三方-> mybatis-spring-boot.pom
    
        org.mybatis.spring.boot
        mybatis-spring-boot
        1.1.1
    
    mybatis-spring-boot-starter
    mybatis-spring-boot-starter
    
        
            org.mybatis.spring.boot
            mybatis-spring-boot-autoconfigure
            1.1.1
        
    

3.6.1.2 mybatis-spring-boot-autoconfigure.jar-> mybatis-spring-boot.pom
    
		
			org.mybatis
			mybatis
			${mybatis.version}
		
		
			org.mybatis
			mybatis-spring
			${mybatis-spring.version}
		
		
			org.springframework.boot
			spring-boot
		
		
			org.springframework.boot
			spring-boot-autoconfigure
		
		
			org.springframework.boot
			spring-boot-starter-jdbc
		
		
		
			org.springframework.boot
			spring-boot-configuration-processor
			true
		
		
			
		
			com.h2database
			h2
			test
		
		
			junit
			junit
			test
		
	

3.6.2 mybatis-spring-boot.pom-> mybatis-parent.pom
    
        mybatis-spring-boot-autoconfigure
        mybatis-spring-boot-starter
        mybatis-spring-boot-samples
    
    
        
            
                org.springframework.boot
                spring-boot-dependencies
                ${spring-boot.version}
                pom
                import
            
        
    

3.6.3 mybatis-parent.pom


4.spring-boot-starters.pom-> spring-boot-parent.pom
	
		spring-boot-starter
		spring-boot-starter-activemq
		spring-boot-starter-amqp
		spring-boot-starter-aop
		spring-boot-starter-artemis
		spring-boot-starter-batch
		spring-boot-starter-cache
		spring-boot-starter-cloud-connectors
		spring-boot-starter-data-cassandra
		spring-boot-starter-data-couchbase
		spring-boot-starter-data-elasticsearch
		spring-boot-starter-data-gemfire
		spring-boot-starter-data-jpa
		spring-boot-starter-data-ldap
		spring-boot-starter-data-mongodb
		spring-boot-starter-data-neo4j
		spring-boot-starter-data-redis
		spring-boot-starter-data-rest
		spring-boot-starter-data-solr
		spring-boot-starter-freemarker
		spring-boot-starter-groovy-templates
		spring-boot-starter-hateoas
		spring-boot-starter-integration
		spring-boot-starter-jdbc
		spring-boot-starter-jersey
		spring-boot-starter-jetty
		spring-boot-starter-jooq
		spring-boot-starter-jta-atomikos
		spring-boot-starter-jta-bitronix
		spring-boot-starter-jta-narayana
		spring-boot-starter-logging
		spring-boot-starter-log4j2
		spring-boot-starter-mail
		spring-boot-starter-mobile
		spring-boot-starter-mustache
		spring-boot-starter-actuator
		spring-boot-starter-parent
		spring-boot-starter-security
		spring-boot-starter-social-facebook
		spring-boot-starter-social-twitter
		spring-boot-starter-social-linkedin
		spring-boot-starter-remote-shell
		spring-boot-starter-test
		spring-boot-starter-thymeleaf
		spring-boot-starter-tomcat
		spring-boot-starter-undertow
		spring-boot-starter-validation
		spring-boot-starter-web
		spring-boot-starter-websocket
		spring-boot-starter-web-services
	

5.1 spring-boot-parent.pom-> spring-boot-dependencies.pom
	
		
			
				org.springframework.boot
				spring-boot-test-support
				1.5.9.RELEASE
			

			
			 
				log4j
				log4j
				1.2.17
			
			
				com.google.guava
				guava
				18.0
			
			
				com.squareup.okhttp
				okhttp
				2.7.5
			
			
				com.squareup.okhttp3
				okhttp
				3.4.1
			
			
				com.vaadin.external.google
				android-json
				0.0.20131108.vaadin1
			
			
				io.netty
				netty-all
				4.0.38.Final
			
			
				io.spring.gradle
				dependency-management-plugin
				1.0.3.RELEASE
			
			
				jline
				jline
				2.11
			
            ......
        
    

5.2 spring-boot-starter-parent.pom-> spring-boot-dependencies.pom
    
		1.6
		@ 
		UTF-8
		UTF-8
		${java.version}
		${java.version}
	
    
		
			
				org.springframework
				spring-core
				${spring.version}
				
					
						commons-logging
						commons-logging
					
				
			
		
	
	
		
		
			
				${basedir}/src/main/resources
				true
				
					**/application*.yml
					**/application*.yaml
					**/application*.properties
				
			
			
				${basedir}/src/main/resources
				
					**/application*.yml
					**/application*.yaml
					**/application*.properties
				
			
		
    

5.2.1 spring-cloud-starter-parent.pom-> spring-boot-starter-parent.pom
    
		
			
				org.springframework.cloud
				spring-cloud-dependencies
				${spring-cloud.version}
				pom
				import
			
		
	

6.spring-boot-dependencies.pom
	
		
			
			
				org.springframework.boot
				spring-boot
				1.5.9.RELEASE
			
			
				org.springframework.boot
				spring-boot
				test-jar
				1.5.9.RELEASE
			
            
				org.springframework.boot
				spring-boot-autoconfigure
				1.5.9.RELEASE
			
            
				org.springframework.boot
				spring-boot-starter-data-jpa
				1.5.9.RELEASE
			
            
				org.springframework.boot
				spring-boot-starter-data-mongodb
				1.5.9.RELEASE
			
			
				org.springframework.boot
				spring-boot-starter-data-redis
				1.5.9.RELEASE
			
            
				org.springframework.boot
				spring-boot-starter-jdbc
				1.5.9.RELEASE
			
            
				org.springframework.boot
				spring-boot-starter-tomcat
				1.5.9.RELEASE
			
            
				org.springframework.boot
				spring-boot-starter-web
				1.5.9.RELEASE
			
			
				org.springframework.boot
				spring-boot-starter-websocket
				1.5.9.RELEASE
			
            ......

            
			
				antlr
				antlr
				${antlr2.version}
			
			
				ch.qos.logback
				logback-access
				${logback.version}
			
			
				ch.qos.logback
				logback-classic
				${logback.version}
			
			
				ch.qos.logback
				logback-core
				${logback.version}
			
            ......
        
    

你可能感兴趣的:(#,maven,spring,mybatis,java)