- Build - mvn clean install
- Run - ./run.sh or mvn spring-boot:run
- Check
This tiny project is a sample of usage:
- Java 13
- Spring Boot
- Spring Data
- REST JSON Request/Response
- Protocol Buffers version 3
- Lombok
- Liquibase
- Logback
- DBUnit
- Checkstyle
- PMD
- PostgreSQL
- HSQLDB
- Maven
Prints which changesets need to be applied to the database.
mvn liquibase:status
Before update run this and check SQL-script in /target/liquibase/migrate.sql
mvn liquibase:updateSQL
mvn liquibase:update -e -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
Before rollback run this and check SQL-script in /target/liquibase/migrate.sql
mvn liquibase:rollbackSQL -Dliquibase.rollbackCount=1
mvn liquibase:rollback -Dliquibase.rollbackTag=01.00.00 -e -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
Rollback the one step back
mvn liquibase:rollback -Dliquibase.rollbackCount=1