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

cshannon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/main by this push:
     new 3bd3e31359 Fix javadoc on activemq-osgi (#2248)
3bd3e31359 is described below

commit 3bd3e31359173df843db5e3d7beb90968a183676
Author: JB Onofré <[email protected]>
AuthorDate: Fri Jul 24 16:26:59 2026 +0200

    Fix javadoc on activemq-osgi (#2248)
---
 activemq-osgi/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/activemq-osgi/pom.xml b/activemq-osgi/pom.xml
index 59c25439b6..eb70100180 100644
--- a/activemq-osgi/pom.xml
+++ b/activemq-osgi/pom.xml
@@ -139,6 +139,11 @@
         <configuration>
           <instructions>
             
<Bundle-Activator>org.apache.activemq.util.osgi.Activator</Bundle-Activator>
+            <!-- Strip any module-info.class dragged in via inlined 
multi-release jars.
+                 A stray META-INF/versions/9/module-info.class (e.g. slf4j's) 
would make
+                 tools such as the javadoc plugin treat this bundle as a JPMS 
module and
+                 build in modular mode, breaking the javadoc/attach-javadocs 
step. -->
+            <_donotcopy>(?:.*/)?module-info\.class</_donotcopy>
             <Embed-Dependency>
               *;groupId=org.apache.activemq;inline=META-INF/services/*,
               *;groupId=org.apache.activemq;inline=META-INF/versions/*,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to