# 多模块POM配置
# 父模块配置
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<modules>
<module>hc-service-main</module>
</modules>
<parent>
<groupId>pro.haichuang.framework</groupId>
<artifactId>haichuangframework</artifactId>
<version>1.2.2.211220</version>
<relativePath/>
</parent>
<groupId>pro.haichuang.framework.service</groupId>
<artifactId>项目代号</artifactId>
<version>1.0.0</version>
<name>项目代号</name>
<description>This is a simple framework integration project developed by Haichuang</description>
<url>https://github.com/cdhaichuang/haichuangframework</url>
<inceptionYear>2021</inceptionYear>
<organization>
<name>HaiChuang Inc.</name>
<url>https://www.cdhaichuang.com</url>
</organization>
<properties>
<java.version>1.8</java.version>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
</project>
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
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
# 子模块配置
<?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">
<parent>
<groupId>pro.haichuang.framework.service</groupId>
<artifactId>项目代号</artifactId>
<version>1.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>hc-service-main</artifactId>
<version>1.0.0</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<jar-file-name>项目代号</jar-file-name>
</properties>
<dependencies>
<dependency>
<groupId>pro.haichuang.framework</groupId>
<artifactId>hc-base</artifactId>
</dependency>
<dependency>
<groupId>pro.haichuang.framework</groupId>
<artifactId>hc-mybatis</artifactId>
</dependency>
<dependency>
<groupId>pro.haichuang.framework</groupId>
<artifactId>hc-redis</artifactId>
</dependency>
</dependencies>
<build>
<finalName>${jar-file-name}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
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
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