kz282 commented on issue #8054:
URL: https://github.com/apache/netbeans/issues/8054#issuecomment-2543077789
I have found something interesting while editing the pom.xml.
I have deleted the Netbeans cache before each try.
The lombok version does not need to be set explicitly. Spring Boot 3.3.5
depends on lombok 1.18.34, but it works the same:
```
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
<!--<version>1.18.36</version>-->
</dependency>
```
The maven-compiler-plugin configuration of the generated pom.xml breaks the
IDE:
```
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- This configuration breaks the IDE. It is in the Spring Initializr
template when Lombok is selected. No version information inside
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</path>
</annotationProcessorPaths>
</configuration> -->
</plugin>
```
If I specify the lombok version inside the plugin / configuration /
annotationProcessorPaths / path, all IDE feature are working properly. Setting
this version field to 1.18.34 works too.
```
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.36</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists