snazy commented on code in PR #135:
URL: https://github.com/apache/polaris-tools/pull/135#discussion_r2726573578
##########
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:
This introduces a new, different way from how the creds are passed in the
main Polaris repo, can you please align with that and use the same names.
##########
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:
```suggestion
register("apache") {
```
--
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]