springboot maven插件依赖管理
This commit is contained in:
16
pom.xml
16
pom.xml
@@ -177,6 +177,22 @@
|
||||
|
||||
|
||||
<build>
|
||||
<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>
|
||||
<!--重要 如果不设置resource 会导致application.yaml中的@@找不到pom文件中的配置-->
|
||||
<resources>
|
||||
<resource>
|
||||
|
||||
Reference in New Issue
Block a user