Springboot多模块搭建 一parent构建

parent

项目结构

Springboot多模块搭建 一parent构建_第1张图片
image.png

maven结构

Springboot多模块搭建 一parent构建_第2张图片
image.png

pom




    4.0.0

    com.project
    parent
    0.0.1-SNAPSHOT


    
        pojo
        dao
        service
        web
    


    pom

    parent
    Demo project for Spring Boot

    
        org.springframework.boot
        spring-boot-starter-parent
        2.0.5.RELEASE
         
    



    
        UTF-8
        UTF-8
        1.8
        true
    

    
        
            
                org.springframework.boot
                spring-boot-starter-data-redis
                2.0.4.RELEASE
            
            
                org.springframework.boot
                spring-boot-starter-freemarker
            
            
                org.springframework.boot
                spring-boot-starter-jdbc
                2.0.4.RELEASE
            
            
                org.springframework.boot
                spring-boot-starter-web
            
            
                org.mybatis.spring.boot
                mybatis-spring-boot-starter
                1.3.2
            

            
                mysql
                mysql-connector-java
                5.1.46
                runtime
            

            
                org.springframework.session
                spring-session-data-redis
                2.0.6.RELEASE
            

            
                org.springframework.boot
                spring-boot-starter-web
                2.0.4.RELEASE
            


        
    


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

        
            org.springframework.boot
            spring-boot-devtools
            runtime
        

        
            org.projectlombok
            lombok
            true
        
    


你可能感兴趣的:(Springboot多模块搭建 一parent构建)