Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
438 lines (433 loc) · 20.9 KB
/
Copy pathpom.xml
File metadata and controls
438 lines (433 loc) · 20.9 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
425
426
427
428
429
430
431
432
433
434
435
436
437
438
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 https://maven.apache.org/xsd/maven-4.1.0.xsd">
<modelVersion>4.1.0</modelVersion>
<parent>
<groupId>network.ike.platform</groupId>
<artifactId>ike-parent</artifactId>
<version>200</version>
<relativePath/>
</parent>
<groupId>dev.ikm.komet</groupId>
<artifactId>komet-parent</artifactId>
<name>KOMET</name>
<version>1.59.5-SNAPSHOT</version>
<packaging>pom</packaging>
<inceptionYear>2015</inceptionYear>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<distributionManagement>
<!-- Explicit <site> URL — see ike-parent/CLAUDE.md
("Inheriting projects MUST declare their own
<distributionManagement><site>") and ike-issues#380/#383.
Artifact id is `komet-parent`; site lives at the repo path. -->
<site>
<id>ike-site</id>
<url>https://ike.network/komet/</url>
</site>
</distributionManagement>
<scm>
<url>http://www.github.com/ikmdev/komet</url>
</scm>
<developers>
<developer>
<id>ikmdev</id>
<name>IKM Development Team</name>
<email>support@ikm.dev</email>
</developer>
</developers>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/ikmdev/komet/issues</url>
</issueManagement>
<url>http://www.ikm.dev</url>
<organization>
<name>Integrated Knowledge Management</name>
<url>http://www.ikm.dev</url>
</organization>
<subprojects>
<subproject>komet-terms</subproject>
<subproject>preferences</subproject>
<subproject>artifact-resolution</subproject>
<subproject>framework</subproject>
<subproject>artifact</subproject>
<subproject>builder</subproject>
<subproject>classification</subproject>
<subproject>details</subproject>
<subproject>executor</subproject>
<subproject>list</subproject>
<subproject>navigator</subproject>
<subproject>progress</subproject>
<subproject>rules</subproject>
<subproject>search</subproject>
<subproject>knowledge-layout</subproject>
<subproject>komet-markdown-richtext</subproject>
<subproject>kview</subproject>
<subproject>sync</subproject>
<subproject>knowledge-layout-editor</subproject>
</subprojects>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jpackage.version>1.7.3</jpackage.version>
<maven.github-flow.version>1.21.1-r11</maven.github-flow.version>
<javafx-maven-plugin.version>0.0.8</javafx-maven-plugin.version>
<!-- The IKE starter set the tests load, from starter-data-ws, which builds after this repository. -->
<ike-starter-set.version>1-SNAPSHOT</ike-starter-set.version>
<!-- TestFX / Monocle -->
<commonTestFXArgs>
-Dtestfx.headless=true
--add-opens=javafx.graphics/com.sun.glass.ui=org.testfx.core
--add-opens=javafx.graphics/com.sun.javafx.application=org.testfx.core
--add-exports=javafx.graphics/com.sun.javafx.application=org.testfx.core
--add-exports=javafx.graphics/com.sun.glass.ui=org.testfx.monocle
--add-exports=javafx.graphics/com.sun.javafx.util=org.testfx.monocle
--add-exports=javafx.base/com.sun.javafx.logging=org.testfx.monocle
--add-opens=javafx.graphics/javafx.scene=org.controlsfx.controls
--add-exports=javafx.controls/com.sun.javafx.scene.control.behavior=dev.ikm.komet.navigator
</commonTestFXArgs>
<java.version>27</java.version>
<!-- The nid build check (tinkar-core nid-check, IKE-Network/ike-issues#1244): how it
reports (error, or warning for a census), which classes may narrow a nid, and
javac's cap on warnings, high enough that no warning is dropped. -->
<nid-check.report>error</nid-check.report>
<nid-check.allow></nid-check.allow>
<javac.maxwarns>10000</javac.maxwarns>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>dev.ikm.komet</groupId>
<artifactId>komet-bom</artifactId>
<version>3.0.12-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<!-- Cross project dependencies -->
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
<scope>test</scope>
</dependency>
<!--- Bind To SLF4J Dependencies (Start). Runtime scope: the bridges catch other
libraries' log4j and commons-logging calls; nothing here compiles against them. -->
<!-- Binding log4j to slf4j -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Binding tools-logging to slf4j -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Bind To SLF4J Dependencies (End) -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-console</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>common-java5</artifactId>
<scope>test</scope>
</dependency>
<!-- The shared test logging configuration (log4j2-test.xml); a library ships none of its own. log4j-jul routes java.util.logging (Lucene, JavaFX) into Log4j in the test JVMs. -->
<dependency>
<groupId>dev.ikm.tinkar</groupId>
<artifactId>test-logging</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-jul</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>tinkar-nexus</id>
<url>https://nexus.tinkar.org/repository/ike-public/</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<!-- version inherited from ike-base-parent; bc signer is required for
parallel-safe signing (do not switch to native gpg) -->
<configuration>
<signer>bc</signer>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<timestampFormat>MMMM d, yyyy - HH:mm:ss</timestampFormat>
<timestampPropertyName>build.time</timestampPropertyName>
</configuration>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>create-timestamp</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>${javafx-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>${jpackage.version}</version>
</plugin>
<plugin>
<groupId>one.jpro</groupId>
<artifactId>jpro-maven-plugin</artifactId>
<version>${jpro.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<additionalOptions>
<additionalOption>--enable-preview</additionalOption>
</additionalOptions>
<additionalJOptions>
<additionalJOption>--enable-preview</additionalJOption>
</additionalJOptions>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Lucene 10.5.1 turns its Vector API code on only up to Java 26 and warns on 27.
The property raises that limit; the full suite passes with it. Drop it when
a Lucene release supports Java 27. -->
<argLine>
@{argLine}
--enable-preview
--enable-native-access=ALL-UNNAMED
--sun-misc-unsafe-memory-access=allow
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
--add-modules jdk.incubator.vector
-Dorg.apache.lucene.vectorization.upperJavaFeatureVersion=27
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<!-- Exclude files using JEP 447 (statements before super/this) - unsupported by Checkstyle parser -->
<!-- @SuppressWarnings is ineffective because Checkstyle fails during parsing, before annotations are processed -->
<excludes>**/ViewContext.java,**/DefaultKl*Field.java,**/KlReadOnly*Field.java,**/KlEditable*Field.java</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<!-- Shared by every module's analyze execution (same id).
These dependencies never appear in bytecode: the
logging binding and the LogManager are chosen by
name, test-logging holds only a configuration file,
and the JUnit and surefire artifacts are launcher
infrastructure. ike-parent ignores its own provided
zips itself (IKE-Network/ike-issues#1193). -->
<execution>
<id>analyze</id>
<configuration>
<ignoredUnusedDeclaredDependencies>
<ignoredUnusedDeclaredDependency>org.apache.logging.log4j:log4j-slf4j2-impl</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>org.apache.logging.log4j:log4j-jul</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>dev.ikm.tinkar:test-logging</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>org.junit.jupiter:junit-jupiter</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>org.junit.platform:junit-platform-console</ignoredUnusedDeclaredDependency>
<ignoredUnusedDeclaredDependency>org.apache.maven.surefire:common-java5</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- Local overrides: fork the compiler into a separate
JVM, and restrict annotation processors to record-
builder only. Source/target/release, compilerArgs,
and the record-builder annotationProcessorPath are
provided by ike-parent:13 (#282). -->
<fork>true</fork>
<annotationProcessors>
<annotationProcessor>io.soabase.recordbuilder.processor.RecordBuilderProcessor
</annotationProcessor>
</annotationProcessors>
<!-- The nid build check (tinkar-core nid-check, IKE-Network/ike-issues#1244). -->
<compilerArgs combine.children="append">
<arg>-Xplugin:NidCheck report=${nid-check.report} allow=${nid-check.allow}</arg>
<arg>-Xmaxwarns</arg>
<arg>${javac.maxwarns}</arg>
<arg>-Xmaxerrs</arg>
<arg>10000</arg>
</compilerArgs>
<annotationProcessorPathsUseDepMgmt>true</annotationProcessorPathsUseDepMgmt>
<annotationProcessorPaths combine.children="append">
<path>
<groupId>dev.ikm.tinkar</groupId>
<artifactId>nid-check</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>integrationTestFX</id>
<activation>
<property>
<name>runITestFX</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
<execution>
<id>testfx-integration-tests</id>
<phase>integration-test</phase>
<goals>
<goal>integration-test</goal>
</goals>
<configuration>
<includes>
<include>**/*ITestFX.java</include>
</includes>
<!-- Lucene 10.5.1 turns its Vector API code on only up to Java 26 and warns on 27.
The property raises that limit; the full suite passes with it. Drop it when
a Lucene release supports Java 27. -->
<argLine>
@{failsafeArgLine}
--enable-preview
--enable-native-access=ALL-UNNAMED
--sun-misc-unsafe-memory-access=allow
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
--add-modules jdk.incubator.vector
-Dorg.apache.lucene.vectorization.upperJavaFeatureVersion=27
${commonTestFXArgs}
</argLine>
<forkCount>1</forkCount>
<reuseForks>false</reuseForks>
<systemPropertyVariables>
<target.data.directory>${project.build.directory}/data</target.data.directory>
</systemPropertyVariables>
</configuration>
</execution>
<execution>
<id>verify</id>
<phase>verify</phase>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>unitTestFX</id>
<activation>
<property>
<name>runUTestFX</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>testfx-unit-tests</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<includes>
<include>**/*UTestFX.java</include>
</includes>
<!-- Lucene 10.5.1 turns its Vector API code on only up to Java 26 and warns on 27.
The property raises that limit; the full suite passes with it. Drop it when
a Lucene release supports Java 27. -->
<argLine>
@{argLine}
--enable-preview
--enable-native-access=ALL-UNNAMED
--sun-misc-unsafe-memory-access=allow
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
--add-modules jdk.incubator.vector
-Dorg.apache.lucene.vectorization.upperJavaFeatureVersion=27
${commonTestFXArgs}
</argLine>
</configuration>
</execution>
<!-- Disable the default execution -->
<execution>
<id>default-test</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>