dengzedong
2 天以前 ff8b62e0872cdbaa7ebea244ca8f55f70c41e596
提交 | 用户 | 时间
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>
08e3e8 7         <artifactId>iailab-plat</artifactId>
e7c126 8         <version>${revision}</version>
H 9     </parent>
10     <modelVersion>4.0.0</modelVersion>
11     <modules>
12         <module>iailab-module-infra-api</module>
13         <module>iailab-module-infra-biz</module>
14     </modules>
15     <artifactId>iailab-module-infra</artifactId>
16     <packaging>pom</packaging>
17
18     <name>${project.artifactId}</name>
19     <description>
20         infra 模块,主要提供两块能力:
21         1. 我们放基础设施的运维与管理,支撑上层的通用与核心业务。 例如说:定时任务的管理、服务器的信息等等
22         2. 研发工具,提升研发效率与质量。 例如说:代码生成器、接口文档等等
23     </description>
24
25     <build>
26         <pluginManagement>
27             <plugins>
28                 <!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
29                 <!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
30                 <plugin>
31                     <groupId>org.apache.maven.plugins</groupId>
32                     <artifactId>maven-surefire-plugin</artifactId>
33                     <version>${maven-surefire-plugin.version}</version>
34                     <configuration>
35                         <skip>true</skip>
36                     </configuration>
37                 </plugin>
38                 <!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 -->
39                 <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
40                 <plugin>
41                     <groupId>org.apache.maven.plugins</groupId>
42                     <artifactId>maven-compiler-plugin</artifactId>
43                     <version>${maven-compiler-plugin.version}</version>
44                     <configuration>
45                         <annotationProcessorPaths>
46                             <path>
47                                 <groupId>org.springframework.boot</groupId>
48                                 <artifactId>spring-boot-configuration-processor</artifactId>
49                                 <version>${spring.boot.version}</version>
50                             </path>
51                             <path>
52                                 <groupId>org.projectlombok</groupId>
53                                 <artifactId>lombok</artifactId>
54                                 <version>${lombok.version}</version>
55                             </path>
56                             <path>
57                                 <groupId>org.mapstruct</groupId>
58                                 <artifactId>mapstruct-processor</artifactId>
59                                 <version>${mapstruct.version}</version>
60                             </path>
61                         </annotationProcessorPaths>
62                     </configuration>
63                 </plugin>
64             </plugins>
65         </pluginManagement>
66     </build>
67
68
69 </project>