diff --git a/bucket4j-spring-boot-starter-context/pom.xml b/bucket4j-spring-boot-starter-context/pom.xml index c2455ead..d9e61626 100644 --- a/bucket4j-spring-boot-starter-context/pom.xml +++ b/bucket4j-spring-boot-starter-context/pom.xml @@ -46,16 +46,26 @@ org.apache.maven.plugins - maven-compiler-plugin - - - - org.projectlombok - lombok - 1.18.24 - - - + maven-enforcer-plugin + + + enforce-spring-configuration-metadata-exist + + enforce + + verify + + + + + ${project.build.outputDirectory}/META-INF/spring-configuration-metadata.json + + + + true + + + diff --git a/bucket4j-spring-boot-starter/pom.xml b/bucket4j-spring-boot-starter/pom.xml index 35becdb3..2d220452 100644 --- a/bucket4j-spring-boot-starter/pom.xml +++ b/bucket4j-spring-boot-starter/pom.xml @@ -142,6 +142,11 @@ spring-data-redis provided + + org.projectlombok + lombok + provided + org.springframework.boot spring-boot-configuration-processor @@ -152,27 +157,5 @@ spring-boot-starter-test test - - org.projectlombok - lombok - provided - - - - - org.apache.maven.plugins - maven-compiler-plugin - - - - org.projectlombok - lombok - 1.18.24 - - - - - -