Browse Source

'打包名称'

master
dongyuangong 4 years ago
parent
commit
3a4186eeff
1 changed files with 26 additions and 1 deletions
  1. +26
    -1
      pom.xml

+ 26
- 1
pom.xml View File

@@ -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…
Cancel
Save