From 2d208602fcbf9442f922bf0d25d59b81851ee687 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期四, 26 九月 2024 21:53:34 +0800 Subject: [PATCH] 1 --- ycl-platform/pom.xml | 125 ++++++++++++++++++++++++++--------------- 1 files changed, 79 insertions(+), 46 deletions(-) diff --git a/ycl-platform/pom.xml b/ycl-platform/pom.xml index 6b4a384..adb8330 100644 --- a/ycl-platform/pom.xml +++ b/ycl-platform/pom.xml @@ -30,12 +30,12 @@ <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> @@ -43,34 +43,69 @@ <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> + + <dependency> + <groupId>net.java.dev.jna</groupId> + <artifactId>jna</artifactId> + <version>5.4.0</version> + </dependency> </dependencies> -<!-- <build>--> -<!-- <finalName>ycl-platform</finalName>--> -<!-- <plugins>--> -<!-- <plugin>--> -<!-- <groupId>org.springframework.boot</groupId>--> -<!-- <artifactId>spring-boot-maven-plugin</artifactId>--> -<!-- </plugin>--> -<!-- </plugins>--> -<!-- </build>--> + <!-- <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> + <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>--> + <!-- <!–灏嗕緷璧栧墧闄�,鍙紪璇戞墦鍖呮湰椤圭洰–>--> + <!-- <include>--> + <!-- <groupId>nothing</groupId>--> + <!-- <artifactId>nothing</artifactId>--> + <!-- </include>--> + <!-- </includes>--> + <!-- </configuration>--> </plugin> @@ -83,22 +118,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>--> + <!-- <!–鎵цpackage鏃惰嚜鍔ㄥ皢渚濊禆澶嶅埗鍑烘潵鍒�/lib涓�–>--> + <!-- <executions>--> + <!-- <execution>--> + <!-- <phase>package</phase>--> + <!-- <goals>--> + <!-- <goal>copy-dependencies</goal>--> + <!-- </goals>--> + <!-- </execution>--> + <!-- </executions>--> + <!-- </plugin>--> <plugin> @@ -109,7 +143,7 @@ <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> - <version>1.18.20</version> + <version>1.18.22</version> </path> </annotationProcessorPaths> @@ -133,7 +167,7 @@ <manifest> <addClasspath>true</addClasspath> <classpathPrefix>lib/</classpathPrefix> -<!-- <mainClass>your.class</mainClass>--> + <!-- <mainClass>your.class</mainClass>--> </manifest> </archive> </configuration> @@ -145,16 +179,15 @@ <resource> <directory>src\main\resources\libs</directory> <targetPath>BOOT-INF\lib</targetPath> - <!-- <includes> - <include>**/*.jar</include> - </includes>--> + <includes> + <include>**/*.jar</include> + </includes> </resource> <resource> <directory>src/main/resources</directory> </resource> </resources> </build> - </project> -- Gitblit v1.8.0