-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
424 lines (398 loc) · 17.7 KB
/
Copy pathpom.xml
File metadata and controls
424 lines (398 loc) · 17.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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2026 Franz Schöning (https://www.franzschoning.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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.zeroz4j</groupId>
<artifactId>zerozstack-parent</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>ZeroZ Stack Parent</name>
<description>Zero-impedance pure-Java full-stack framework: Java UI compiled for the browser
by TeaVM, binary RPC over a persistent WebSocket, and object-graph persistence on
ZeroZ DB.</description>
<url>https://www.zeroz4j.com</url>
<organization>
<name>ZeroZ4J</name>
<url>https://www.zeroz4j.com</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>fschoning</id>
<name>Franz Schöning</name>
<url>https://www.franzschoning.com</url>
<organizationUrl>https://www.franzschoning.com</organizationUrl>
<roles>
<role>Principal Enterprise Architect</role>
</roles>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/ZeroZ4j/zerozstack.git</connection>
<developerConnection>scm:git:ssh://git@github.com/ZeroZ4j/zerozstack.git</developerConnection>
<url>https://github.com/ZeroZ4j/zerozstack</url>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/ZeroZ4j/zerozstack/issues</url>
</issueManagement>
<modules>
<module>zerozstack-shared-api</module>
<module>zerozstack-apt</module>
<module>zerozstack-client</module>
<module>zerozstack-server-core</module>
<module>zerozstack-server-test</module>
<module>zerozstack-server-jaxrs</module>
<module>zerozstack-server-jakarta</module>
<module>zerozstack-server-helidon</module>
<module>zerozstack-auth-oidc</module>
<module>zerozstack-examples</module>
<module>zerozstack-ui-components</module>
<module>zerozstack-store-eclipsestore</module>
<module>zerozstack-bom</module>
<module>zerozstack-archetype</module>
</modules>
<properties>
<revision>0.10.0-SNAPSHOT</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Everything the build writes is UTF-8 too, javadoc included. Without this the
javadoc tool falls back through a chain of defaults to the platform encoding,
which on a Windows machine is a single-byte code page. -->
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<teavm.version>0.15.0</teavm.version>
<!-- EclipseStore's serializer base, which carries the Lazy interface. MUST match the
storage-embedded version in zerozstack-store-eclipsestore: server and client have to agree on
the Lazy type, and a mismatch surfaces as an obscure "cannot access UsageMarkable" rather
than a version error. -->
<eclipsestore.version>4.1.0</eclipsestore.version>
<zerozdb.version>0.2.0</zerozdb.version>
<eclipsestore.serializer.version>${eclipsestore.version}</eclipsestore.serializer.version>
<jakarta.ee.version>10.0.0</jakarta.ee.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<maven.compiler.release>21</maven.compiler.release>
</properties>
<dependencyManagement>
<dependencies>
<!-- Submodules -->
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-shared-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-apt</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-client</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-server-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-server-test</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-server-jaxrs</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-server-jakarta</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-server-helidon</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-auth-oidc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-ui-components</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.zeroz4j</groupId>
<artifactId>zerozstack-store-eclipsestore</artifactId>
<version>${project.version}</version>
</dependency>
<!-- TeaVM -->
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-jso</artifactId>
<version>${teavm.version}</version>
</dependency>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-platform</artifactId>
<version>${teavm.version}</version>
</dependency>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-jso-apis</artifactId>
<version>${teavm.version}</version>
</dependency>
<dependency>
<groupId>org.teavm</groupId>
<artifactId>teavm-classlib</artifactId>
<version>${teavm.version}</version>
</dependency>
<!-- Jakarta EE -->
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>${jakarta.ee.version}</version>
<scope>provided</scope>
</dependency>
<!-- Helidon BOM -->
<dependency>
<groupId>io.helidon</groupId>
<artifactId>helidon-bom</artifactId>
<version>4.0.8</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Force JAX-RS API 3.1.0 globally to avoid classpath shadowing by older versions (e.g. from docker-java) -->
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.1.0</version>
</dependency>
<!-- Force Jandex 3.2.2 globally to read index version 12 generated by jandex-maven-plugin 3.2.0 -->
<dependency>
<groupId>io.smallrye</groupId>
<artifactId>jandex</artifactId>
<version>3.2.2</version>
</dependency>
<!-- Force Annotation API 2.1.1 (Jakarta EE 10) for Helidon 4 -->
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.1.1</version>
</dependency>
<!-- Testing -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<release>21</release>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<!-- Resolves ${revision} in installed/deployed POMs so artifacts are
consumable outside the reactor (local installs, Maven Central). -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.6.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.teavm</groupId>
<artifactId>teavm-maven-plugin</artifactId>
<version>${teavm.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.6.1</version>
<executions>
<execution>
<id>copy-libs</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
<includeScope>runtime</includeScope>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<mainClass>${zeroz4j.mainClass}</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!--
Release to Maven Central. The account setup, namespace verification and signing key
are documented once for the family in ZeroZ DB's RELEASING.md; the com.zeroz4j
namespace covers this repository too, so only this build configuration is needed.
mvn clean deploy -Prelease
-->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.2</version>
<configuration>
<doctitle>ZeroZ Stack ${project.version} API</doctitle>
<windowtitle>ZeroZ Stack ${project.version}</windowtitle>
<bottom><![CDATA[Copyright © 2026 Franz Schöning —
<a href="https://www.zeroz4j.com">zeroz4j.com</a> —
<a href="https://www.franzschoning.com">Principal Enterprise Architect</a>]]></bottom>
<doclint>none</doclint>
<notimestamp>true</notimestamp>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
<configuration>
<!-- GnuPG 2.x refuses a passphrase from settings.xml unless
loopback pinentry is enabled; without this a scripted
release hangs waiting for a dialog that never appears. -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<!-- Deliberately manual: a published version can never be changed or
removed, so each deployment is inspected in the portal first. -->
<autoPublish>false</autoPublish>
<waitUntil>validated</waitUntil>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>