From b18b83d388f4c6be741172aae39e74cf0086bb98 Mon Sep 17 00:00:00 2001 From: MarcGiffing Date: Thu, 9 Mar 2023 20:12:15 +0100 Subject: [PATCH] spring-configuration-metadata.json is not generated since version 0.8.0-RC1 #140 --- bucket4j-spring-boot-starter-context/pom.xml | 30 +++++++++++++------- bucket4j-spring-boot-starter/pom.xml | 27 ++++-------------- 2 files changed, 25 insertions(+), 32 deletions(-) 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 - - - - - -