I have a spring boot mavel multi-module project.
If the spring boot module depends on module A
and in the src/main/resources
folder of module A
there is a properties file or some other resource that I want bundled in the final spring boot app, how can I achieve this.
Currently, if I run jar -tf
on the module A JAR it includes the file:
jar -tf module-a/target/module-a-0.0.1-SNAPSHOT.jar | grep changelog
db/changelog/
db/changelog/db.changelog-master.yaml
However:
jar -tf boot-module/target/boot-module-0.0.1-SNAPSHOT.jar | grep changelog | wc -l
0
Thanks in advance for any advice.