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

ppkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/commons-xml.git

commit 7bd2e894db19a0b178bbc55fb68cebf1fbdc73f5
Author: Piotr P. Karwasz <[email protected]>
AuthorDate: Wed Jun 10 11:15:03 2026 +0200

    Skip the inherited source-release assembly (#19)
    
    Deploying with the release profile failed in assembly:single because the
    inherited execution looks for the ASF src/assembly/src.xml descriptor,
    which this project does not ship. We publish to Maven Central directly
    rather than cutting an ASF source release, so this change skips the
    assembly entirely via skipAssembly.
    
    Assisted-By: Claude Opus 4.8 (1M context) <[email protected]>
---
 pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/pom.xml b/pom.xml
index 65b1f72..9a7296a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -107,6 +107,12 @@
     <!-- We use Central and the `deploy` goal auto-detection does not 
currently work with it -->
     <cyclonedx.skipNotDeployed>false</cyclonedx.skipNotDeployed>
 
+    <!--
+      Skip the source-release assembly inherited from the release profile: it 
expects the ASF
+      src/assembly/src.xml descriptor, and we publish to Central rather than 
cutting an ASF release.
+    -->
+    <assembly.skipAssembly>true</assembly.skipAssembly>
+
     <!-- Flatten Maven plugin: produces a consumer POM at deploy time. -->
     <flatten-maven-plugin.version>1.7.3</flatten-maven-plugin.version>
   </properties>

Reply via email to