-
Bug
-
Resolution: Obsolete
-
Neutral
-
None
-
None
-
None
-
None
Projects which are using Lombok org.projectlombok:lombok:jar:1.16.18 cannot be build with Java 10. (I have not tried it out with Java 9).
It fails with this exception:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project magnolia-privacy-cookie-manager: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags
The issue is known and already tackled and solved by lombock, see java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags #1651.
Upgrading to lombok 1.18.0 seems to resolve the problem (only partially)?
At least the privacy modules (which are the ones where I have found the issue) can be build with org.projectlombok:lombok:jar:1.18.0
mvn clean install -DskipTests -Dcheckstyle.skip=true -Dcargo.maven.skip
is successful, the modules can be built.
However, a build attempt which includes the tests still fails. See error log on gist.
I have not further investigated the reason for this failure.
- relates to
-
BUILD-325 Update Lombok to latest (1.18.4)
- Closed