From 5923f2345a695625da776338b9a218415f22fe0a Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 26 三月 2024 14:29:23 +0800
Subject: [PATCH] 大屏数据恢复成实际数据

---
 ycl-platform/pom.xml |  108 ++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 76 insertions(+), 32 deletions(-)

diff --git a/ycl-platform/pom.xml b/ycl-platform/pom.xml
index 67a9c94..909d85e 100644
--- a/ycl-platform/pom.xml
+++ b/ycl-platform/pom.xml
@@ -30,18 +30,35 @@
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>com.ycl</groupId>
-            <artifactId>ycl-generator</artifactId>
-            <version>1.0.0</version>
-            <scope>compile</scope>
-        </dependency>
+<!--        <dependency>-->
+<!--            <groupId>com.ycl</groupId>-->
+<!--            <artifactId>ycl-generator</artifactId>-->
+<!--            <version>1.0.0</version>-->
+<!--            <scope>compile</scope>-->
+<!--        </dependency>-->
         <dependency>
             <groupId>com.alibaba.xxpt</groupId>
             <artifactId>zwdd</artifactId>
             <version>1.2.0</version>
             <scope>system</scope>
             <systemPath>${project.basedir}/src/main/resources/libs/zwdd-sdk-java-1.2.0.jar</systemPath>
+        </dependency>
+        <dependency>
+            <groupId>com.hikvision.ga</groupId>
+            <artifactId>artemis-http-client</artifactId>
+            <version>1.1.8</version>
+            <scope>system</scope>
+            <systemPath>${project.basedir}/src/main/resources/libs/artemis-http-client-1.1.8.jar</systemPath>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpmime</artifactId>
+            <version>4.5.14</version>
+        </dependency>
+        <dependency>
+            <groupId>com.alibaba.fastjson2</groupId>
+            <artifactId>fastjson2</artifactId>
+            <version>2.0.14</version>
         </dependency>
     </dependencies>
 
@@ -60,17 +77,29 @@
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
-                <!-- 濡傛灉瑕佹妸渚濊禆涓�璧锋墦鍖�,娉ㄩ噴涓嬮潰configuration -->
                 <configuration>
-                    <layout>ZIP</layout>
-                    <includes>
-                        <!--灏嗕緷璧栧墧闄�,鍙紪璇戞墦鍖呮湰椤圭洰-->
-                        <include>
-                            <groupId>nothing</groupId>
-                            <artifactId>nothing</artifactId>
-                        </include>
-                    </includes>
+                    <mainClass>com.ycl.PlatformApplication</mainClass> <!-- 鎸囧畾鍚姩涓荤被 -->
+                    <fork>true</fork> <!-- 濡傛灉娌℃湁璇ラ厤缃紝devtools涓嶄細鐢熸晥  鎵撳寘 灏嗗閮╦ar鍖呮墦鍖呰繘椤圭洰涓� -->
+                    <includeSystemScope>true</includeSystemScope> <!-- 鎵撳寘 灏嗗閮╦ar鍖呮墦鍖呰繘椤圭洰涓� -->
                 </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>repackage</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <!-- 濡傛灉瑕佹妸渚濊禆涓�璧锋墦鍖�,娉ㄩ噴涓嬮潰configuration -->
+<!--                <configuration>-->
+<!--                    <layout>ZIP</layout>-->
+<!--                    <includes>-->
+<!--                        &lt;!&ndash;灏嗕緷璧栧墧闄�,鍙紪璇戞墦鍖呮湰椤圭洰&ndash;&gt;-->
+<!--                        <include>-->
+<!--                            <groupId>nothing</groupId>-->
+<!--                            <artifactId>nothing</artifactId>-->
+<!--                        </include>-->
+<!--                    </includes>-->
+<!--                </configuration>-->
             </plugin>
 
 
@@ -83,21 +112,21 @@
                 </configuration>
             </plugin>
 
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <configuration>
-                    <outputDirectory>${project.build.directory}/lib</outputDirectory>
-                </configuration>
-                <!--鎵цpackage鏃惰嚜鍔ㄥ皢渚濊禆澶嶅埗鍑烘潵鍒�/lib涓�-->
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
+<!--            <plugin>-->
+<!--                <artifactId>maven-dependency-plugin</artifactId>-->
+<!--                <configuration>-->
+<!--                    <outputDirectory>${project.build.directory}/lib</outputDirectory>-->
+<!--                </configuration>-->
+<!--                &lt;!&ndash;鎵цpackage鏃惰嚜鍔ㄥ皢渚濊禆澶嶅埗鍑烘潵鍒�/lib涓�&ndash;&gt;-->
+<!--                <executions>-->
+<!--                    <execution>-->
+<!--                        <phase>package</phase>-->
+<!--                        <goals>-->
+<!--                            <goal>copy-dependencies</goal>-->
+<!--                        </goals>-->
+<!--                    </execution>-->
+<!--                </executions>-->
+<!--            </plugin>-->
 
 
 
@@ -118,7 +147,9 @@
                             lombok.launch.AnnotationProcessorHider$AnnotationProcessor
                         </annotationProcessor>
                     </annotationProcessors>
-
+                    <compilerArguments>
+                        <extdirs>${project.basedir}/src/main/resources/libs</extdirs>
+                    </compilerArguments>
                 </configuration>
             </plugin>
 
@@ -137,8 +168,21 @@
                 </configuration>
             </plugin>
         </plugins>
-    </build>
 
+        <!-- 涓昏閰嶇疆锛氬皢寮曠敤鐨勭涓夋柟 jar 鍖呮墦杩涚敓鎴愮殑 jar 鏂囦欢鐨� BOOT-INF/lib 鐩綍涓� -->
+        <resources>
+            <resource>
+                <directory>src\main\resources\libs</directory>
+                <targetPath>BOOT-INF\lib</targetPath>
+                <!--  <includes>
+                      <include>**/*.jar</include>
+                  </includes>-->
+            </resource>
+            <resource>
+                <directory>src/main/resources</directory>
+            </resource>
+        </resources>
+    </build>
 
 
 

--
Gitblit v1.8.0