🐛Fix: SpringBoot 项目打包
This commit is contained in:
@@ -44,17 +44,14 @@ mvn install -pl common -am -DskipTests
|
|||||||
# 打包movie模块
|
# 打包movie模块
|
||||||
echo "打包movie模块..."
|
echo "打包movie模块..."
|
||||||
mvn package -pl movie -am -DskipTests
|
mvn package -pl movie -am -DskipTests
|
||||||
mvn spring-boot:repackage -pl movie
|
|
||||||
|
|
||||||
# 打包weather模块
|
# 打包weather模块
|
||||||
echo "打包weather模块..."
|
echo "打包weather模块..."
|
||||||
mvn package -pl weather -am -DskipTests
|
mvn package -pl weather -am -DskipTests
|
||||||
mvn spring-boot:repackage -pl weather
|
|
||||||
|
|
||||||
# 打包lark模块
|
# 打包lark模块
|
||||||
echo "打包lark模块..."
|
echo "打包lark模块..."
|
||||||
mvn package -pl lark -am -DskipTests
|
mvn package -pl lark -am -DskipTests
|
||||||
mvn spring-boot:repackage -pl lark
|
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "错误:打包失败"
|
echo "错误:打包失败"
|
||||||
|
|||||||
@@ -63,15 +63,6 @@
|
|||||||
<includeSystemScope>true</includeSystemScope>
|
<includeSystemScope>true</includeSystemScope>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>3.11.0</version>
|
|
||||||
<configuration>
|
|
||||||
<source>21</source>
|
|
||||||
<target>21</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|||||||
@@ -55,15 +55,6 @@
|
|||||||
<includeSystemScope>true</includeSystemScope>
|
<includeSystemScope>true</includeSystemScope>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>3.11.0</version>
|
|
||||||
<configuration>
|
|
||||||
<source>21</source>
|
|
||||||
<target>21</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|||||||
@@ -60,15 +60,6 @@
|
|||||||
<includeSystemScope>true</includeSystemScope>
|
<includeSystemScope>true</includeSystemScope>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>3.11.0</version>
|
|
||||||
<configuration>
|
|
||||||
<source>21</source>
|
|
||||||
<target>21</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user