瀏覽代碼

'打包名称'

master
dongyuangong 4 年之前
父節點
當前提交
3a4186eeff
共有 1 個文件被更改,包括 26 次插入1 次删除
  1. +26
    -1
      pom.xml

+ 26
- 1
pom.xml 查看文件

@@ -16,6 +16,8 @@

<properties>
<java.version>1.8</java.version>

<spring.boot.version>2.1.11.RELEASE</spring.boot.version>
<!-- mybatis-plus.version -->
<mybatis-plus.version>3.2.0</mybatis-plus.version>
<!-- swagger.version -->
@@ -268,7 +270,7 @@
</profiles>

<build>
<finalName>lishui</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
@@ -300,6 +302,27 @@
</resource>
</resources>

<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<configuration>
<finalName>${project.build.finalName}</finalName>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
@@ -333,7 +356,9 @@
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>

</configuration>

</plugin>

</plugins>

Loading…
取消
儲存