Qual é a sua dúvida?
Lombok e Netbeans 12
Configurações necessárias para o pom.xml
Adicione o Profile
<profiles>
<profile>
<id>lombok-tool</id>
<properties>
<src.dir>${project.build.directory}/generated-sources/cplombok</src.dir>
</properties>
</profile>
</profiles>
Adicione a dependência do Lombok
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
Adicione o Plugin
<build>
<plugins>
<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>cplombok</goal>
</goals>
<configuration>
<sourceDirectory>src/main/java</sourceDirectory>
<addOutputDirectory>false</addOutputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Configurando a IDE
Acesso as propriedades do projeto e configure:
- Properties
- Actions > Selecione Profile Project
- Activate Profiles > Selecione lombok-tool
- Clique em OK