Skip to content

Publishing

PJ Fanning edited this page Apr 2, 2022 · 9 revisions

Current versions with gradle build

The releases and snapshots are now built with Gradle automatically using Github Actions. Releases are done by adding Git labels with labels like 'v4.0.0'. The label should match the version number in the build.gradle file (with the 'v' prefix added).

Old versions with maven build

export GPG_TTY=$(tty)

./mvnw install

./mvnw gpg:sign-and-deploy-file -DpomFile=target/excel-streaming-reader-3.0.2.pom -Dfile=target/excel-streaming-reader-3.0.2.jar -Dsources=target/excel-streaming-reader-3.0.2-sources.jar -Djavadoc=target/excel-streaming-reader-3.0.2-javadoc.jar -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging

Clone this wiki locally