dcapwell commented on code in PR #29:
URL: https://github.com/apache/cassandra-accord/pull/29#discussion_r1094885756
##########
accord-core/build.gradle:
##########
@@ -56,16 +56,39 @@ task testJar(type: Jar, dependsOn: testClasses) {
publishing {
publications {
mavenJava(MavenPublication) {
- artifactId = 'accord'
+ artifactId = accord_artifactId
pom {
+ name = 'Apache Cassandra Accord'
+ description = 'General purpose transactions library using a leaderless
consensus protocol to have highly available transactions'
+ url =
'https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-15%3A+General+Purpose+Transactions'
inceptionYear = '2021'
+ licenses {
+ license {
+ name = 'The Apache Software License, Version 2.0'
+ url = 'https://www.apache.org/licenses/LICENSE-2.0.txt'
+ }
+ }
+ scm {
+ connection =
'scm:https://gitbox.apache.org/repos/asf/cassandra-accord.git'
+ developerConnection =
'scm:https://gitbox.apache.org/repos/asf/cassandra-accord.git'
+ url =
'https://gitbox.apache.org/repos/asf?p=cassandra-accord.git;a=tree'
+ }
+ }
+ // This is a hack to remove accord from the dependency list as this
breaks Apache Cassandra
+ // This is a bug with Gradle that is fixed in 8.0 but not yet released
+ // see
https://github.com/gradle/gradle/commit/6e596c638dff59dfa06032a7e7a3974275ddb3e1
+ pom.withXml {
Review Comment:
as note states, once Gradle 8 comes out and we switch, we can drop this
logic (assuming the linked bug fix works)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]