You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2024/07/29 13:50:21 UTC

(logging-log4j2) 07/12: Fix `generate-uber-jar` execution

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch fuzzing
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git

commit 8471a78d43c2553ff456e6093122d69de470e1cb
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Mon Jul 29 12:54:13 2024 +0200

    Fix `generate-uber-jar` execution
---
 log4j-parent/pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/log4j-parent/pom.xml b/log4j-parent/pom.xml
index d5c7ce5ad5..2d5decdd83 100644
--- a/log4j-parent/pom.xml
+++ b/log4j-parent/pom.xml
@@ -1109,7 +1109,8 @@
               <phase>package</phase>
               <configuration>
                 <createDependencyReducedPom>false</createDependencyReducedPom>
-                <minimizeJar>true</minimizeJar>
+                <!-- Minimization causes `@Plugin`-annotated classes to be omitted, hence disabling it: -->
+                <minimizeJar>false</minimizeJar>
                 <finalName>${project.artifactId}-${project.version}-uber</finalName>
                 <transformers>
                   <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />