diff --git a/.kokoro/release/common.sh b/.kokoro/release/common.sh index d5738d430..a594cfb28 100755 --- a/.kokoro/release/common.sh +++ b/.kokoro/release/common.sh @@ -38,3 +38,26 @@ signing.gnupg.passphrase=${GPG_PASSPHRASE} ossrhUsername=${SONATYPE_USERNAME} ossrhPassword=${SONATYPE_PASSWORD}" > $1 } + +create_settings_xml_file() { + echo " + + + + ossrh + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-staging + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + + sonatype-nexus-snapshots + ${SONATYPE_USERNAME} + ${SONATYPE_PASSWORD} + + +" > $1 +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 49045e407..ec08f04cc 100644 --- a/pom.xml +++ b/pom.xml @@ -212,6 +212,10 @@ 8 + + -Xlint:unchecked + -Xlint:deprecation +