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> <servers>
<server> <server>
<id>ossrh</id> <id>ossrh</id>
<username>${env.SONATYPE_USERNAME}</username> <username>${SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password> <password>${SONATYPE_PASSWORD}</password>
</server> </server>
</servers> </servers>
</settings> </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> <id>ossrh</id>
<activation> <activation>
<property> <property>
<name>performRelease</name> <name>deployArtifacts</name>
<value>true</value> <value>true</value>
</property> </property>
</activation> </activation>