From 1c732150ad5e8b21efff07ecd923c4ff8fda60c1 Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 05 九月 2023 20:47:41 +0800
Subject: [PATCH] 100路视频

---
 ycl-platform/pom.xml |  131 ++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 126 insertions(+), 5 deletions(-)

diff --git a/ycl-platform/pom.xml b/ycl-platform/pom.xml
index 194322d..4cbc411 100644
--- a/ycl-platform/pom.xml
+++ b/ycl-platform/pom.xml
@@ -5,12 +5,12 @@
     <parent>
         <groupId>com.ycl</groupId>
         <artifactId>ycl-server</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
+        <version>1.0.0</version>
     </parent>
 
     <groupId>com.ycl</groupId>
     <artifactId>ycl-platform</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.0.0</version>
     <name>ycl-platform</name>
     <description>鍚庣妯″潡</description>
 
@@ -18,29 +18,150 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
 
-    <packaging>jar</packaging>
 
     <dependencies>
         <dependency>
             <groupId>com.ycl</groupId>
             <artifactId>ycl-common</artifactId>
-            <version>0.0.1-SNAPSHOT</version>
+            <version>1.0.0</version>
         </dependency>
-
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <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.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>
     </dependencies>
+
+<!--    <build>-->
+<!--        <finalName>ycl-platform</finalName>-->
+<!--        <plugins>-->
+<!--            <plugin>-->
+<!--                <groupId>org.springframework.boot</groupId>-->
+<!--                <artifactId>spring-boot-maven-plugin</artifactId>-->
+<!--            </plugin>-->
+<!--        </plugins>-->
+<!--    </build>-->
 
     <build>
         <plugins>
             <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>
+                </configuration>
+            </plugin>
+
+
+            <!-- 璺宠繃Test娴嬭瘯鎵撳寘 -->
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <skip>true</skip>
+                </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>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <annotationProcessorPaths>
+                        <path>
+                            <groupId>org.projectlombok</groupId>
+                            <artifactId>lombok</artifactId>
+                            <version>1.18.20</version>
+                        </path>
+                    </annotationProcessorPaths>
+
+                    <annotationProcessors>
+                        <annotationProcessor>
+                            lombok.launch.AnnotationProcessorHider$AnnotationProcessor
+                        </annotationProcessor>
+                    </annotationProcessors>
+                    <compilerArguments>
+                        <extdirs>${project.basedir}/src/main/resources/libs</extdirs>
+                    </compilerArguments>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <version>3.2.2</version>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                            <classpathPrefix>lib/</classpathPrefix>
+<!--                            <mainClass>your.class</mainClass>-->
+                        </manifest>
+                    </archive>
+                </configuration>
             </plugin>
         </plugins>
+
+        <!-- 涓昏閰嶇疆锛氬皢寮曠敤鐨勭涓夋柟 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>
 
+
+
 </project>

--
Gitblit v1.8.0