<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<parent>
|
<artifactId>low-consum-manage</artifactId>
|
<groupId>com.consum</groupId>
|
<version>1.0.0-SNAPSHOT</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.iplatform</groupId>
|
<artifactId>iplatform-base-tcp</artifactId>
|
<name>iplatform-base-tcp</name>
|
<packaging>jar</packaging>
|
<version>3.2.0</version>
|
|
<dependencies>
|
|
<!-- 依赖底层通信模块,2024-01-23 -->
|
<dependency>
|
<groupId>com.walkersoft</groupId>
|
<artifactId>walker-tcp</artifactId>
|
<version>${walker-web-security.version}</version>
|
<systemPath>${project.basedir}/src/main/resources/lib/walker-tcp-3.2.0.jar</systemPath>
|
<scope>system</scope>
|
</dependency>
|
|
<dependency>
|
<groupId>org.postgresql</groupId>
|
<artifactId>postgresql</artifactId>
|
<version>4.2</version>
|
<systemPath>${project.basedir}/src/main/resources/lib/tdsql-pg-connector-java8-1.0.5.jar</systemPath>
|
<scope>system</scope>
|
</dependency>
|
|
<!-- 提供平台基础环境,2023-04-16 -->
|
<dependency>
|
<groupId>com.iplatform</groupId>
|
<artifactId>iplatform-base</artifactId>
|
<exclusions>
|
<exclusion>
|
<artifactId>walker-web</artifactId>
|
<groupId>com.walkersoft</groupId>
|
</exclusion>
|
<exclusion>
|
<artifactId>jjwt</artifactId>
|
<groupId>io.jsonwebtoken</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>com.consum</groupId>
|
<artifactId>iplatform-base-security-consum</artifactId>
|
<version>3.2.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.iplatform</groupId>
|
<artifactId>iplatform-file-server</artifactId>
|
</dependency>
|
<!-- 阿里druid数据库连接池,如果使用直接引入到业务发布模块中,2023-03-15 -->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>io.netty</groupId>
|
<artifactId>netty-transport</artifactId>
|
<version>${netty.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>io.netty</groupId>
|
<artifactId>netty-codec</artifactId>
|
<version>${netty.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>io.netty</groupId>
|
<artifactId>netty-handler</artifactId>
|
<version>${netty.version}</version>
|
</dependency>
|
<dependency>
|
<groupId>io.netty</groupId>
|
<artifactId>netty-codec-http</artifactId>
|
<version>${netty.version}</version>
|
</dependency>
|
<!-- 扫码包下面的 TcpRequest 注解使用,2023-04-16 -->
|
<dependency>
|
<groupId>org.reflections</groupId>
|
<artifactId>reflections</artifactId>
|
<version>0.9.9</version>
|
</dependency>
|
|
<!-- RocketMQ Spring 框架依赖。2023-09-18 -->
|
<dependency>
|
<groupId>org.apache.rocketmq</groupId>
|
<artifactId>rocketmq-spring-boot-starter</artifactId>
|
<version>2.1.0</version>
|
<exclusions>
|
<exclusion>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-api</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-autoconfigure-processor</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-messaging</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-core</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-context</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-aop</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
<artifactId>jackson-databind</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter</artifactId>
|
</exclusion>
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
</exclusion>
|
</exclusions>
|
|
</dependency>
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-messaging</artifactId>
|
</dependency>
|
|
<!--websocket作为客户端-->
|
<dependency>
|
<groupId>org.java-websocket</groupId>
|
<artifactId>Java-WebSocket</artifactId>
|
<version>1.5.4</version>
|
<scope>test</scope>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<finalName>ctoms-websocket</finalName>
|
<plugins>
|
<plugin>
|
<!--能够自动寻找springboot引导类,或者手动指定-->
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<version>${spring-boot.version}</version>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
<configuration>
|
<!-- 2023-11-06 该参数指定了依赖的本地类库,不引入则报错:不能指向本地jar文件 -->
|
<arguments>
|
<argument>${project.basedir}/src/main/resources/lib</argument>
|
</arguments>
|
<!-- 2023-11-06 该参数指定,打包忽略 Main 函数。-->
|
<!-- <skip>true</skip>-->
|
<!--本地包导入配置-->
|
<includeSystemScope>true</includeSystemScope>
|
<!--自定义分类器配置,防止父子项目打包失败-->
|
<!-- <classifier>exec</classifier>-->
|
</configuration>
|
</plugin>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-deploy-plugin</artifactId>
|
<version>${maven-deploy-plugin.version}</version>
|
<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>
|