Compare commits

...

2 Commits

Author SHA1 Message Date
dev_Hakaze 9b11636f7b
Merge 4fb3c9ca9a into 61400453cd 2026-08-01 05:44:12 +00:00
arimu1 4fb3c9ca9a 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>
2026-08-01 12:44:06 +07:00
1 changed files with 3 additions and 1 deletions

View File

@ -95,8 +95,10 @@
<filtering>true</filtering>
</resource>
<!-- Use each module's own LICENSE.txt (e.g. Apache-2.0 for jcl-over-slf4j
and log4j-over-slf4j) rather than the repo-root MIT LICENSE. -->
<resource>
<directory>..</directory>
<directory>${project.basedir}</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE.txt</include>