BPMN outside jar file

Hi!
I have camunda spring boot application. All bpmn stored in folder “resources”.
I build jar file, all bpmn inside jar file. I want BPMN store in external folder, then I’ll can replace and add new BPMN without rebuild jar.
How do it? Which settings?

@1117

if you have added camunda-bpm-spring-boot-starter-rest dependency to your application, you can deploy the bpmn file using REST api. You no need to keep the bpmn files as part of resources folder. It will directly store the bpmn file in database as bytearray.