Spring boot application as dependency

前端 未结 1 1379
星月不相逢
星月不相逢 2021-02-20 10:49

My problem is that I have a multi module maven build where one part is generated by swagger as a spring boot application. The second module should extend on the code generated a

1条回答
  •  忘了有多久
    2021-02-20 11:34

    As stated here:

    https://happilyblogging.wordpress.com/2017/07/31/using-spring-boot-application-as-dependency-in-another-spring-boot-application-project/

    The problem is in the generated pom.xml.

    If I add the configuration part to the project1-api spring-boot plugin part, it works.

        
            org.springframework.boot
            spring-boot-maven-plugin
            
                
                    
                        repackage
                    
                    
                        exec
                    
                
            
        
    

    0 讨论(0)
提交回复
热议问题