Skip to content

mllopis11/spring-bootstrap

Repository files navigation

Bootstrap for Java Projects

Utility library for the most common operations used in java projects.

Components Versions
JDK 17
Maven 3.6.3 or higher
GIT for Windows Git Tooling (bash on windows)

Notes:

  • Prefer installation thru the archive (ZIP or Tarball) instead of Windows installer. By this way, you can control where the software are installed and do not pollute the windows registry.
Projects Descriptions
bootstrap-dependencies Dependencies management versions
bootstrap-builder Spring-Bootstrap project builder
bootstrap-parent Bootstrap Parent POM (bootstrap-springboot dependency automatically included)
bootstrap-springboot Spring boot application core implementation
bootstrap-utilities Helper classes (independent from springboot)
samples Implementation examples

Maven

Local repository installation

$ git clone https://github.com/mllopis11/spring-bootstrap.git [--branch <branchname>]
$ cd java-bootstrap
$ mvn clean install

Release (Batch Mode)

  1. Set the next development version if needed
$ # Set the next development version if needed (do not set for auto versioning)
$ nextSnapshotVersion=2.0-SNAPSHOT
  1. (Optional) Execute dry-run to verify the release then clean
$ mvn -B release:prepare -DdryRun=true [-DdevelopmentVersion=${nextSnapshotVersion}]
# Manual check
$ mvn release:clean
  1. Perform the Release
$ mvn -B release:prepare [-DdevelopmentVersion=${nextSnapshotVersion}]
$ mvn -B release:perform