Well I'm having a little problem I have a project where I'm using a project with Maven, Spring Boot. And inside maven I am dividing the modules [multi-modules] as
eg Persistence and Web
The Web module is dependent on the Persistence module. (Both use Spring Boot)
When I build the Web project, the application.properties project is overwritten when compiling giving preference to that used in the parent module .I can somehow pass the application.properties ( Persistence ) configuration so that application.properties Web ) to inherit the Persistence and also use your own application.properties ?
Ex. application.properties (Web):
Something as soon as you inherit the datasource
spring.recebeUmaTagAquiParaHerdar.datasource = true;
Three of Project:
| Build
| - pom.xml
|
| - persistence
| | - pom.xml
| | - application.properties
|
| - web
| | - pom.xml //Tem dependência do projeto persistence
| | - application.properties
Well thank you very much for the help right away.