aws-delivlib 14.3.48 → 14.3.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -108,11 +108,12 @@ echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
108
108
|
echo " Deploying and closing repository..."
|
|
109
109
|
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|
110
110
|
|
|
111
|
+
nexus_staging_maven_plugin_version='1.6.13'
|
|
111
112
|
staging_output="${workdir}/deploy-output.txt"
|
|
112
113
|
$mvn --settings=${mvn_settings} \
|
|
113
|
-
org.sonatype.plugins:nexus-staging-maven-plugin:
|
|
114
|
+
org.sonatype.plugins:nexus-staging-maven-plugin:${nexus_staging_maven_plugin_version}:deploy-staged-repository \
|
|
114
115
|
-DrepositoryDirectory=${staging} \
|
|
115
|
-
-DnexusUrl=${MAVEN_ENDPOINT:-https://oss.sonatype.org}
|
|
116
|
+
-DnexusUrl=${MAVEN_ENDPOINT:-https://oss.sonatype.org} \
|
|
116
117
|
-DserverId=ossrh \
|
|
117
118
|
-DautoReleaseAfterClose=true \
|
|
118
119
|
-DstagingProfileId=${STAGING_PROFILE_ID} | tee ${staging_output}
|
|
@@ -159,7 +160,7 @@ HERE
|
|
|
159
160
|
# Release!
|
|
160
161
|
release_output="${workdir}/release-output.txt"
|
|
161
162
|
$mvn --settings ${mvn_settings} -f ${release_pom} \
|
|
162
|
-
org.sonatype.plugins:nexus-staging-maven-plugin:
|
|
163
|
+
org.sonatype.plugins:nexus-staging-maven-plugin:${nexus_staging_maven_plugin_version}:release \
|
|
163
164
|
-DserverId=ossrh \
|
|
164
165
|
-DnexusUrl=${MAVEN_ENDPOINT:-https://oss.sonatype.org} \
|
|
165
166
|
-DstagingProfileId=${STAGING_PROFILE_ID} \
|