spring-boot : Exclude dependencies on packaging

前端 未结 2 1099
难免孤独
难免孤独 2020-12-16 06:07

I am working on a spring boot project ( Project A ) that would be included in other projects ( Project B, Project C ... ) . I have several dependencies in Project A, but in

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-16 06:22

    inside project B pom.xml you can do the following:

      
        ....
        
            com.example
            projectA
    
            
                
                    com.foo.bar
                    baz
                
                ....
            
        
        .....
       
    

提交回复
热议问题