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

michaelsembwever pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-accord.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fff32de2 Inherit pom from apache parent
fff32de2 is described below

commit fff32de2e915772fbc70d16b1c32346313877838
Author: mck <[email protected]>
AuthorDate: Sun May 31 23:20:30 2026 +0200

    Inherit pom from apache parent
    
    Ensures artifacts can be uploaded to apache's nexus during release staging
    
     patch by mick semb wever; reviewed by David Capwell for CASSANDRA-21261
---
 accord-core/build.gradle | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/accord-core/build.gradle b/accord-core/build.gradle
index b30737c1..d8b2efc0 100644
--- a/accord-core/build.gradle
+++ b/accord-core/build.gradle
@@ -95,6 +95,12 @@ publishing {
       // see 
https://github.com/gradle/gradle/commit/6e596c638dff59dfa06032a7e7a3974275ddb3e1
       pom.withXml {
         asNode().dependencies.'*'.findAll() { it.artifactId.text() == 
accord_artifactId }.each() { it.parent().remove(it) }
+
+        // Add Apache parent POM
+        def parentNode = asNode().appendNode('parent')
+        parentNode.appendNode('groupId', 'org.apache')
+        parentNode.appendNode('artifactId', 'apache')
+        parentNode.appendNode('version', '31')
       }
       from components.java
       // don't need to add javadoc or sources as they were added already in 
the java block


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to