|
@@ -11,7 +11,7 @@
|
|
<name>menduner-flames-biz</name>
|
|
<name>menduner-flames-biz</name>
|
|
<description>Demo project for Spring Boot</description>
|
|
<description>Demo project for Spring Boot</description>
|
|
<properties>
|
|
<properties>
|
|
- <java.version>11</java.version>
|
|
|
|
|
|
+<!-- <java.version>8</java.version>-->
|
|
</properties>
|
|
</properties>
|
|
<dependencies>
|
|
<dependencies>
|
|
|
|
|
|
@@ -93,31 +93,20 @@
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
</dependencies>
|
|
- <build>
|
|
|
|
|
|
|
|
|
|
+ <build>
|
|
|
|
+ <!-- 设置构建的 jar 包名 -->
|
|
|
|
+ <finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugins>
|
|
- <plugin>
|
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
- <version>3.1</version>
|
|
|
|
- <configuration>
|
|
|
|
- <source>${java.version}</source>
|
|
|
|
- <target>${java.version}</target>
|
|
|
|
- </configuration>
|
|
|
|
- </plugin>
|
|
|
|
|
|
+ <!-- 打包 -->
|
|
<plugin>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
- <configuration>
|
|
|
|
- <!-- 指定该Main Class为全局的唯一入口 -->
|
|
|
|
- <mainClass>com.citupro.module.menduner.flames.FlamesApplication</mainClass>
|
|
|
|
- <layout>ZIP</layout>
|
|
|
|
- <includeSystemScope>true</includeSystemScope>
|
|
|
|
- </configuration>
|
|
|
|
|
|
+ <version>${spring.boot.version}</version>
|
|
<executions>
|
|
<executions>
|
|
<execution>
|
|
<execution>
|
|
<goals>
|
|
<goals>
|
|
- <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
|
|
|
|
|
|
+ <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
</goals>
|
|
</goals>
|
|
</execution>
|
|
</execution>
|
|
</executions>
|
|
</executions>
|