Tag

propertieslauncher

1 views collected around this technical thread.

macrozheng
macrozheng
Feb 6, 2024 · Backend Development

How to Package Spring Boot Apps with External Dependencies Using Maven

This article explains how to package a Spring Boot application so that its dependencies are stored externally and loaded at runtime using Maven plugins and the PropertiesLauncher, enabling easy replacement of individual libraries without rebuilding the entire fat jar.

BackendMavenSpring Boot
0 likes · 6 min read
How to Package Spring Boot Apps with External Dependencies Using Maven
Code Ape Tech Column
Code Ape Tech Column
Jan 31, 2024 · Backend Development

Custom Spring Boot Packaging with External Dependencies Using Maven Plugins

This article explains how to create a Spring Boot fat‑jar that externalizes its dependencies by configuring the spring‑boot‑maven‑plugin and maven‑assembly‑plugin to produce a ZIP layout, then uses the PropertiesLauncher with loader.path to load libraries from a separate libs directory at runtime.

Backend DevelopmentJavaMaven
0 likes · 6 min read
Custom Spring Boot Packaging with External Dependencies Using Maven Plugins
Code Ape Tech Column
Code Ape Tech Column
Jan 6, 2023 · Backend Development

Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies

This article explains how to create a Spring Boot package that keeps dependencies external by configuring the spring-boot-maven-plugin and maven-assembly-plugin, using a ZIP layout and PropertiesLauncher, so the application can be started with a custom loader.path that points to a libs directory.

Backend DevelopmentFat JarJava
0 likes · 6 min read
Custom Spring Boot Packaging: Using spring-boot-maven-plugin and maven-assembly-plugin to Separate Dependencies