打包修改
This commit is contained in:
parent
7131dd9a84
commit
03c7b2c3b5
22
pom.xml
22
pom.xml
@ -179,17 +179,17 @@
|
||||
|
||||
<!--module不用添加打包版本信息-->
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
<configuration>
|
||||
<fork>true</fork>
|
||||
<addResources>true</addResources>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<!-- <plugins>-->
|
||||
<!-- <plugin>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
||||
<!-- <version>${spring.boot.version}</version>-->
|
||||
<!-- <configuration>-->
|
||||
<!-- <fork>true</fork>-->
|
||||
<!-- <addResources>true</addResources>-->
|
||||
<!-- </configuration>-->
|
||||
<!-- </plugin>-->
|
||||
<!-- </plugins>-->
|
||||
</build>
|
||||
|
||||
</project>
|
@ -32,7 +32,7 @@
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
||||
<version>${spring.boot.version}</version>
|
||||
<!--需要加这个,不然打包镜像找不到启动文件-->
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -51,7 +51,7 @@
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
||||
<version>${spring.boot.version}</version>
|
||||
<!--需要加这个,不然打包镜像找不到启动文件-->
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
||||
<version>${spring.boot.version}</version>
|
||||
<!--需要加这个,不然打包镜像找不到启动文件-->
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
||||
<version>${spring.boot.version}</version>
|
||||
<!--需要加这个,不然打包镜像找不到启动文件-->
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -44,6 +44,7 @@
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<version>${spring.boot.version}</version>
|
||||
|
||||
<!--需要加这个,不然打包镜像找不到启动文件-->
|
||||
<executions>
|
||||
|
Loading…
Reference in New Issue
Block a user