-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
498 lines (466 loc) · 15 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
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
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
<?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>org.pankratzlab</groupId>
<artifactId>donorcheck</artifactId>
<!-- if version number changes, be sure to update in project.properties file also -->
<version>1.2.15</version>
<packaging>jar</packaging>
<description>A stand-alone tool for validating DonorNet typing entries.</description>
<inceptionYear>2018</inceptionYear>
<organization>
<name>Division of Computational Pathology, University of Minnesota</name>
<url>https://www.pathology.umn.edu/computational-pathology</url>
</organization>
<developers>
<developer>
<id>hinerm</id>
<name>Mark Hiner</name>
<email>hine0116@umn.edu</email>
</developer>
<developer>
<id>kaitlinrenee</id>
<name>Kaitlin Clarke</name>
<email>krclarke@umn.edu</email>
</developer>
<developer>
<id>rcoleb</id>
<name>Ben Cole</name>
<email>cole0482@umn.edu</email>
</developer>
</developers>
<repositories>
<repository>
<id>central</id>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>github-donor-check</id>
<url>https://maven.pkg.github.com/PankratzLab/DonorCheck</url>
</repository>
</repositories>
<distributionManagement>
<repository>
<id>github-donor-check</id>
<url>https://maven.pkg.github.com/PankratzLab/DonorCheck</url>
</repository>
</distributionManagement>
<scm>
<connection>scm:git:git://github.com/PankratzLab/DonorCheck</connection>
<developerConnection>scm:git:git@github.com:PankratzLab/DonorCheck</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/PankratzLab/DonorCheck</url>
</scm>
<properties>
<outname>DonorCheck</outname>
<appName>DonorCheck</appName>
<copyright>(c)2024 Computational Pathology - University of Minnesota, GNU General Public License, v2</copyright>
<configuration-vendor>Division of Computational Pathology, UMTC</configuration-vendor>
<mainClass>org.pankratzlab.unet.jfx.TypeValidationEntry</mainClass>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Controls the Java and Maven compliance versions -->
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<app.dir>${project.build.directory}/app</app.dir>
<resources.dir>${project.basedir}/src/main/resources/</resources.dir>
</properties>
<dependencies>
<dependency>
<groupId>org.pankratzlab</groupId>
<artifactId>BackgroundDataProcessor-java11</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-model</artifactId>
<version>3.3.9</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>1.8.3</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.2.1-jre</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.15</version>
</dependency>
<dependency>
<groupId>org.controlsfx</groupId>
<artifactId>controlsfx</artifactId>
<version>8.40.14</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.5</version>
</dependency>
<!-- dependency used for XLSX file format -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.16</version>
</dependency>
<!-- dependency used for XLS older file format (added for information) -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.16</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>ooxml-schemas</artifactId>
<version>1.3</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.18.0</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.18.0</version>
</dependency>
<!-- Test scope dependencies - not included in .jars built with Maven -->
<!-- JUnit - http://junit.org/ -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>5.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.4.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<version>1.4.2</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.27.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>22.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>22.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>22.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<version>22.0.2</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-swing</artifactId>
<version>22.0.2</version>
</dependency>
</dependencies>
<build>
<!-- The pluginManagement block controls plugin configuration in all modules -->
<pluginManagement>
<plugins>
<!-- clean lifecycle, see
https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.0</version>
</plugin>
<!-- default lifecycle, jar packaging: see
https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<!-- site lifecycle, see
https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version>
</plugin>
<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.6.2</version>
</plugin>
<!-- Exec Maven plugin -
http://www.mojohaus.org/exec-maven-plugin/ This
plugin launches a Java class using Maven. -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>com.github.akman</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>0.1.5</version>
</plugin>
<!--
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.0</version>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.4.0</version>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>3.3</version>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.3.1</version>
</plugin>
Exec Maven plugin - http://www.mojohaus.org/exec-maven-plugin/ This
plugin launches a Java class using Maven.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.1</version>
</plugin>
<plugin>
<groupId>com.github.akman</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>0.1.5</version>
</plugin>-->
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>jar-with-dependencies</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
</resources>
<plugins>
<!--
DonorCheck uses the Maven Assembly plugin to create a 'fat jar',
i.e. a jar file with all necessary dependency libraries included inside of it.
Because other applications don't depend on DonorCheck as a library,
the Maven Assembly plugin is more appropriate to use rather than the Maven Shade plugin.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>${project.artifactId}</finalName>
<archive>
<manifest>
<mainClass>${mainClass}</mainClass>
</manifest>
<manifestEntries>
<!-- Add SCM revision from buildnumber plugin, if available. -->
<Implementation-Title>Revision</Implementation-Title>
<Implementation-Version>${buildNumber}</Implementation-Version>
<!-- Add a formatted timestamp for the build. -->
<Specification-Title>DonorCheck</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Compile-Time>${timestamp}</Compile-Time>
<Build-Type>Development</Build-Type>
<Implementation-Vendor>(c)2024 Computational Pathology - University of Minnesota, GNU General Public License, v2</Implementation-Vendor>
</manifestEntries>
</archive>
<!-- this tag tells the plugin to include all of the dependencies in the jar -->
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<!-- this tag tells the plugin to not append "jar-with-dependencies" to the created filename -->
<appendAssemblyId>false</appendAssemblyId>
<!--
this tells the plugin to put the created jar in a specific
subdirectory, away from other files, so that later the
jpackage plugin can bundle just this directory.
-->
<outputDirectory>target/package/</outputDirectory>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- This profile is used to create an installer for new releases -->
<id>jfx-installer</id>
<build>
<plugins>
<plugin>
<groupId>com.github.akman</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<executions>
<execution>
<id>create-jfxjar</id>
<phase>install</phase>
<goals>
<goal>jpackage</goal>
</goals>
<configuration>
<!--
NB: 'appname' and 'appName' are *NOT* the same value!
For DonorCheck, 'appname' is 'TypeValidationEntry', while
'appName' is 'DonorCheck'.
-->
<name>${appName}</name>
<!-- Enable adding the application to the system menu. -->
<winmenu>true</winmenu>
<!-- Enable creating a desktop shortcut for the application. -->
<winshortcut>true</winshortcut>
<!--
Enable requesting to perform an install on a per-user basis.
Removes the need for admin privileges / installs the application
to the AppData directory.
-->
<winperuserinstall>true</winperuserinstall>
<appversion>${project.version}</appversion>
<vendor>${configuration-vendor}</vendor>
<icon>${project.basedir}/src/main/resources/icon.ico</icon>
<javaoptions>-Xmx1g -Xms256m</javaoptions>
<mainclass>${mainClass}</mainclass>
<!--
enable this flag to show a cmd console when running TiterCalc;
somewhat useful for debugging the exe-to-jar process, but doesn't
show java errors / exception output
-->
<!--<winconsole>true</winconsole>-->
<!-- Start menu group this application is placed in. -->
<winmenugroup>HLA-Suite</winmenugroup>
<!-- location of files to be included in the EXE/installer -->
<input>target/package/</input>
<!-- Main jar to be run; path is relative to input directory above -->
<mainjar>${project.artifactId}.jar</mainjar>
<temp>wix</temp>
<copyright>${copyright}</copyright>
<verbose>true</verbose>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- This profile is enabled automatically when building with a 32-bit JVM -->
<id>32bitstuff</id>
<activation>
<property>
<name>sun.arch.data.model</name>
<value>32</value>
</property>
</activation>
<properties>
<winVer>win86</winVer>
</properties>
</profile>
<profile>
<!-- This profile is enabled automatically when building with a 64-bit JVM -->
<id>64bitstuff</id>
<activation>
<property>
<name>sun.arch.data.model</name>
<value>64</value>
</property>
</activation>
<properties>
<winVer>win64</winVer>
</properties>
</profile>
</profiles>
</project>