hexagonal-spring-boot-java
This project is a template reference for hexagonal spring boot. This repository is to be used by app-generator for scaffolding.
The keywords of the app-generators are the following
packagename
- to rename the package namesartifactName
- to rename the artifact idExample
- to rename class, variables
Use it with caution as these will be used by the app-generator to replace them with domain specific name in the scaffold code.
Pre-requisite
- maven
- open jdk 17
How to build ?
mvn clean install
How to build a docker image ?
cd bootstrap && mvn compile jib:dockerBuild
How to start ?
cd bootstrap && mvn spring-boot:run
Formatting
This project uses git-code-format-maven-plugin for formatting the code per google style guide
How to format ?
mvn git-code-format:format-code
Validating
This project uses githook-maven-plugin which is a maven plugin to configure and install local git hooks by running set of commands during build.
Command to validate formatted code
mvn git-code-format:validate-code-format
Contribution guidelines
We are really glad you're reading this, because we need volunteer developers to help this project come to fruition.
Request you to please read our contribution guidelines