Skip to content

Commit 8777020

Browse files
committed
Publish milestones to Maven Central.
See #917
1 parent f2d1871 commit 8777020

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

ci/deploy-milestone.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22

33
set -euo pipefail
44

5-
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/vault" ./mvnw -s settings.xml -Pci,milestone,artifactory,release \
6-
-Dartifactory.server=https://repo.spring.io \
7-
-Dartifactory.username=${ARTIFACTORY_USR} \
8-
-Dartifactory.password=${ARTIFACTORY_PSW} \
9-
-Dartifactory.staging-repository=libs-milestone-local \
10-
-Dartifactory.build-name=spring-vault \
11-
-Dartifactory.build-number=${BUILD_NUMBER} \
5+
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/vault" ./mvnw -s settings.xml -Pci,central,release \
6+
-Dgpg.passphrase=${PASSPHRASE} \
7+
-Dgpg.secretKeyring=${GNUPGHOME}/secring.gpg \
128
clean deploy -U -B
139

1410
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/vault" ./mvnw -s settings.xml -Pdistribute \

ci/deploy-release.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ cp $KEYRING $GNUPGHOME
1111
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/vault" ./mvnw -s settings.xml -Pci,central,release \
1212
-Dgpg.passphrase=${PASSPHRASE} \
1313
-Dgpg.secretKeyring=${GNUPGHOME}/secring.gpg \
14-
-DstagingDescription="Releasing Spring Vault" \
1514
clean deploy -U -B
1615

1716
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/vault" ./mvnw -s settings.xml -Pdistribute \

0 commit comments

Comments
 (0)