jbonofre commented on code in PR #190:
URL: https://github.com/apache/polaris/pull/190#discussion_r1750144992


##########
build.gradle.kts:
##########
@@ -108,3 +108,31 @@ tasks.named<RatTask>("rat").configure {
 
   excludes.add("**/*.env*")
 }
+
+// Pass environment variables:
+//    ORG_GRADLE_PROJECT_apacheUsername
+//    ORG_GRADLE_PROJECT_apachePassword
+// OR in ~/.gradle/gradle.properties set
+//    apacheUsername
+//    apachePassword
+// Call targets:
+//    publishToApache
+//    closeApacheStagingRepository
+//    releaseApacheStagingRepository
+//       or closeAndReleaseApacheStagingRepository
+nexusPublishing {
+  transitionCheckOptions {
+    // default==60 (10 minutes), wait up to 120 minutes
+    maxRetries = 720
+    // default 10s
+    delayBetween = java.time.Duration.ofSeconds(10)
+  }
+
+  repositories {
+    register("apache") {
+      this.nexusUrl // TODO configure

Review Comment:
   Do you mean https://repository.apache.org ?
   
   It's used for staging and snapshots.
   The `stagingProfileId` is the one from the release managers, or the release 
bot. Right ?



##########
build-logic/src/main/kotlin/polaris-root.gradle.kts:
##########
@@ -57,3 +61,12 @@ if (System.getProperty("idea.sync.active").toBoolean()) {
     }
   }
 }
+
+extensions.getByType<PublishingHelperExtension>().apply {
+  asfProjectName = "polaris"
+
+  mailingLists.addAll("dev", "issues", "commits")
+
+  podlingPpmcAsfIds.addAll("anoop", "ashvin", "jackye", "russellspitzer", 
"snazy", "vvcephei")

Review Comment:
   I would add the mentors here (very selfish, but I would like to be on the 
list :) ).



-- 
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]

Reply via email to