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