include application-properties from multiple modules in maven multi-module spring-boot executable jar

帅比萌擦擦* 提交于 2021-01-28 10:58:32

问题


we have a maven multi-module pom project with a core-module where i want to keep common application.properties, like database-access, email-gateways etc. Is it possible to integrate those application*.properties in the executable jar of the other modules as well (jars built by spring-boot-maven-plugin)?

when taking a look into the built jar, you can see that only the module's resources are integrated, all other modules are ignored.

Thanks

来源:https://stackoverflow.com/questions/49856000/include-application-properties-from-multiple-modules-in-maven-multi-module-sprin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!