-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
95 lines (90 loc) · 3.19 KB
/
pom.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
<groupId>cn.koala</groupId>
<artifactId>koala</artifactId>
<description>考拉</description>
<packaging>pom</packaging>
<version>${revision}</version>
<properties>
<revision>2023.1.4</revision>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<flatten-maven-plugin.version>1.3.0</flatten-maven-plugin.version>
</properties>
<modules>
<module>koala-applications</module>
<module>koala-archetypes</module>
<module>koala-dependencies</module>
<module>koala-domains</module>
<module>koala-parent</module>
<module>koala-starters</module>
</modules>
<build>
<plugins>
<!--包含源码-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!--处理多项目无法使用共同版本号revision-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<inherited>true</inherited>
<executions>
<execution>
<!-- Tidy up all POMs before they are published -->
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>bom</flattenMode>
<embedBuildProfileDependencies>true</embedBuildProfileDependencies>
<pomElements>
<parent>expand</parent>
<distributionManagement>remove</distributionManagement>
<repositories>remove</repositories>
</pomElements>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<developers>
<developer>
<name>koala-projects</name>
<email>koala_projects@yeah.net</email>
</developer>
</developers>
<distributionManagement>
<repository>
<id>koala-releases</id>
<url>file://D:/Project/koala-projects/maven-repository/releases/</url>
</repository>
<snapshotRepository>
<id>koala-snapshots</id>
<url>file://D:/Project/koala-projects/maven-repository/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</project>