Before for web development with .war output, there was option for modularization war overlays http://maven.apache.org/plugins/maven-war-plugin/overlays.html
Now with Spring Boot adopting jar packaging, how can make some shared web resources?
That is there is dependency on com.company.shared.web
module, with ,say, image
/com.company.shared.web/src/main/resources/static/images/background-image.png
How this image can be made to be available for running Spring boot app within main module? Maven standard dependency resolution will make only Java classes available.
P.S. Similar question, but for .war packaging was Spring Boot & Maven war overlay and not resolved https://github.com/spring-projects/spring-boot/issues/1030