Lombok - SirajChaudhary/comprehensive-example-on-microservices-using-spring-boot-with-spring-cloud GitHub Wiki

Project Lombok is a java library that automatically plugs into your editor. It is used to minimize/remove the boilerplate code by just using some annotations. It also increases the readability of the source code and saves space. It saves the development time.

Step1: Download Lombok jar file

Step2: Start Lombok installation by running following command and then select eclipse installed "eclipse.exe" path (It will auto detect eclipse installation)

java -jar lombok-1.16.18.jar

image

Step3: Add Lombok dependency in pom.xml in every microservice

<!-- lombok -->
<dependency>
	<groupId>org.projectlombok</groupId>
	<artifactId>lombok</artifactId>
	<scope>provided</scope>
</dependency>

Step4: Use Lombok for your VO, DTO, Entity

⚠️ **GitHub.com Fallback** ⚠️