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 |   46 ++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/deploy-jar-template/pom.xml b/deploy-jar-template/pom.xml
index ed20e5d..3f41e8c 100644
--- a/deploy-jar-template/pom.xml
+++ b/deploy-jar-template/pom.xml
@@ -18,10 +18,10 @@
 
     <dependencies>
 
-        <dependency>
-            <groupId>com.iplatform</groupId>
-            <artifactId>recommend-text</artifactId>
-        </dependency>
+<!--        <dependency>-->
+<!--            <groupId>com.iplatform</groupId>-->
+<!--            <artifactId>recommend-text</artifactId>-->
+<!--        </dependency>-->
 
         <dependency>
             <groupId>com.iplatform</groupId>
@@ -33,7 +33,45 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-freemarker</artifactId>
+        </dependency>
 
     </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