119 lines
4.0 KiB
XML
119 lines
4.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xmlns="http://maven.apache.org/POM/4.0.0"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<parent>
|
||
<groupId>org.dromara</groupId>
|
||
<artifactId>stwzhj-modules</artifactId>
|
||
<version>${revision}</version>
|
||
</parent>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<artifactId>stwzhj-kafka-producer</artifactId>
|
||
|
||
<description>
|
||
stwzhj-kafka-producer 从内存队列获取消息,并发送到华为认证的Kafka
|
||
</description>
|
||
|
||
<dependencies>
|
||
<!-- Spring Boot Web -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.kafka</groupId>
|
||
<artifactId>kafka_2.12</artifactId>
|
||
<version>3.6.1-h0.cbu.mrs.350.r11</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.zookeeper</groupId>
|
||
<artifactId>zookeeper</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>net.sf.jopt-simple</groupId>
|
||
<artifactId>jopt-simple</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.huawei.mrs</groupId>
|
||
<artifactId>manager-wc2frm</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.kafka</groupId>
|
||
<artifactId>kafka-clients</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.xerial.snappy</groupId>
|
||
<artifactId>snappy-java</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.huawei.mrs</groupId>
|
||
<artifactId>om-controller-api</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.101tec</groupId>
|
||
<artifactId>zkclient</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- Kafka Client -->
|
||
<dependency>
|
||
<groupId>org.apache.kafka</groupId>
|
||
<artifactId>kafka-clients</artifactId>
|
||
<version>3.6.1-h0.cbu.mrs.350.r11</version>
|
||
</dependency>
|
||
|
||
<!-- FastJSON -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Apache Commons Lang3 -->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
</dependency>
|
||
|
||
<!-- Hutool -->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.4.0</version>
|
||
</dependency>
|
||
|
||
<!-- Lombok -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 动态线程池 -->
|
||
<dependency>
|
||
<groupId>cn.dynamictp</groupId>
|
||
<artifactId>dynamic-tp-spring-boot-starter-common</artifactId>
|
||
<version>1.1.0</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<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>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project>
|