diff --git a/build.gradle.kts b/build.gradle.kts index cf13c66ec05d..a3ef5e26c280 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,6 +60,8 @@ plugins { // define repo url val snapshotsRepoUrl = uri("https://repo-ofs.kyligence.com/repository/maven-snapshots/") val releasesRepoUrl = uri("https://repo-ofs.kyligence.com/repository/maven-releases/") +val asfTestNexusUsername: String by properties +val asfTestNexusPassword: String by properties allprojects { repositories { @@ -439,6 +441,17 @@ allprojects { fileMode = "664".toInt(8) } + // Deploy to Nexus without Signing + plugins.withType { + afterEvaluate { + configure { + // Note it would still try to sign the artifacts, + // however it would fail only when signing a RELEASE version fails + isRequired = false + } + } + } + tasks { configureEach { excludeJavaCcGenerated() @@ -908,8 +921,8 @@ allprojects { maven { url = finalUrl credentials { - username = "guoliang.sun" - password = "Sgl19960301" + username = asfTestNexusUsername + password = asfTestNexusPassword } } } diff --git a/gradle.properties b/gradle.properties index fcc83850c2b6..3001a30c5f17 100644 --- a/gradle.properties +++ b/gradle.properties @@ -27,7 +27,7 @@ systemProp.org.gradle.internal.publish.checksums.insecure=true # This is version for Calcite itself # Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts # Release version can be generated by using -Prelease or -Prc= arguments -calcite.version=1.30.0-kylin-4.x +calcite.version=1.30.0-kylin-4.x-r01 # This is a version to be used from Maven repository. It can be overridden by localAvatica below calcite.avatica.version=1.20.0