Let\'s say I have 5 Spring Boot Projects. All of them have a Maven dependency on a Spring Boot project No 6 with some shared/common classes. 5 independent projects have a lo
Use PropertySource annotation and provide two sources for your app:
@PropertySources({
@PropertySource("classpath:app-common.properties"),
@PropertySource("classpath:app.properties")
})
more details can be found there https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html