ajantha-bhat commented on code in PR #135:
URL: https://github.com/apache/polaris-tools/pull/135#discussion_r2730255980


##########
iceberg-catalog-migrator/build.gradle.kts:
##########
@@ -77,3 +78,21 @@ tasks.named<RatTask>("rat").configure {
   // Rat can't scan binary images
   excludes.add("**/*.png")
 }
+
+configure<NexusPublishExtension> {
+  transitionCheckOptions {
+    // Increase timeout from default 1 minute
+    maxRetries.set(360)
+    delayBetween.set(java.time.Duration.ofSeconds(10))
+  }
+  repositories {
+    create("apache") {
+      nexusUrl.set(URI.create("https://repository.apache.org/service/local/";))
+      snapshotRepositoryUrl.set(
+        
URI.create("https://repository.apache.org/content/repositories/snapshots/";)
+      )
+      username.set(System.getenv("ASF_USERNAME") ?: 
findProperty("asfNexusUsername") as String?)
+      password.set(System.getenv("ASF_PASSWORD") ?: 
findProperty("asfNexusPassword") as String?)

Review Comment:
   Used the same plugin as main repo. So, it uses the same way now. 



##########
iceberg-catalog-migrator/build.gradle.kts:
##########
@@ -77,3 +78,21 @@ tasks.named<RatTask>("rat").configure {
   // Rat can't scan binary images
   excludes.add("**/*.png")
 }
+
+configure<NexusPublishExtension> {
+  transitionCheckOptions {
+    // Increase timeout from default 1 minute
+    maxRetries.set(360)
+    delayBetween.set(java.time.Duration.ofSeconds(10))
+  }
+  repositories {
+    create("apache") {

Review Comment:
   updated as per main repo. 



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