系列四十八、通用pom

一、通用pom

1.1、基于maven构建聚合项目的父pom



    4.0.0
    
    
    
    org.star
    springboot-security
    0.0.1-SNAPSHOT
    springboot-security
    springboot-security
    pom

    
        1.8
        2.2.6.RELEASE
        2.3.2.RELEASE
        Hoxton.SR9
    
    
        
        
            org.springframework.boot
            spring-boot-starter
        

        
        
            org.springframework.boot
            spring-boot-starter-test
            test
        

        
        
            org.springframework.boot
            spring-boot-devtools
            runtime
            true
        

        
        
            org.projectlombok
            lombok
            1.18.30
        
        
            org.apache.commons
            commons-lang3
            3.13.0
        
        
            org.apache.commons
            commons-collections4
            4.4
        
        
            cn.hutool
            hutool-all
            5.8.21
        
        
            com.alibaba
            fastjson
            1.2.76
        
        
            com.alibaba.fastjson2
            fastjson2
            2.0.37
        
        
            com.fasterxml.jackson.core
            jackson-databind
        
        
            com.google.guava
            guava
            20.0
        
    

    
        
            
            
                com.alibaba.cloud
                spring-cloud-alibaba-dependencies
                ${spring.cloud.alibaba.version}
                pom
                import
            

            
            
                org.springframework.boot
                spring-boot-starter-parent
                ${spring.boot.starter.version}
                pom
                import
            

            
            
                org.springframework.cloud
                spring-cloud-dependencies
                ${spring.cloud.version}
                pom
                import
            
        
    

    
        
            
                org.springframework.boot
                spring-boot-maven-plugin
                
                    true
                
            
        
    


1.2、基于maven构建的Spring Boot项目pom



    4.0.0
    
        org.springframework.boot
        spring-boot-starter-parent
        2.3.2.RELEASE
         
    
    org.star
    springboot-helloworld
    0.0.1-SNAPSHOT
    springboot-helloworld
    springboot-helloworld
    
	
        8
    
	
    
		
        
            org.springframework.boot
            spring-boot-starter-web
        
        
            org.springframework.boot
            spring-boot-devtools
            runtime
            true
        
        
            org.springframework.boot
            spring-boot-starter-test
            test
        
		
        
            org.springframework.boot
            spring-boot-starter-security
        
        
        
            org.springframework.boot
            spring-boot-starter-data-redis
        
        
            org.springframework.session
            spring-session-data-redis
        
	
        
		
			org.projectlombok
			lombok
			true
		
		
			org.apache.commons
			commons-collections4
			4.1
		
		
			org.apache.commons
			commons-lang3
		
		
			org.apache.commons
			commons-pool2
		
		
			com.alibaba
			fastjson
			1.2.76
		
		
			com.alibaba.fastjson2
			fastjson2
			2.0.37
		
		
			com.fasterxml.jackson.core
			jackson-databind
		
		
			com.google.guava
			guava
			20.0
		
		
			com.alibaba.citrus
			citrus-springext-all
			3.2.4
		
		
			cn.hutool
			hutool-all
			5.7.22
						
    

    
        
            
                org.springframework.boot
                spring-boot-maven-plugin
                
                    
                        
                            org.projectlombok
                            lombok
                        
                    
                
            
        
    


1.3、Spring Boot项目常用依赖


	
	
		org.springframework.boot
		spring-boot-starter-web
	
	
		org.springframework.boot
		spring-boot-devtools
		runtime
		true
	
	
		org.springframework.boot
		spring-boot-starter-test
		test
	
	
		org.springframework.boot
		spring-boot-starter-json
	
	
		org.springframework.boot
		spring-boot-starter-validation
	
    
        org.springframework.boot
        spring-boot-starter-json
    
	
	
		org.springframework.boot
		spring-boot-starter-data-redis
	
	
		org.springframework.session
		spring-session-data-redis
	
 
	
	
		org.springframework.boot
		spring-boot-starter-jdbc
	
	
		mysql
		mysql-connector-java
	
	
		com.alibaba
		druid-spring-boot-starter
		1.2.21
	
	
		com.baomidou
		mybatis-plus-boot-starter
		3.4.1
	
 
	
	
		org.projectlombok
		lombok
		true
	
	
		org.apache.commons
		commons-collections4
		4.1
	
	
		org.apache.commons
		commons-lang3
	
	
		org.apache.commons
		commons-pool2
	
	
		com.alibaba
		fastjson
		1.2.76
	
	
		com.alibaba.fastjson2
		fastjson2
		2.0.37
	
	
		com.fasterxml.jackson.core
		jackson-databind
	
	
		com.google.guava
		guava
		20.0
	
	
		com.alibaba.citrus
		citrus-springext-all
		3.2.4
	
	
		cn.hutool
		hutool-all
		5.7.22
	
 
	
	
		io.springfox
		springfox-swagger2
		2.9.2
	
	
		io.springfox
		springfox-swagger-ui
		2.9.2
	
	
		io.springfox
		springfox-bean-validators
		2.9.2
	
	
		com.github.xiaoymin
		swagger-bootstrap-ui
		1.9.6
	
	
	
		io.swagger
		swagger-annotations
		1.5.21
	
	
		io.swagger
		swagger-models
		1.5.21
	
 

1.4、ssm项目常用pom


	
	
	
		org.springframework
		spring-aop
		5.3.4
	
	
		org.springframework
		spring-beans
		5.3.4
	
	
		org.springframework
		spring-context
		5.3.4
	
	
		org.springframework
		spring-core
		5.3.4
	
	
		org.springframework
		spring-expression
		5.3.4
	
	
		org.springframework
		spring-tx
		5.3.4
	
	
		org.springframework
		spring-test
		5.3.4
	
 
	
	
		org.springframework
		spring-webmvc
		5.3.4
	
    
		javax.servlet
		javax.servlet-api
		3.1.0
		provided
	
 
	
	
		org.mybatis
		mybatis
		3.5.11
	
	
		org.mybatis
		mybatis-spring
		2.1.0
	
	
		com.alibaba
		druid
		1.2.16
	
	
		mysql
		mysql-connector-java
		8.0.26
	
	
		org.springframework
		spring-jdbc
		5.3.4
	
 
	
	
		org.apache.shiro
		shiro-web
		1.12.0
	
	
		org.apache.shiro
		shiro-spring
		1.12.0
	
	
		org.apache.shiro
		shiro-ehcache
		1.8.0
	
 
	
	
		org.projectlombok
		lombok
		1.18.22
	
	
		org.slf4j
		slf4j-api
		1.7.32
	
	
		ch.qos.logback
		logback-classic
		1.2.10
	
 
	
	
		junit
		junit
		4.13.2
		test
	
	
		com.alibaba
		fastjson
		1.2.76
	
	
		org.apache.commons
		commons-collections4
		4.3
	
	
		org.apache.commons
		commons-lang3
		3.11
	
	
		cn.hutool
		hutool-all
		5.7.22
	
	
		com.fasterxml.jackson.core
		jackson-databind
		2.12.1
	

 

	
	
		
			src/main/java
			
				**/*.xml
			
		
		
			src/main/resources
		
	
 
	
		
			org.apache.maven.plugins
			maven-compiler-plugin
			3.10.1
			
				8
				8
				UTF-8
			
		
		
			org.springframework.boot
			spring-boot-maven-plugin
			
				
					
						org.projectlombok
						lombok
					
				
			
		
		
		
			org.apache.maven.plugins
			maven-surefire-plugin
			
				true
			
		
	

你可能感兴趣的:(开发环境系列,pom,Spring,Boot,SSM)