Hippo Upgrade: Lombok ceases to work


#1

Hi,

I’m in the process of upgrading the open source version (artifactId: hippo-cms7-release) from 12.4.1 to 12.6.

As soon as incrementing the Hippo version number from 12.4.1 to >= 12.5.0 the code generation provided by Lombok stops working aka multitude of

[ERROR] Errors: 
[ERROR]   DetailTest.doBeforeRender_GIVEN_ContentBeanIsNotUsk18AndUsk18IsEnabled_THEN_DocumentOnRequest:84 » NoSuchMethod
[ERROR]   DetailTest.doBeforeRender_GIVEN_ContentBeanIsUsk18AndUsk18IsEnabled_THEN_DocumentOnRequest:70 » NoSuchMethod
[ERROR]   MetaInfoTest.doBeforeRender_GIVEN_ContentBeanIsHippoDocument_THEN_SeoInfoProviderIsCalled:72 » NoSuchMethod
...

when trying to build.
I do not change anything else in the project POM.

$ mvn dependency:tree | grep -iE 'aspect|lombok'                                                                                                              

[INFO] +- org.projectlombok:lombok:jar:1.16.16:provided
[INFO] |  +- org.aspectj:aspectjweaver:jar:1.8.9:compile
[INFO] +- org.springframework:spring-aspects:jar:4.3.18.RELEASE:compile
[INFO] +- org.projectlombok:lombok:jar:1.16.16:provided

is the same for both 12.4.1 and 12.5.1

Any hints?


#2

I’m afraid that I am not familiar with Lombok, but it sounds like more of a Lombok problem than a Bloomreach problem. We don’t take it into account in our development cycle.