springboot 本地jar发布,打war包

1、pom 这样写:


        ${finalName}
        
            
                org.springframework.boot
                spring-boot-maven-plugin
                
                
                    true
                
            
            
                org.apache.maven.plugins
                maven-war-plugin
                
                    
                        
                            ${project.basedir}/src/libs
                            WEB-INF/lib/
                            
                                **/*.jar
                            
                        
                    
                
            
        

    

  


        
            com.luban
            workflow-comment
            0.0.2-SNAPSHOT
            system
            ${project.basedir}/src/libs/workflow-comment-0.0.2-SNAPSHOT.jar
        
        
            com.luban
            workflow-common
            0.0.2-SNAPSHOT
            system
            
            ${project.basedir}/src/libs/workflow-common-0.0.2-SNAPSHOT.jar
        
        
            com.baomidou
            mybatis-plus-boot-starter
            ${mybatis-plus.version}
        
        

  springboot 本地jar发布,打war包_第1张图片

 

你可能感兴趣的:(springboot 本地jar发布,打war包)