Parent pom and microservices

后端 未结 6 1187
礼貌的吻别
礼貌的吻别 2020-12-14 16:23
  • We have several projects that are microservices, every project is independent (running on separate spring boot server, exposing rest services, using separate DB schema
6条回答
  •  南笙
    南笙 (楼主)
    2020-12-14 17:04

    Here there is one issue with dependency and dependency management. Say one of your micro service wants to upgrade to newer version of common for some reason...you cant do that as you have parent. I do understand temptation of reducing duplication of redundant things like plugin configuration. In micro service we need to think more about independence of each service.

    Some config like say your repository or release configuration etc can be common.

提交回复
热议问题