mirror of https://github.com/qos-ch/slf4j
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
This commit is contained in:
parent
61400453cd
commit
336831763d
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue