Skip to content

Commit

Permalink
修复没有指定 spring-boot-maven-plugin 的版本号默认去拉取基于 JDK17 编译的 3.0 版本导致打包失败的问题
Browse files Browse the repository at this point in the history
Signed-off-by: hjk2008 <hjk2008ext@163.com>
  • Loading branch information
hjk2008 authored and gitee-org committed Nov 25, 2022
1 parent ee3f03f commit 04a042c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,22 @@
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>

<repositories>
Expand Down

0 comments on commit 04a042c

Please sign in to comment.