Add layers.xml and configure spring-boot-maven-plugin

This commit is contained in:
zhiqiang feng
2024-03-06 01:47:29 +00:00
parent 9429d38ee6
commit 2bb0e294f3
2 changed files with 38 additions and 1 deletions
+11 -1
View File
@@ -260,8 +260,18 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
<layers>
<enabled>true</enabled>
<configuration>${project.basedir}/src/layers.xml</configuration>
</layers>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.spotify</groupId>