Tag

propertieslauncher

0 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.

MavenSpring Bootbackend
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.

JavaMavenSpring Boot
0 likes · 6 min read
Custom Spring Boot Packaging with External Dependencies Using Maven Plugins