houzhongjian
2024-08-08 08e3e8f80a1c524176084f4b71c0152981302765
提交 | 用户 | 时间
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-protection</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>服务保证,提供分布式锁、幂等、限流、熔断等等功能</description>
16     <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
17
18     <dependencies>
19         <!-- Web 相关 -->
20         <dependency>
21             <groupId>com.iailab</groupId>
22             <artifactId>iailab-common-web</artifactId>
23             <scope>provided</scope> <!-- 设置为 provided,只有限流、幂等使用到 -->
24         </dependency>
25
26         <!-- DB 相关 -->
27         <dependency>
28             <groupId>com.iailab</groupId>
29             <artifactId>iailab-common-redis</artifactId>
30         </dependency>
31
32         <!-- 服务保障相关 -->
33         <dependency>
34             <groupId>com.baomidou</groupId>
35             <artifactId>lock4j-redisson-spring-boot-starter</artifactId>
36             <optional>true</optional>
37         </dependency>
38
39         <!-- Test 测试相关 -->
40         <dependency>
41             <groupId>com.iailab</groupId>
42             <artifactId>iailab-common-test</artifactId>
43             <scope>test</scope>
44         </dependency>
45     </dependencies>
46
47     <build>
48         <plugins>
49             <plugin>
50                 <groupId>org.springframework.boot</groupId>
51                 <artifactId>spring-boot-maven-plugin</artifactId>
52             </plugin>
53             <plugin>
54                 <groupId>org.apache.maven.plugins</groupId>
55                 <artifactId>maven-assembly-plugin</artifactId>
56                 <version>3.3.0</version>
57                 <executions>
58                     <execution>
59                         <phase>package</phase>
60                         <goals>
61                             <goal>single</goal>
62                         </goals>
63                     </execution>
64                 </executions>
65                 <configuration>
66                     <descriptorRefs>
67                         <descriptorRef>jar-with-dependencies</descriptorRef>
68                     </descriptorRefs>
69                 </configuration>
70             </plugin>
71         </plugins>
72     </build>
73
74 </project>