jar-plugin needs help finding the manifest
@@ -48,6 +48,9 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
<powermock.version>1.7.3</powermock.version>
<commons.pmd-plugin.version>3.8</commons.pmd-plugin.version>
+ <commons.manifestlocation>${project.build.outputDirectory}/META-INF</commons.manifestlocation>
+ <commons.manifestfile>${commons.manifestlocation}/MANIFEST.MF</commons.manifestfile>
+
<!-- only show issues of the current version -->
<commons.changes.onlyCurrentVersion>true</commons.changes.onlyCurrentVersion>
@@ -337,7 +340,7 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
- <manifestLocation>${project.build.outputDirectory}/META-INF</manifestLocation>
+ <manifestLocation>${commons.manifestlocation}</manifestLocation>
<instructions>
<Import-Package>org.tukaani.xz;resolution:=optional,org.brotli.dec;resolution:=optional,com.github.luben.zstd;resolution:=optional</Import-Package>
</instructions>
