springboot多模块创建项目

http://www.cnblogs.com/BaleW/p/9116847.html

  1. 新建一个mvn项目


    4.0.0

    com.siemens
    qmsplus
    0.1-SNAPSHOT
    pom

    
        gateway
        sdk
        dataschema
    

    
        
            
                org.springframework.boot
                spring-boot-starter-parent
                2.0.2.RELEASE
                pom
                import
            
        

    


  1. new-> module


    4.0.0

    com.siemens
    gateway
    0.1-SNAPSHOT
    jar

    gateway
    Demo project for Spring Boot

    
        com.siemens
        qmsplus
        1.0-SNAPSHOT
    

    
        UTF-8
        UTF-8
        1.8
    

    
        
            org.springframework.boot
            spring-boot-starter-data-jpa
        
        
            
            
        
        
            org.springframework.boot
            spring-boot-starter-jdbc
        
        
            org.springframework.boot
            spring-boot-starter-web
        
        
            mysql
            mysql-connector-java
        
        
            com.google.code.gson
            gson
            2.8.0
        
        
            
            
        
        
            org.springframework.boot
            spring-boot-starter-actuator
        

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

        

    

    
        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                3.1
                
                    1.8
                    1.8
                
            
            
                org.springframework.boot
                spring-boot-maven-plugin
            
        
    





你可能感兴趣的:(springboot多模块创建项目)