沙钢智慧能源系统后端代码
houzhongjian
2024-10-09 97edd72e5e6dbb134cedae4b72c95be8c948c5ec
提交 | 用户 | 时间
97edd7 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>shasteel</artifactId>
8         <version>${revision}</version>
9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>shasteel-api</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>
16         fast 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> <!-- 设置为 provided,主要是 PageParam 使用到 -->
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
46     </dependencies>
47
48     <build>
49         <plugins>
50             <plugin>
51                 <groupId>org.springframework.boot</groupId>
52                 <artifactId>spring-boot-maven-plugin</artifactId>
53             </plugin>
54             <plugin>
55                 <groupId>org.apache.maven.plugins</groupId>
56                 <artifactId>maven-assembly-plugin</artifactId>
57                 <version>3.3.0</version>
58                 <executions>
59                     <execution>
60                         <phase>package</phase>
61                         <goals>
62                             <goal>single</goal>
63                         </goals>
64                     </execution>
65                 </executions>
66             </plugin>
67         </plugins>
68     </build>
69
70 </project>