Skip to content

mbogner/library-bom

library-bom

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.

Release

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-SNAPSHOT

You can skip -Prelease.releaseVersion=1.0.0 -Prelease.newVersion=1.0.1-SNAPSHOT to release the snapshot and autoincrement.

Build

Local:

./gradlew clean signMavenPublication publishToMavenLocal

see ~/.m2/repository/dev/mbo/library-bom for the created content

Release:

./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository

All in One:

./gradlew clean signMavenPublication publishToMavenLocal publishToSonatype closeAndReleaseSonatypeStagingRepository

By 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/

Web Process

https://s01.oss.sonatype.org

About

BOM for applications using my libs.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors

Languages