Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 708 Bytes

BUILD.md

File metadata and controls

35 lines (23 loc) · 708 Bytes

Build

mvn package

Deploy to Sonatype

mvn deploy -P sign,release [--settings ../../.m2/settings2.xml]

Release to Maven Central

Prepare:

mvn release:clean release:prepare

If it fails because it cannot push:

Go to 'Prepare the bundle manually'

Else If it fails for other reason:

mvn release:rollback

mvn release:clean

Else Perform:

mvn release:perform

Prepare the bundle manually https://stackoverflow.com/questions/28846802/how-to-manually-publish-jar-to-maven-central

cd target jar -cvf bundle.jar realitycheck-* Upload to https://oss.sonatype.org/#staging-upload Release from https://oss.sonatype.org/#stagingRepositories