Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.62 KB

Build and Deploy.md

File metadata and controls

56 lines (46 loc) · 1.62 KB

See http://central.sonatype.org/pages/ossrh-guide.html http://central.sonatype.org/pages/apache-maven.html see https://confluence.baloisenet.com/confluence/display/java/Baloise+Open+Source+Accounts

GPG setup

MVN settings <gpg.passphrase>****</gpg.passphrase>

Install gnupg Copy keys to %home%.gnupg

Deploy plugin setup MVN settings sonatype-nexus-snapshots sonatype-nexus-staging

Performing a Snapshot Deployment

mvn clean deploy

Performing a Release Deployment

mvn versions:set -DnewVersion=1.2.3 mvn clean install -P release Once you have updated all the versions and ensured that your build passes without deployment you can perform the deployment with the usage of the release profile with mvn clean deploy -P release

if this fails (proxy) try

set MAVEN_OPTS=-Dhttps.proxyHost=webproxy -Dhttps.proxyPort=1234 -Dhttps.proxyUser=user -Dhttps.proxyPassword=pass or just do the following cd target jar -cvf bundle.jar solr* then follow http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html

Stage to central

mvn nexus-staging:release via maven is not working for me via web gui https://oss.sonatype.org/#stagingRepositories see http://central.sonatype.org/pages/releasing-the-deployment.html#locate-and-examine-your-staging-repository

Maven central entry: https://repo1.maven.org/maven2/com/baloise/maven/solr-maven-plugin/