title: How to dynamically add static resources to spring-boot jar application?
body: <p>I have spring-boot application which creates catalog with html static pages. When I start application by command: <code>mvn spring-boot:run</code> everything works good (folder with static pages is created in <code>/resources/</code> catalog and client have access to pages) but I want have my app deployed as jar file and here I have my question, how can I achieve my goal? I understand that I can't add dynamically resources to jar but maybe I can create folder with resources next to my jar file and somehow add this folder to public resources so client could have access to html pages.</p>