潘志宝
2024-08-15 81c220fd9e0ea6c8ee84c9b766885b0322b4038c
提交 | 用户 | 时间
e7c126 1 <?xml version="1.0" encoding="UTF-8"?>
H 2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <parent>
6         <groupId>com.iailab</groupId>
7         <artifactId>iailab-framework</artifactId>
8         <version>${revision}</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>iailab-common-mq</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>消息队列,支持 Redis、RocketMQ、RabbitMQ、Kafka 四种</description>
4d4165 16     <url>http://172.16.8.100:8888/summary/iailab-plat.git</url>
e7c126 17
H 18     <dependencies>
19         <!-- DB 相关 -->
20         <dependency>
21             <groupId>com.iailab</groupId>
22             <artifactId>iailab-common-redis</artifactId>
23         </dependency>
24
25         <!-- 消息队列相关 -->
26         <dependency>
27             <groupId>org.springframework.kafka</groupId>
28             <artifactId>spring-kafka</artifactId>
29             <optional>true</optional>
30         </dependency>
31         <dependency>
32             <groupId>org.springframework.amqp</groupId>
33             <artifactId>spring-rabbit</artifactId>
34             <optional>true</optional>
35         </dependency>
36         <dependency>
37             <groupId>org.apache.rocketmq</groupId>
38             <artifactId>rocketmq-spring-boot-starter</artifactId>
39             <optional>true</optional>
40         </dependency>
41     </dependencies>
42
43     <build>
44         <plugins>
45             <plugin>
46                 <groupId>org.springframework.boot</groupId>
47                 <artifactId>spring-boot-maven-plugin</artifactId>
48             </plugin>
49             <plugin>
50                 <groupId>org.apache.maven.plugins</groupId>
51                 <artifactId>maven-assembly-plugin</artifactId>
52                 <version>3.3.0</version>
53                 <executions>
54                     <execution>
55                         <phase>package</phase>
56                         <goals>
57                             <goal>single</goal>
58                         </goals>
59                     </execution>
60                 </executions>
61                 <configuration>
62                     <descriptorRefs>
63                         <descriptorRef>jar-with-dependencies</descriptorRef>
64                     </descriptorRefs>
65                 </configuration>
66             </plugin>
67         </plugins>
68     </build>
69
70 </project>