-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathpom.xml
More file actions
247 lines (238 loc) · 10.7 KB
/
pom.xml
File metadata and controls
247 lines (238 loc) · 10.7 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<?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>
<groupId>com.laker.tools</groupId>
<artifactId>easy-postman-parent</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<!--
顶层模块划分说明:
1. easy-postman-plugin-api:稳定扩展接口,只放插件可依赖的公共 SPI
2. easy-postman-plugin-bridge:稳定桥接契约、共享模型、非 UI 的公共工具
3. easy-postman-plugin-ui:插件和宿主共享的 UI 基础组件、样式和视觉工具
4. easy-postman-plugin-runtime:插件扫描、加载、启停、状态持久化
5. easy-postman-plugins:官方插件聚合目录,每个 plugin-* 独立打包发布
6. easy-postman-app:宿主应用,只保留核心能力和插件桥接点
-->
<modules>
<module>easy-postman-plugin-api</module>
<module>easy-postman-plugin-bridge</module>
<module>easy-postman-plugin-ui</module>
<module>easy-postman-plugin-runtime</module>
<module>easy-postman-plugins</module>
<module>easy-postman-app</module>
</modules>
<properties>
<!--
宿主版本入口。
app / runtime / api / manager 等平台层跟随 ${revision}。
plugin-* 不跟随这里自动升级,而是在各自 pom.xml 里单独维护版本,
这样后续可以按“哪个插件改了就只发哪个插件”的节奏独立发版。
-->
<revision>5.4.28</revision>
<!--
插件平台兼容版本。
它表达的是“插件 SPI / 运行时装配边界”,不等同于宿主 revision。
只有插件机制自身发生不兼容变化时,才需要提升这个版本。
-->
<plugin.platform.version>1.0.0</plugin.platform.version>
<!-- 官方插件默认主页,供 descriptor 模板统一复用。 -->
<plugin.homepage>https://github.com/lakernote/easy-postman</plugin.homepage>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ssXXX</maven.build.timestamp.format>
<mainClass>com.laker.postman.App</mainClass>
<!-- UI / core 基础依赖版本 -->
<flatlaf.version>3.7</flatlaf.version>
<miglayout.version>11.4.2</miglayout.version>
<hutool.version>5.8.41</hutool.version>
<jiconfont-swing.version>1.0.1</jiconfont-swing.version>
<jiconfont-font_awesome.version>4.7.0.1</jiconfont-font_awesome.version>
<logback-classic.version>1.5.20</logback-classic.version>
<jfreechart.version>1.5.5</jfreechart.version>
<okhttp.version>4.12.0</okhttp.version>
<kafka.version>3.9.2</kafka.version>
<polyglot.version>24.2.1</polyglot.version>
<org.eclipse.jgit.version>7.3.0.202506031305-r</org.eclipse.jgit.version>
<jackson.version>3.0.2</jackson.version>
<lombok.version>1.18.42</lombok.version>
<twelvemonkeys.version>3.12.0</twelvemonkeys.version>
<kotlin.version>1.9.25</kotlin.version>
<rsyntaxtextarea.version>3.5.4</rsyntaxtextarea.version>
<autocomplete.version>3.3.2</autocomplete.version>
<slf4j.version>2.0.17</slf4j.version>
<testng.version>7.8.0</testng.version>
<jedis.version>5.2.0</jedis.version>
<cfr.version>0.152</cfr.version>
<maven.compiler.plugin.version>3.11.0</maven.compiler.plugin.version>
<maven.jar.plugin.version>3.4.2</maven.jar.plugin.version>
<maven.resources.plugin.version>3.4.0</maven.resources.plugin.version>
<maven.shade.plugin.version>3.5.0</maven.shade.plugin.version>
</properties>
<dependencyManagement>
<!--
统一管理公共依赖版本,避免各子模块重复写版本号。
这里主要放平台层和多个插件都会复用的库。
-->
<dependencies>
<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf</artifactId>
<version>${flatlaf.version}</version>
</dependency>
<dependency>
<groupId>com.formdev</groupId>
<artifactId>flatlaf-extras</artifactId>
<version>${flatlaf.version}</version>
</dependency>
<dependency>
<groupId>com.miglayout</groupId>
<artifactId>miglayout-swing</artifactId>
<version>${miglayout.version}</version>
</dependency>
<dependency>
<groupId>tools.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback-classic.version}</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>polyglot</artifactId>
<version>${polyglot.version}</version>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>${polyglot.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js-community</artifactId>
<version>${polyglot.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.graalvm.regex</groupId>
<artifactId>regex</artifactId>
<version>${polyglot.version}</version>
</dependency>
<dependency>
<groupId>com.fifesoft</groupId>
<artifactId>rsyntaxtextarea</artifactId>
<version>${rsyntaxtextarea.version}</version>
</dependency>
<dependency>
<groupId>com.fifesoft</groupId>
<artifactId>autocomplete</artifactId>
<version>${autocomplete.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
</dependency>
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>${jedis.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-common</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk7</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib-jdk8</artifactId>
<version>${kotlin.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<!-- 统一 Maven 插件版本与默认配置,子模块按需继承 -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.plugin.version}</version>
<configuration>
<encoding>UTF-8</encoding>
<propertiesEncoding>UTF-8</propertiesEncoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven.shade.plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<!-- 国内镜像,降低依赖下载失败概率 -->
<repository>
<id>Aliyun-repository</id>
<url>https://maven.aliyun.com/repository/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<!-- Maven 插件解析同样走国内镜像 -->
<pluginRepository>
<id>Aliyun-pluginRepository</id>
<url>https://maven.aliyun.com/repository/public</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>