Skip to content

Commit 4b7669e

Browse files
fix(JWT-4535): use the flatten-maven-plugin
1 parent 4cb6a84 commit 4b7669e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,32 @@
6161
<artifactId>spring-boot-maven-plugin</artifactId>
6262
<version>${spring-boot.version}</version>
6363
</plugin>
64+
<plugin>
65+
<groupId>org.codehaus.mojo</groupId>
66+
<artifactId>flatten-maven-plugin</artifactId>
67+
<version>1.7.3</version>
68+
<configuration>
69+
<flattenMode>bom</flattenMode>
70+
<updatePomFile>true</updatePomFile>
71+
<flattenDependencyMode>all</flattenDependencyMode>
72+
</configuration>
73+
<executions>
74+
<execution>
75+
<id>flatten</id>
76+
<phase>process-resources</phase>
77+
<goals>
78+
<goal>flatten</goal>
79+
</goals>
80+
</execution>
81+
<execution>
82+
<id>flatten.clean</id>
83+
<phase>clean</phase>
84+
<goals>
85+
<goal>clean</goal>
86+
</goals>
87+
</execution>
88+
</executions>
89+
</plugin>
6490
</plugins>
6591
</build>
6692

0 commit comments

Comments
 (0)