dengzedong
2024-10-14 600fd0d3b4a676fa071743196fe0f8407d57c491
提交 | 用户 | 时间
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         <artifactId>iailab-framework</artifactId>
7         <groupId>com.iailab</groupId>
8         <version>${revision}</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>iailab-common-rpc</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>
16         OpenFeign:提供 RESTful API 的调用
17     </description>
4d4165 18     <url>http://172.16.8.100:8888/summary/iailab-plat.git</url>
e7c126 19
H 20     <dependencies>
21         <dependency>
22             <groupId>com.iailab</groupId>
23             <artifactId>iailab-common</artifactId>
24         </dependency>
25
26         <!-- RPC 远程调用相关 -->
27         <dependency>
28             <groupId>org.springframework.cloud</groupId>
29             <artifactId>spring-cloud-starter-loadbalancer</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>org.springframework.cloud</groupId>
33             <artifactId>spring-cloud-starter-openfeign</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>io.github.openfeign</groupId>
37             <artifactId>feign-okhttp</artifactId>
38         </dependency>
39
40         <!-- 工具相关 -->
41         <dependency>
42             <groupId>jakarta.validation</groupId>
43             <artifactId>jakarta.validation-api</artifactId>
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 </project>