潘志宝
2024-12-12 7324229be6b961411038fab3c680929ae05b0496
提交 | 用户 | 时间
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-module-infra</artifactId>
8         <version>${revision}</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>iailab-module-infra-api</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>
16         infra 模块 API,暴露给其它模块调用
17     </description>
18
19     <dependencies>
20         <dependency>
21             <groupId>com.iailab</groupId>
22             <artifactId>iailab-common</artifactId>
23         </dependency>
24
25         <!-- Web 相关 -->
26         <dependency>
27             <groupId>org.springdoc</groupId>
28             <artifactId>springdoc-openapi-ui</artifactId>
29             <scope>provided</scope>
30         </dependency>
31
32         <!-- 参数校验 -->
33         <dependency>
34             <groupId>org.springframework.boot</groupId>
35             <artifactId>spring-boot-starter-validation</artifactId>
36             <optional>true</optional>
37         </dependency>
38
39         <!-- RPC 远程调用相关 -->
40         <dependency>
41             <groupId>org.springframework.cloud</groupId>
42             <artifactId>spring-cloud-starter-openfeign</artifactId>
43             <optional>true</optional>
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>