We should investigate ho extension artifacts are included in the integration, so far I've been investigating a few options:
leverage spring-boot toolchain to build a modular application:
the main application should be packages using the ZIP layout that uses PropertiesLauncher instead of JarLaumcher, this allow to load additional jars using loader.path
the extensions should be build packaged using the MODULE layout (or our own Layout as MODULE is deprecated and removed in spring-boot 2.0) so it includes also the dependencies (excluding those marked as provided)
the ProjectGenerator should generate an additional loader.properties file which lists the extensions
add extension as dependencies and pack them along with the spring boot application (we should check how dependencies packed with the extension are handled)
We should investigate ho extension artifacts are included in the integration, so far I've been investigating a few options:
leverage spring-boot toolchain to build a
modular
application:provided
)A quick example about this can be found here: https://github.com/lburgazzoli/spring-boot-extension-example