Skip to content

Commit

Permalink
spring-configuration-metadata.json is not generated since version
Browse files Browse the repository at this point in the history
0.8.0-RC1 #140
  • Loading branch information
MarcGiffing committed Mar 9, 2023
1 parent 9a5021b commit b18b83d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 32 deletions.
30 changes: 20 additions & 10 deletions bucket4j-spring-boot-starter-context/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,26 @@
<plugins>
<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.24</version>
</path>
</annotationProcessorPaths>
</configuration>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-spring-configuration-metadata-exist</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>verify</phase>
<configuration>
<rules>
<requireFilesExist>
<files>
<file>${project.build.outputDirectory}/META-INF/spring-configuration-metadata.json</file>
</files>
</requireFilesExist>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
27 changes: 5 additions & 22 deletions bucket4j-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@
<artifactId>spring-data-redis</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
Expand All @@ -152,27 +157,5 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<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.24</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit b18b83d

Please sign in to comment.