diff --git a/.kokoro/release.sh b/.kokoro/release.sh
index ffc31a87..2804846d 100644
--- a/.kokoro/release.sh
+++ b/.kokoro/release.sh
@@ -53,7 +53,6 @@ setup_environment_secrets
# Pick the right package to release based on the Kokoro job name.
cd ${KOKORO_ARTIFACTS_DIR}/github/functions-framework-java
create_settings_xml_file "settings.xml"
-cat settings.xml
echo "KOKORO_JOB_NAME=${KOKORO_JOB_NAME}"
if [[ $KOKORO_JOB_NAME == *"function-maven-plugin"* ]]; then
cd function-maven-plugin
diff --git a/function-maven-plugin/pom.xml b/function-maven-plugin/pom.xml
index a1678bd6..ee45a444 100644
--- a/function-maven-plugin/pom.xml
+++ b/function-maven-plugin/pom.xml
@@ -116,18 +116,6 @@
-
-
- sonatype-nexus-snapshots
- Sonatype Nexus Snapshots
- https://oss.sonatype.org/content/repositories/snapshots/
-
-
- sonatype-nexus-staging
- Nexus Release Repository
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
sonatype-oss-release