houzhongjian
2024-07-23 d9f9ba31913bb9f5053ad78109e8a3c1c00f1e6a
提交 | 用户 | 时间
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</artifactId>
12     <packaging>jar</packaging>
13
14     <name>${project.artifactId}</name>
15     <description>定义基础 pojo 类、枚举、工具类等等</description>
16     <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
17
18     <dependencies>
19         <!-- Spring 核心 -->
20         <dependency>
21             <groupId>org.springframework</groupId>
22             <artifactId>spring-core</artifactId>
23 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
24         </dependency>
25         <dependency>
26             <groupId>org.springframework</groupId>
27             <artifactId>spring-expression</artifactId>
28 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
29         </dependency>
30         <dependency>
31             <groupId>org.springframework</groupId>
32             <artifactId>spring-aop</artifactId>
33 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
34         </dependency>
35         <dependency>
36             <groupId>org.aspectj</groupId>
37             <artifactId>aspectjweaver</artifactId>
38 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
39         </dependency>
40
41         <dependency>
42             <!-- 用于生成自定义的 Spring @ConfigurationProperties 配置类的说明文件 -->
43             <groupId>org.springframework.boot</groupId>
44             <artifactId>spring-boot-configuration-processor</artifactId>
45             <optional>true</optional>
46         </dependency>
47
48         <!-- Web 相关 -->
49         <dependency>
50             <groupId>org.springframework</groupId>
51             <artifactId>spring-web</artifactId>
52 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
53         </dependency>
54
55         <dependency>
56             <groupId>jakarta.servlet</groupId>
57             <artifactId>jakarta.servlet-api</artifactId>
58 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
59         </dependency>
60
61         <dependency>
62             <groupId>org.springdoc</groupId>
63             <artifactId>springdoc-openapi-ui</artifactId>
64             <scope>provided</scope>
65         </dependency>
66
67         <!-- 监控相关 -->
68         <dependency>
69             <groupId>org.apache.skywalking</groupId>
70             <artifactId>apm-toolkit-trace</artifactId>
71         </dependency>
72
73         <!-- 工具类相关 -->
74         <dependency>
75             <groupId>org.projectlombok</groupId>
76             <artifactId>lombok</artifactId>
77         </dependency>
78
79         <dependency>
80             <groupId>org.mapstruct</groupId>
81             <artifactId>mapstruct</artifactId>
82         </dependency>
83         <dependency>
84             <groupId>org.mapstruct</groupId>
85             <artifactId>mapstruct-jdk8</artifactId> <!-- use mapstruct-jdk8 for Java 8 or higher -->
86         </dependency>
87         <dependency>
88             <groupId>org.mapstruct</groupId>
89             <artifactId>mapstruct-processor</artifactId>
90         </dependency>
91
92         <dependency>
93             <groupId>com.google.guava</groupId>
94             <artifactId>guava</artifactId>
95 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
96         </dependency>
97
98         <dependency>
99             <groupId>com.fasterxml.jackson.core</groupId>
100             <artifactId>jackson-databind</artifactId>
101 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
102         </dependency>
103         <dependency>
104             <groupId>com.fasterxml.jackson.core</groupId>
105             <artifactId>jackson-core</artifactId>
106 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
107         </dependency>
108         <dependency>
109             <groupId>com.fasterxml.jackson.datatype</groupId>
110             <artifactId>jackson-datatype-jsr310</artifactId>
111 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
112         </dependency>
113
114         <dependency>
115             <groupId>org.slf4j</groupId>
116             <artifactId>slf4j-api</artifactId>
117 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,只有工具类需要使用到 &ndash;&gt;-->
118         </dependency>
119
120         <dependency>
121             <groupId>jakarta.validation</groupId>
122             <artifactId>jakarta.validation-api</artifactId>
123 <!--            <scope>provided</scope> &lt;!&ndash; 设置为 provided,主要是 PageParam 使用到 &ndash;&gt;-->
124         </dependency>
125
126         <dependency>
127             <groupId>cn.hutool</groupId>
128             <artifactId>hutool-all</artifactId>
129         </dependency>
130
131         <dependency>
d9f9ba 132             <groupId>joda-time</groupId>
H 133             <artifactId>joda-time</artifactId>
134         </dependency>
135
136         <dependency>
e7c126 137             <groupId>com.alibaba</groupId>
H 138             <artifactId>transmittable-thread-local</artifactId>
139         </dependency>
140
141         <dependency>
142             <groupId>org.jsoup</groupId>
143             <artifactId>jsoup</artifactId>
144         </dependency>
145
146         <dependency>
147             <groupId>com.fhs-opensource</groupId> <!-- VO 数据翻译 -->
148             <artifactId>easy-trans-anno</artifactId> <!-- 默认引入的原因,方便 xxx-module-api 包使用 -->
149         </dependency>
150
151         <!-- Test 测试相关 -->
152         <dependency>
153             <groupId>org.springframework.boot</groupId>
154             <artifactId>spring-boot-starter-test</artifactId>
155             <scope>test</scope>
156         </dependency>
157     </dependencies>
158
159
160     <build>
161         <plugins>
162             <plugin>
163                 <groupId>org.springframework.boot</groupId>
164                 <artifactId>spring-boot-maven-plugin</artifactId>
165             </plugin>
166             <plugin>
167                 <groupId>org.apache.maven.plugins</groupId>
168                 <artifactId>maven-assembly-plugin</artifactId>
169                 <version>3.3.0</version>
170                 <executions>
171                     <execution>
172                         <phase>package</phase>
173                         <goals>
174                             <goal>single</goal>
175                         </goals>
176                     </execution>
177                 </executions>
178                 <configuration>
179                     <descriptorRefs>
180                         <descriptorRef>jar-with-dependencies</descriptorRef>
181                     </descriptorRefs>
182                 </configuration>
183             </plugin>
184         </plugins>
185     </build>
186
187 </project>