From f92600ec2835c9ad48b5f20d2ca18cf25931ff44 Mon Sep 17 00:00:00 2001
From: shikeying <shikeying@163.com>
Date: 星期四, 27 十月 2022 18:54:44 +0800
Subject: [PATCH] 添加测试配置部署

---
 deploy-jar-template/pom.xml |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/deploy-jar-template/pom.xml b/deploy-jar-template/pom.xml
index 885289e..3f41e8c 100644
--- a/deploy-jar-template/pom.xml
+++ b/deploy-jar-template/pom.xml
@@ -40,4 +40,38 @@
 
     </dependencies>
 
+    <build>
+        <finalName>train-recommend</finalName>
+        <plugins>
+            <plugin>
+                <!--鑳藉鑷姩瀵绘壘springboot寮曞绫伙紝鎴栬�呮墜鍔ㄦ寚瀹�-->
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>default-deploy</id>
+                        <phase>deploy</phase>
+                        <goals>
+                            <goal>deploy</goal>
+                        </goals>
+                        <!-- skip榛樿deploy鎻掍欢鐨勬墽琛� -->
+                        <configuration>
+                            <skip>true</skip>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
 </project>

--
Gitblit v1.9.1