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

lukaszlenart pushed a commit to branch WW-5791-struts-boot
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 54f5a7420ed131a47c4052dab75c342a166333b8
Author: Lukasz Lenart <[email protected]>
AuthorDate: Fri Oct 23 13:16:24 2026 +0200

    WW-5791 fix(boot): skip deploying boot-hello and mark its jar Multi-Release
    
    The shaded example jar merges dependency LICENSE/NOTICE files, so it is
    not deployed. The manifest declares Multi-Release because log4j-api and
    Tomcat are multi-release jars. The redundant version is inherited.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 apps/boot-hello/pom.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/apps/boot-hello/pom.xml b/apps/boot-hello/pom.xml
index d6b043b6d..772e08205 100644
--- a/apps/boot-hello/pom.xml
+++ b/apps/boot-hello/pom.xml
@@ -29,10 +29,13 @@
 
     <artifactId>struts2-boot-hello</artifactId>
     <packaging>jar</packaging>
-    <version>7.5.0-SNAPSHOT</version>
     <name>Struts 2 Boot Hello</name>
     <description>Struts Boot example application packaged as a runnable 
jar</description>
 
+    <properties>
+        <maven.deploy.skip>true</maven.deploy.skip>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.struts</groupId>
@@ -68,6 +71,9 @@
                             <transformers>
                                 <transformer 
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                                     
<mainClass>org.apache.struts2.boot.hello.HelloApp</mainClass>
+                                    <manifestEntries>
+                                        <Multi-Release>true</Multi-Release>
+                                    </manifestEntries>
                                 </transformer>
                                 <transformer 
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
                             </transformers>

Reply via email to