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     <modelVersion>4.0.0</modelVersion>
6     <parent>
08e3e8 7         <artifactId>iailab-plat</artifactId>
e7c126 8         <groupId>com.iailab</groupId>
H 9         <version>${revision}</version>
10     </parent>
11     <packaging>pom</packaging>
12     <modules>
13         <module>iailab-common</module>
14         <module>iailab-common-env</module>
15         <module>iailab-common-mybatis</module>
16         <module>iailab-common-redis</module>
17         <module>iailab-common-web</module>
18         <module>iailab-common-security</module>
19         <module>iailab-common-websocket</module>
20
21         <module>iailab-common-monitor</module>
22         <module>iailab-common-protection</module>
23         <module>iailab-common-job</module>
24         <module>iailab-common-mq</module>
25         <module>iailab-common-rpc</module>
26
27         <module>iailab-common-excel</module>
28         <module>iailab-common-test</module>
29
30         <module>iailab-common-biz-tenant</module>
31         <module>iailab-common-biz-data-permission</module>
32         <module>iailab-common-biz-ip</module>
33     </modules>
34
35     <artifactId>iailab-framework</artifactId>
36     <description>
37         该包是技术组件,每个子包,代表一个组件。每个组件包括两部分:
38             1. core 包:是该组件的核心封装
39             2. config 包:是该组件基于 Spring 的配置
40
41         技术组件,也分成两类:
42             1. 框架组件:和我们熟悉的 MyBatis、Redis 等等的拓展
43             2. 业务组件:和业务相关的组件的封装,例如说数据字典、操作日志等等。
44         如果是业务组件,Maven 名字会包含 biz
45     </description>
4d4165 46     <url>http://172.16.8.100:8888/summary/iailab-plat.git</url>
e7c126 47
H 48     <build>
49         <pluginManagement>
50             <plugins>
51                 <!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
52                 <!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
53                 <plugin>
54                     <groupId>org.apache.maven.plugins</groupId>
55                     <artifactId>maven-surefire-plugin</artifactId>
56                     <version>${maven-surefire-plugin.version}</version>
57                 </plugin>
58                 <!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 -->
59                 <!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
60                 <plugin>
61                     <groupId>org.apache.maven.plugins</groupId>
62                     <artifactId>maven-compiler-plugin</artifactId>
63                     <version>${maven-compiler-plugin.version}</version>
64                     <configuration>
65                         <annotationProcessorPaths>
66                             <path>
67                                 <groupId>org.springframework.boot</groupId>
68                                 <artifactId>spring-boot-configuration-processor</artifactId>
69                                 <version>${spring.boot.version}</version>
70                             </path>
71                             <path>
72                                 <groupId>org.projectlombok</groupId>
73                                 <artifactId>lombok</artifactId>
74                                 <version>${lombok.version}</version>
75                             </path>
76                             <path>
77                                 <groupId>org.mapstruct</groupId>
78                                 <artifactId>mapstruct-processor</artifactId>
79                                 <version>${mapstruct.version}</version>
80                             </path>
81                         </annotationProcessorPaths>
82                     </configuration>
83                 </plugin>
84             </plugins>
85         </pluginManagement>
86
87         <plugins>
88             <!-- 统一 revision 版本 -->
89             <plugin>
90                 <groupId>org.codehaus.mojo</groupId>
91                 <artifactId>flatten-maven-plugin</artifactId>
92                 <version>${flatten-maven-plugin.version}</version>
93                 <configuration>
94                     <flattenMode>resolveCiFriendliesOnly</flattenMode>
95                     <updatePomFile>true</updatePomFile>
96                 </configuration>
97                 <executions>
98                     <execution>
99                         <goals>
100                             <goal>flatten</goal>
101                         </goals>
102                         <id>flatten</id>
103                         <phase>process-resources</phase>
104                     </execution>
105                     <execution>
106                         <goals>
107                             <goal>clean</goal>
108                         </goals>
109                         <id>flatten.clean</id>
110                         <phase>clean</phase>
111                     </execution>
112                 </executions>
113             </plugin>
114
115         </plugins>
116     </build>
117
118 </project>