Lombok features demo one-module project, created as practical part of Lombok training.
./mvnwAccording to Maven pom build/defaultGoal section, this command is actually an alias for command:
./mvnw verify spring-boot:run Delombok is a way to view lombok application result as a code-gen.
Sources delombok action attached via Maven to process-sources life-cycle phase by ant-run plugin. So, for delombok source code, placed in src/main/java, you should tap this command in terminal:
./mvnw clean generate-sourcesThen you can view delombok result in target/generated-sources/delomboked folder (if you use IntelliJ IDEA, you should unmark this directory if it automatically marked as "generated source root", to avoid class conflicts).
Test sources delombok action attached to process-test-sources phase. So, for delombok sources and tests, placed in src/main/java and src/test/java respectively, tap this command in terminal:
./mvnw clean generate-test-sourcesThen you can view delombok results in target/generated-sources/delomboked and target/generated-test-sources/delomboked folders respectively (if you use IntelliJ IDEA, you should unmark this directories if it automatically marked as "generated source root", to avoid class conflicts).
Then go to http://localhost:8080/swagger-ui.html for swagger-ui
Use user as a login and see logs for automatically-generated password (every start it'll be different).
- First example - package
ru.vlapin.demo.lombokdemo.first.example.* - Stable features demo - package
ru.vlapin.demo.lombokdemo.stable.* - Experimental features demo - package
ru.vlapin.demo.lombokdemo.experimental.* - Example of realization of homework №6 of OTUS Java course:
ru.vlapin.demo.lombokdemo.homeworks.O6.* - Example of AOP -
@Loggableannotation aspect -ru.vlapin.demo.lombokdemo.common.Loggable - OpenFeign and OpenAPI-Generator example by using http://jsonplaceholder.typicode.com/ site API