1
0

Add ossrh profile to publish maven artifacts to oss.sonatype.org (synced with maven central)

This commit is contained in:
Prasanna Rajaperumal
2016-12-21 12:47:01 -08:00
parent 74ae732ef1
commit e59dd48019
3 changed files with 3 additions and 11 deletions

View File

@@ -21,8 +21,8 @@
<servers>
<server>
<id>ossrh</id>
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
<username>${SONATYPE_USERNAME}</username>
<password>${SONATYPE_PASSWORD}</password>
</server>
</servers>
</settings>

View File

@@ -1,8 +0,0 @@
#!/usr/bin/env bash
set -e
SCRIPT_DIR=`dirname $0`
DEPLOY_DIR=$SCRIPT_DIR/..
openssl aes-256-cbc -pass pass:$gpg.passphrase -in $DEPLOY_DIR/pubring.gpg.enc -out pubring.gpg -d
openssl aes-256-cbc -pass pass:$gpg.passphrase -in $DEPLOY_DIR/secring.gpg.enc -out secring.gpg -d

View File

@@ -467,7 +467,7 @@
<id>ossrh</id>
<activation>
<property>
<name>performRelease</name>
<name>deployArtifacts</name>
<value>true</value>
</property>
</activation>