This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.gitThe following commit(s) were added to refs/heads/master by this push:
new 07fa45b Remove the Class-Path from manifest of shaded JAR
07fa45b is described below
commit 07fa45b68fc32698225d7f7a0d8d363a10ad7dc7
Author: remm <
[hidden email]>
AuthorDate: Mon Feb 15 15:00:01 2021 +0100
Remove the Class-Path from manifest of shaded JAR
Otherwise Tomcat's annotation scanning produces errors when scanning the
tools because it tries to parse the classpath entries (which are bogus
since all the needed classes are relocated and included).
---
pom.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pom.xml b/pom.xml
index e791908..31e8978 100644
--- a/pom.xml
+++ b/pom.xml
@@ -283,6 +283,13 @@
<shadedPattern>org.apache.tomcat.jakartaee.bcel</shadedPattern>
</relocation>
</relocations>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <manifestEntries>
+ <Class-Path/>
+ </manifestEntries>
+ </transformer>
+ </transformers>
</configuration>
</execution>
</executions>
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]