Sfoglia il codice sorgente

'打包名称'

master
dongyuangong 4 anni fa
parent
commit
3a4186eeff
1 ha cambiato i file con 26 aggiunte e 1 eliminazioni
  1. +26
    -1
      pom.xml

+ 26
- 1
pom.xml Vedi 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…
Annulla
Salva