Hello together,
I look around and search for a solution to make Spring Boot Pluginable. What I want: I create a master Spring Boot Application Jar File. And another Spring Boot Application Jar File. Both Projects can run alone. But if desired the first Project can load the second as Plugin. Like PF4J but PF4J cannot load Spring Boot Jar files. Only normal Jar Files. If there is a possibility to use the JarLauncher to add a Path, to load additional Jar files, that will be perfect. So can Spring Boot be more modularized.
Thank you very much.
Comment From: philwebb
I'm afraid this is really out of scope for what we want to do with the JarLauncher. It will add complexity that I fear we wouldn't have time to maintain.
If you want to develop your own launcher, you can use the LayoutFactory interface. You can look at https://github.com/spring-projects-experimental/spring-boot-thin-launcher if you want to see it being used in a real project.