Put the following dependency in a pom.xml file:
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.16.16</version> <scope>provided</scope></dependency>
The provided scope instructs Maven not to include this dependency in the JAR file because we need it at compile time. We do not need it at runtime. Wait for Maven to download the dependency, that is all for now.
Also, we can use the Reimport All Maven Projects provided by IntelliJ IDEA, located in the Maven Projects tab, as shown here: