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

lhotari pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 05975453c09532320a9d6c5ee60d325adf4cef12
Author: Lari Hotari <[email protected]>
AuthorDate: Thu Oct 2 17:47:30 2025 +0300

    [fix][build] Fix maven deploy with maven-source-plugin 3.3.1 (#24811)
    
    (cherry picked from commit f5547dc13f091dc8aeb2a3867f483664c3f858b6)
---
 pulsar-client-all/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/pulsar-client-all/pom.xml b/pulsar-client-all/pom.xml
index 3d6040854e3..d4ec5f45799 100644
--- a/pulsar-client-all/pom.xml
+++ b/pulsar-client-all/pom.xml
@@ -468,6 +468,17 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <!-- this is required when maven-shade-plugin sets 
createSourcesJar to true -->
+            <id>attach-sources</id>
+            <phase>none</phase>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>

Reply via email to