This is the source of dev.mbo:library-bom. This is meant for projects using my libraries and want to
stick to the latest versions.
Attention! This bom must not be used inside the libraries because that would be a circular dependency then.
see https://github.com/mbogner/spring-boot-bom for more details.
For example this prepares a release of 1.0.0 and a development version of 1.0.1-SNAPSHOT. Do NOT run it with the sample versions. This needs to be updated on every run.
./gradlew release -Prelease.useAutomaticVersion=true -Prelease.releaseVersion=1.0.0 -Prelease.newVersion=1.0.1-SNAPSHOTYou can skip -Prelease.releaseVersion=1.0.0 -Prelease.newVersion=1.0.1-SNAPSHOT to release the snapshot and
autoincrement.
Local:
./gradlew clean signMavenPublication publishToMavenLocalsee ~/.m2/repository/dev/mbo/library-bom for the created content
Release:
./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepositoryAll in One:
./gradlew clean signMavenPublication publishToMavenLocal publishToSonatype closeAndReleaseSonatypeStagingRepositoryBy running this you don't need to use the web interface to close and release the library.
see https://s01.oss.sonatype.org/content/groups/public/dev/mbo/