From 4fb3c9ca9a018b9b9042bc890c614b474cd197a3 Mon Sep 17 00:00:00 2001
From: arimu1 <19286898+arimu1@users.noreply.github.com>
Date: Sat, 1 Aug 2026 11:24:00 +0700
Subject: [PATCH] fix(build): package each module's LICENSE.txt into JAR
META-INF
Parent resources previously copied the repo-root MIT LICENSE into every
module JAR. Apache-2.0 modules (jcl-over-slf4j, log4j-over-slf4j) already
have the correct LICENSE.txt at the module root, but it was never packaged.
Use ${project.basedir}/LICENSE.txt so META-INF/LICENSE.txt matches the
module's declared license (Apache-2.0 or MIT).
Fixes #465
Signed-off-by: arimu1 <19286898+arimu1@users.noreply.github.com>
---
parent/pom.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/parent/pom.xml b/parent/pom.xml
index fcfb9bfb..227415a2 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -95,8 +95,10 @@
true
+
- ..
+ ${project.basedir}
META-INF
LICENSE.txt