pom.xml 26.6 KB
Newer Older
Tobias Wich's avatar
Tobias Wich committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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/maven-v4_0_0.xsd">
Tobias Wich's avatar
Tobias Wich committed
3
	<modelVersion>4.0.0</modelVersion>
Tobias Wich's avatar
Tobias Wich committed
4

Tobias Wich's avatar
Tobias Wich committed
5
6
7
	<groupId>org.openecard</groupId>
	<artifactId>app</artifactId>
	<packaging>pom</packaging>
8
	<version>1.4.0-rc.4-SNAPSHOT</version>
Tobias Wich's avatar
Tobias Wich committed
9
	<name>Open eCard Client</name>
Tobias Wich's avatar
Tobias Wich committed
10

Tobias Wich's avatar
Tobias Wich committed
11
	<url>http://www.openecard.org/</url>
Tobias Wich's avatar
Tobias Wich committed
12
13
14
15
16
17
	<inceptionYear>2011</inceptionYear>

	<organization>
		<name>Open eCard Team</name>
		<url>http://www.openecard.org</url>
	</organization>
Tobias Wich's avatar
Tobias Wich committed
18

Tobias Wich's avatar
Tobias Wich committed
19
20
21
22
	<scm>
		<connection>scm:git:https://github.com/ecsec/open-ecard.git</connection>
		<developerConnection>scm:git:ssh://git@github.com/ecsec/open-ecard.git</developerConnection>
		<url>https://github.com/ecsec/open-ecard</url>
23
		<tag>1.2.4</tag>
Tobias Wich's avatar
Tobias Wich committed
24
	</scm>
Tobias Wich's avatar
Tobias Wich committed
25
26
27
28
29
30
31
32
	<ciManagement>
		<system>Jenkins CI</system>
		<url>https://ci.openecard.org</url>
	</ciManagement>
	<issueManagement>
		<system>Redmine</system>
		<url>https://dev.openecard.org/projects/open-ecard/issues</url>
	</issueManagement>
Tobias Wich's avatar
Tobias Wich committed
33

Tobias Wich's avatar
Tobias Wich committed
34
35
36
37
38
39
40
41
42
43
	<licenses>
		<license>
			<name>GNU General Public License Version 3</name>
			<url>https://www.gnu.org/licenses/gpl-3.0</url>
			<distribution>repo</distribution>
		</license>
		<license>
			<name>Proprietary License Agreement</name>
		</license>
	</licenses>
Tobias Wich's avatar
Tobias Wich committed
44

Tobias Wich's avatar
Tobias Wich committed
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
	<modules>
		<module>wsdef</module>
		<module>common</module>
		<module>i18n</module>
		<module>crypto</module>
		<module>bindings</module>
		<module>gui</module>
		<module>ifd</module>
		<module>sal</module>
		<module>management</module>
		<module>cifs</module>
		<module>recognition</module>
		<module>addon</module>
		<module>addons</module>
		<!-- client assemblies -->
		<module>clients</module>
61
62
		<module>src-parent</module>
		<module>packager</module>
Tobias Wich's avatar
Tobias Wich committed
63
	</modules>
Tobias Wich's avatar
Tobias Wich committed
64

Tobias Wich's avatar
Tobias Wich committed
65
66
67
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
68
		<maven.min.version>3.6.1</maven.min.version>
Tobias Wich's avatar
Tobias Wich committed
69
70
		<license.licenseName>gpl_v3</license.licenseName>
		<findbugs.packages>org.openecard.clients.-,org.openecard.android.-,org.openecard.richclient.-,org.openecard.common.-,org.openecard.control.-,org.openecard.crypto.-,org.openecard.esign.-,org.openecard.event.-,org.openecard.scio.-,org.openecard.management.-,org.openecard.recognition.-,org.openecard.sal.-,org.openecard.saml.-,org.openecard.transport.-,org.openecard.ws.android.-,org.openecard.ws.jaxb.-,org.openecard.ws.marshal.-,org.openecard.ws.common.-,org.openecard.ws.,org.openecard.i18n.-,org.openecard.gui.-,org.openecard.ifd.-,org.openecard.browser.-,org.openecard.maven.-</findbugs.packages>
71
		<strip.debug.symbols>false</strip.debug.symbols>
Tobias Wich's avatar
Tobias Wich committed
72

73
		<used.java.version>11</used.java.version>
74
75
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
76
		<!--maven.compiler.release>11</maven.compiler.release-->
77

78
		<version.bouncycastle>1.62</version.bouncycastle>
79
		<version.jmockit>1.47</version.jmockit>
Tobias Wich's avatar
Tobias Wich committed
80
		<version.pmd>6.17.0</version.pmd>
Tobias Wich's avatar
Tobias Wich committed
81
		<version.openjfx>12.0.2</version.openjfx>
82
83
		<!-- preset argLine for Netbeans direct test execution -->
		<argLine></argLine>
84

Tobias Wich's avatar
Tobias Wich committed
85
		<!-- These properties can be set from the commandline to override the selected certificate -->
Tobias Wich's avatar
Tobias Wich committed
86
		<jarsigner.tsa>http://sha256timestamp.ws.symantec.com/sha256/timestamp</jarsigner.tsa>
87

Tobias Wich's avatar
Tobias Wich committed
88
89
90
91
92
93
94
95
96
        <!-- Netbeans config properties -->
        <org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.tab-size>8</org-netbeans-modules-editor-indent.text.x-java.CodeStyle.project.tab-size>
        <org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>none</org-netbeans-modules-editor-indent.CodeStyle.project.text-line-wrap>
        <org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>4</org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width>
        <org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>4</org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab>
        <org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>4</org-netbeans-modules-editor-indent.CodeStyle.project.tab-size>
        <org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>120</org-netbeans-modules-editor-indent.CodeStyle.project.text-limit-width>
        <org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>false</org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs>
        <org-netbeans-modules-editor-indent.CodeStyle.usedProfile>project</org-netbeans-modules-editor-indent.CodeStyle.usedProfile>
Tobias Wich's avatar
Tobias Wich committed
97
	</properties>
Tobias Wich's avatar
Tobias Wich committed
98

Tobias Wich's avatar
Tobias Wich committed
99
100
101
102
103
104
105
106
	<distributionManagement>
		<site>
			<id>Open eCard Website</id>
			<url>https://dev.openecard.org/TODO</url>
		</site>
		<repository>
			<id>openecard-repos</id>
			<name>Openecard Release Repo</name>
107
			<url>https://mvn.ecsec.de/repository/openecard-release</url>
Tobias Wich's avatar
Tobias Wich committed
108
109
110
111
		</repository>
		<snapshotRepository>
			<id>openecard-repos</id>
			<name>Openecard Snapshot Repo</name>
112
			<url>https://mvn.ecsec.de/repository/openecard-snapshot</url>
Tobias Wich's avatar
Tobias Wich committed
113
114
		</snapshotRepository>
	</distributionManagement>
Tobias Wich's avatar
Tobias Wich committed
115

Tobias Wich's avatar
Tobias Wich committed
116
117
118
119
	<repositories>
		<repository>
			<id>openecard-repos</id>
			<name>Openecard Repos</name>
120
			<url>https://mvn.ecsec.de/repository/openecard-public</url>
Tobias Wich's avatar
Tobias Wich committed
121
122
		</repository>
	</repositories>
Tobias Wich's avatar
Tobias Wich committed
123

Tobias Wich's avatar
Tobias Wich committed
124
125
126
	<pluginRepositories>
		<pluginRepository>
			<id>openecard-repos</id>
127
			<url>https://mvn.ecsec.de/repository/openecard-public</url>
Tobias Wich's avatar
Tobias Wich committed
128
129
		</pluginRepository>
	</pluginRepositories>
Tobias Wich's avatar
Tobias Wich committed
130

Tobias Wich's avatar
Tobias Wich committed
131
	<profiles>
132
133
134
135
136
137
138
139
140
		<profile>
			<id>android</id>
			<activation>
				<!-- activate android when sdk path is defined -->
				<property>
					<name>env.ANDROID_HOME</name>
				</property>
			</activation>
		</profile>
141

Tobias Wich's avatar
Tobias Wich committed
142
143
		<profile>
			<id>ci</id>
144
			<reporting>
Tobias Wich's avatar
Tobias Wich committed
145
146
				<plugins>
					<plugin>
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>license-maven-plugin</artifactId>
						<inherited>false</inherited>
						<reportSets>
							<reportSet>
								<id>license-report</id>
								<reports>
									<report>aggregate-third-party-report</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin>

					<!-- does not support aggregate reports -->
					<!--plugin>
Tobias Wich's avatar
Tobias Wich committed
162
						<groupId>org.apache.maven.plugins</groupId>
163
164
165
166
167
168
169
170
171
172
173
174
175
						<artifactId>maven-dependency-plugin</artifactId>
						<inherited>false</inherited>
					</plugin-->

					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>versions-maven-plugin</artifactId>
						<inherited>false</inherited>
					</plugin>

					<plugin>
						<groupId>org.owasp</groupId>
						<artifactId>dependency-check-maven</artifactId>
176
						<version>5.1.0</version>
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
						<inherited>false</inherited>
						<reportSets>
							<reportSet>
								<id>cve-report</id>
								<reports>
									<report>aggregate</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin>

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-jxr-plugin</artifactId>
						<inherited>false</inherited>
						<reportSets>
							<reportSet>
								<reports>
									<report>aggregate</report>
									<report>test-aggregate</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin>

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-pmd-plugin</artifactId>
						<inherited>false</inherited>
Tobias Wich's avatar
Tobias Wich committed
206
						<configuration>
207
							<aggregate>true</aggregate>
Tobias Wich's avatar
Tobias Wich committed
208
						</configuration>
209
210
211
212
213
214
215
216
217
218
219
220
221
222
						<reportSets>
							<reportSet>
								<id>pmd-report</id>
								<reports>
									<report>pmd</report>
								</reports>
							</reportSet>
							<reportSet>
								<id>cpd-report</id>
								<reports>
									<report>cpd</report>
								</reports>
							</reportSet>
						</reportSets>
Tobias Wich's avatar
Tobias Wich committed
223
					</plugin>
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

					<!-- does not support aggregate reports -->
					<!--plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>findbugs-maven-plugin</artifactId>
						<inherited>false</inherited>
					</plugin-->

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-checkstyle-plugin</artifactId>
						<inherited>false</inherited>
						<reportSets>
							<reportSet>
								<id>checkstyle-report</id>
								<reports>
									<report>checkstyle-aggregate</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin>

					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>taglist-maven-plugin</artifactId>
						<inherited>false</inherited>
						<configuration>
							<aggregate>true</aggregate>
						</configuration>
						<reportSets>
							<reportSet>
								<id>taglist-report</id>
								<reports>
									<report>taglist</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin>

					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-surefire-report-plugin</artifactId>
						<inherited>false</inherited>
						<configuration>
							<aggregate>true</aggregate>
						</configuration>
						<reportSets>
							<reportSet>
								<id>unit-tests-report</id>
								<reports>
									<report>report-only</report>
									<report>failsafe-report-only</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin>

					<plugin>
						<groupId>org.jacoco</groupId>
						<artifactId>jacoco-maven-plugin</artifactId>
						<inherited>false</inherited>
						<reportSets>
							<reportSet>
								<id>coverage-report</id>
								<reports>
									<report>report-aggregate</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin>

					<!--plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<inherited>false</inherited>
						<reportSets>
							<reportSet>
								<reports>
									<report>javadoc</report>
								</reports>
							</reportSet>
						</reportSets>
					</plugin-->
307
				</plugins>
308
309
310
			</reporting>
			<build>
				<plugins>
311
312
313
314
315
316
317
318
319
320
321
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-failsafe-plugin</artifactId>
						<executions>
							<execution>
								<goals>
									<goal>verify</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
Tobias Wich's avatar
Tobias Wich committed
322
323
324
				</plugins>
			</build>
		</profile>
325

326

Tobias Wich's avatar
Tobias Wich committed
327
328
		<profile>
			<id>release</id>
329
330
331
			<properties>
				<strip.debug.symbols>true</strip.debug.symbols>
			</properties>
Tobias Wich's avatar
Tobias Wich committed
332
			<build>
Tobias Wich's avatar
Tobias Wich committed
333
334
335
336
337
338
				<pluginManagement>
					<plugins>
						<plugin>
							<groupId>org.apache.maven.plugins</groupId>
							<artifactId>maven-compiler-plugin</artifactId>
							<configuration>
339
								<debug>true</debug>
340
341
342
343
								<debuglevel>source,lines,vars</debuglevel>
								<showDeprecation>true</showDeprecation>
								<showWarnings>true</showWarnings>
								<failOnWarning>true</failOnWarning>
Tobias Wich's avatar
Tobias Wich committed
344
345
346
347
							</configuration>
						</plugin>
					</plugins>
				</pluginManagement>
Tobias Wich's avatar
Tobias Wich committed
348
349
350
351
352
353
354
			</build>
		</profile>
	</profiles>

	<build>
		<pluginManagement>
			<plugins>
Tobias Wich's avatar
Tobias Wich committed
355
				<plugin>
Tobias Wich's avatar
Tobias Wich committed
356
357
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-enforcer-plugin</artifactId>
358
					<version>3.0.0-M2</version>
Tobias Wich's avatar
Tobias Wich committed
359
360
361
362
363
					<configuration>
						<rules>
							<requireMavenVersion>
								<version>[${maven.min.version},)</version>
							</requireMavenVersion>
364
365
366
							<requireJavaVersion>
								<version>[${used.java.version},)</version>
							</requireJavaVersion>
Tobias Wich's avatar
Tobias Wich committed
367
368
						</rules>
					</configuration>
Tobias Wich's avatar
Tobias Wich committed
369
				</plugin>
Tobias Wich's avatar
Tobias Wich committed
370
371
372
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
373
					<version>3.8.1</version>
Tobias Wich's avatar
Tobias Wich committed
374
375
376
377
378
379
380
					<configuration>
						<showDeprecation>true</showDeprecation>
						<showWarnings>true</showWarnings>
						<debug>true</debug>
						<debuglevel>source,lines,vars</debuglevel>
						<optimize>false</optimize>
					</configuration>
381
382
383
384
385
386
387
388
					<executions>
						<execution>
							<id>default-compile</id>
							<goals>
								<goal>compile</goal>
							</goals>
						</execution>
					</executions>
Tobias Wich's avatar
Tobias Wich committed
389
390
391
392
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-resources-plugin</artifactId>
393
					<version>3.1.0</version>
Tobias Wich's avatar
Tobias Wich committed
394
395
396
397
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jar-plugin</artifactId>
398
					<version>3.1.2</version>
Tobias Wich's avatar
Tobias Wich committed
399
400
401
402
403
404
					<configuration>
						<excludes>
							<exclude>LICENSE.Open-eCard</exclude>
						</excludes>
					</configuration>
				</plugin>
405
406
407
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-assembly-plugin</artifactId>
408
					<version>3.1.1</version>
409
				</plugin>
Tobias Wich's avatar
Tobias Wich committed
410
411
412
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-clean-plugin</artifactId>
413
					<version>3.1.0</version>
Tobias Wich's avatar
Tobias Wich committed
414
				</plugin>
415
416
417
418
419
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>exec-maven-plugin</artifactId>
					<version>1.6.0</version>
				</plugin>
Tobias Wich's avatar
Tobias Wich committed
420
421
422
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-install-plugin</artifactId>
423
					<version>3.0.0-M1</version>
Tobias Wich's avatar
Tobias Wich committed
424
425
426
427
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-deploy-plugin</artifactId>
428
					<version>3.0.0-M1</version>
429
					<configuration>
Tobias Wich's avatar
Tobias Wich committed
430
						<deployAtEnd>false</deployAtEnd>
431
					</configuration>
Tobias Wich's avatar
Tobias Wich committed
432
				</plugin>
Tobias Wich's avatar
Tobias Wich committed
433
434
435
436
437
438
439
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-release-plugin</artifactId>
					<version>2.5.3</version>
					<configuration>
						<autoVersionSubmodules>true</autoVersionSubmodules>
						<tagNameFormat>@{project.version}</tagNameFormat>
440
441
						<localCheckout>true</localCheckout>
						<goals>deploy</goals>
442
						<releaseProfiles>submodule-update</releaseProfiles>
Tobias Wich's avatar
Tobias Wich committed
443
444
					</configuration>
				</plugin>
445

Tobias Wich's avatar
Tobias Wich committed
446
447
448
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
449
					<version>3.0.0-M3</version>
Tobias Wich's avatar
Tobias Wich committed
450
451
452
453
					<dependencies>
						<dependency>
							<groupId>org.apache.maven.surefire</groupId>
							<artifactId>surefire-testng</artifactId>
454
							<version>3.0.0-M3</version>
455
456
457
458
459
						</dependency>
						<dependency>
							<groupId>org.jmockit</groupId>
							<artifactId>jmockit</artifactId>
							<version>${version.jmockit}</version>
Tobias Wich's avatar
Tobias Wich committed
460
461
						</dependency>
					</dependencies>
462
					<configuration>
463
						<!-- https://stackoverflow.com/questions/53437819/maven-surefire-and-jdk-11 -->
464
						<argLine>@{argLine} -javaagent:${settings.localRepository}/org/jmockit/jmockit/${version.jmockit}/jmockit-${version.jmockit}.jar</argLine>
465
466
467
						<systemPropertyVariables>
							<coverage-output>none</coverage-output> <!-- disable jmockit coverage -->
						</systemPropertyVariables>
468
469
470
471
472
473
474
						<trimStackTrace>false</trimStackTrace>
						<excludedGroups>.*</excludedGroups>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-failsafe-plugin</artifactId>
475
					<version>3.0.0-M3</version>
476
477
478
479
					<dependencies>
						<dependency>
							<groupId>org.apache.maven.surefire</groupId>
							<artifactId>surefire-testng</artifactId>
480
							<version>3.0.0-M3</version>
481
482
483
484
485
						</dependency>
						<dependency>
							<groupId>org.jmockit</groupId>
							<artifactId>jmockit</artifactId>
							<version>${version.jmockit}</version>
486
487
488
						</dependency>
					</dependencies>
					<configuration>
489
						<argLine>@{argLine} -javaagent:${settings.localRepository}/org/jmockit/jmockit/${version.jmockit}/jmockit-${version.jmockit}.jar</argLine>
490
491
492
						<systemPropertyVariables>
							<coverage-output>none</coverage-output> <!-- disable jmockit coverage -->
						</systemPropertyVariables>
493
494
495
496
497
498
						<trimStackTrace>false</trimStackTrace>
						<includes>
							<includes>**/*.java</includes>
						</includes>
						<groups>it</groups>
					</configuration>
Tobias Wich's avatar
Tobias Wich committed
499
				</plugin>
500

Tobias Wich's avatar
Tobias Wich committed
501
502
503
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-source-plugin</artifactId>
504
					<version>3.1.0</version>
Tobias Wich's avatar
Tobias Wich committed
505
506
507
508
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-javadoc-plugin</artifactId>
509
					<version>3.1.1</version>
Tobias Wich's avatar
Tobias Wich committed
510
511
512
513
514
515
516
517
518
					<configuration>
						<show>protected</show>
						<groups>
							<group>
								<title>Open eCard Client Classes</title>
								<packages>org.openecard.*</packages>
							</group>
							<group>
								<title>JAXB and JAX-WS</title>
519
520
521
522
								<packages>
									generated:de.bund.bsi.ecard.api._1:
									iso.std.iso_iec._24727.tech.schema:
									oasis.names.tc.*:org.etsi.uri.*:
523
									org.w3._*:org.openecard.ws:org.openecard.ws.schema
524
								</packages>
Tobias Wich's avatar
Tobias Wich committed
525
526
							</group>
						</groups>
Tobias Wich's avatar
Tobias Wich committed
527
						<excludePackageNames>
528
529
							org.openecard.bouncycastle:
							org.openecard.bouncycastle.*:
530
							org.openecard.apache.http.*:
531
							javax.smartcardio:sun.security.smartcardio
Tobias Wich's avatar
Tobias Wich committed
532
						</excludePackageNames>
Tobias Wich's avatar
Tobias Wich committed
533
534
					</configuration>
				</plugin>
535

Tobias Wich's avatar
Tobias Wich committed
536
537
538
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-antrun-plugin</artifactId>
Tobias Wich's avatar
Tobias Wich committed
539
					<version>1.8</version>
Tobias Wich's avatar
Tobias Wich committed
540
541
542
543
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>build-helper-maven-plugin</artifactId>
Tobias Wich's avatar
Tobias Wich committed
544
					<version>3.0.0</version>
Tobias Wich's avatar
Tobias Wich committed
545
546
547
548
549
550
551
552
553
				</plugin>
				<plugin>
					<groupId>com.google.code.maven-replacer-plugin</groupId>
					<artifactId>replacer</artifactId>
					<version>1.5.3</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-shade-plugin</artifactId>
554
					<version>3.2.1</version>
Tobias Wich's avatar
Tobias Wich committed
555
556
557
558
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jarsigner-plugin</artifactId>
559
					<version>3.0.0</version>
Tobias Wich's avatar
Tobias Wich committed
560
561
				</plugin>
				<plugin>
Tobias Wich's avatar
Tobias Wich committed
562
563
					<groupId>org.apache.cxf</groupId>
					<artifactId>cxf-codegen-plugin</artifactId>
564
					<version>3.3.2</version>
565
					<configuration>
Tobias Wich's avatar
Tobias Wich committed
566
567
568
569
						<defaultOptions>
							<suppressGeneratedDate>true</suppressGeneratedDate>
							<validateWsdl>true</validateWsdl>
						</defaultOptions>
570
					</configuration>
Tobias Wich's avatar
Tobias Wich committed
571
				</plugin>
572
573
574
575

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-site-plugin</artifactId>
Tobias Wich's avatar
Tobias Wich committed
576
					<version>3.8.2</version>
577
578
579
580
581
				</plugin>

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-report-plugin</artifactId>
582
					<version>3.0.0-M3</version>
583
584
585
586
587
				</plugin>

				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>license-maven-plugin</artifactId>
Tobias Wich's avatar
Tobias Wich committed
588
					<version>2.0.0</version>
589
590
591
592
593
594
595
596
597
					<configuration>
						<licenseFile>LICENSE.Open-eCard</licenseFile>
						<generateBundle>true</generateBundle>
						<bundleLicensePath>META-INF/LICENSE-${project.artifactId}</bundleLicensePath>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-dependency-plugin</artifactId>
598
					<version>3.1.1</version>
599
600
601
602
				</plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>versions-maven-plugin</artifactId>
Tobias Wich's avatar
Tobias Wich committed
603
					<version>2.7</version>
604
605
606
607
608
				</plugin>

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-jxr-plugin</artifactId>
609
					<version>3.0.0</version>
610
611
612
613
				</plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-pmd-plugin</artifactId>
614
                    <version>3.12.0</version>
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
					<configuration>
						<skipEmptyReport>false</skipEmptyReport>
						<analysisCache>true</analysisCache>
					</configuration>
                    <dependencies>
                        <dependency>
                            <groupId>net.sourceforge.pmd</groupId>
                            <artifactId>pmd-core</artifactId>
                            <version>${version.pmd}</version>
                        </dependency>
                        <dependency>
                            <groupId>net.sourceforge.pmd</groupId>
                            <artifactId>pmd-java</artifactId>
                            <version>${version.pmd}</version>
                        </dependency>
                    </dependencies>
                </plugin>
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>findbugs-maven-plugin</artifactId>
					<version>3.0.5</version>
					<configuration>
						<omitVisitors />
					</configuration>
				</plugin>

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-checkstyle-plugin</artifactId>
644
					<version>3.1.0</version>
645
646
647
648
649
650
651
652
653
654
					<configuration>
						<configLocation>src/qa/checkstyle/openecard-checkstyle.xml</configLocation>
						<headerLocation>src/qa/checkstyle/openecard-checkstyle-header.txt</headerLocation>
						<suppressionsLocation>src/qa/checkstyle/openecard-checkstyle-suppressions.xml</suppressionsLocation>
						<includeTestSourceDirectory>true</includeTestSourceDirectory>
					</configuration>
					<dependencies>
						<dependency>
							<groupId>com.puppycrawl.tools</groupId>
							<artifactId>checkstyle</artifactId>
Tobias Wich's avatar
Tobias Wich committed
655
							<version>8.23</version>
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
						</dependency>
					</dependencies>
				</plugin>

				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>taglist-maven-plugin</artifactId>
					<version>2.4</version>
					<configuration>
						<tagListOptions>
							<tagClasses>
								<tagClass>
									<displayName>Todo Work</displayName>
									<tags>
										<tag>
											<matchString>TODO</matchString>
											<matchType>exact</matchType><!--ignoreCase-->
										</tag>
										<tag>
											<matchString>FIXME</matchString>
											<matchType>exact</matchType>
										</tag>
									</tags>
								</tagClass>
							</tagClasses>
						</tagListOptions>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.jacoco</groupId>
					<artifactId>jacoco-maven-plugin</artifactId>
687
					<version>0.8.3</version>
688
				</plugin>
Mike Prechtl's avatar
Mike Prechtl committed
689
690
691

				<!-- JLink Plugin -->
				<plugin>
692
693
					<groupId>net.agilhard.maven.plugins</groupId>
					<artifactId>jlink-jpackager-maven-plugin</artifactId>
694
					<version>1.0.0-ec.3</version>
Mike Prechtl's avatar
Mike Prechtl committed
695
				</plugin>
Tobias Wich's avatar
Tobias Wich committed
696
697
			</plugins>
		</pluginManagement>
698

Tobias Wich's avatar
Tobias Wich committed
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
		<plugins>
			<!-- In the past there have been incompatibilities of maven 2 and 3, so just accept version 3 -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-enforcer-plugin</artifactId>
				<executions>
					<execution>
						<id>enforce-default</id>
						<goals>
							<goal>enforce</goal>
						</goals>
					</execution>
					<execution>
						<id>enforce-clean</id>
						<phase>pre-clean</phase>
						<goals>
							<goal>enforce</goal>
						</goals>
					</execution>
					<execution>
						<id>enforce-site</id>
						<phase>pre-site</phase>
						<goals>
							<goal>enforce</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>add-license</id>
						<goals>
							<goal>update-project-license</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
739
740
741
742
743
744
745
746
747
748
749
750

			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
Tobias Wich's avatar
Tobias Wich committed
751
752
		</plugins>
	</build>
Tobias Wich's avatar
Tobias Wich committed
753

Tobias Wich's avatar
Tobias Wich committed
754
755
756
757
758
759
	<dependencyManagement>
		<dependencies>
			<!-- logging -->
			<dependency>
				<groupId>org.slf4j</groupId>
				<artifactId>slf4j-api</artifactId>
Mike Prechtl's avatar
Mike Prechtl committed
760
				<version>1.7.26</version>
Tobias Wich's avatar
Tobias Wich committed
761
762
			</dependency>
			<dependency>
763
764
765
				<groupId>ch.qos.logback</groupId>
				<artifactId>logback-classic</artifactId>
				<version>1.2.3</version>
Tobias Wich's avatar
Tobias Wich committed
766
			</dependency>
767
768

			<!-- JAXB API and implementation -->
Tobias Wich's avatar
Tobias Wich committed
769
			<dependency>
770
771
772
				<groupId>javax.xml.bind</groupId>
				<artifactId>jaxb-api</artifactId>
				<version>2.3.1</version>
Tobias Wich's avatar
Tobias Wich committed
773
			</dependency>
Mike Prechtl's avatar
Mike Prechtl committed
774
775
776
			<dependency>
				<groupId>org.glassfish.jaxb</groupId>
				<artifactId>jaxb-runtime</artifactId>
777
				<version>2.3.2</version>
778
			</dependency>
Tobias Wich's avatar
Tobias Wich committed
779
780
781
782
783
784
			<!-- more java stuff -->
			<dependency>
				<groupId>com.sun.activation</groupId>
				<artifactId>jakarta.activation</artifactId>
				<version>1.2.2-20190731</version>
			</dependency>
Mike Prechtl's avatar
Mike Prechtl committed
785

Tobias Wich's avatar
Tobias Wich committed
786
787
788
789
790
791
792
793
			<!-- JavaFX -->
			<dependency>
				<groupId>org.openjfx</groupId>
				<artifactId>javafx-swing</artifactId>
				<version>${version.openjfx}</version>
			</dependency>
			<dependency>
				<groupId>org.openjfx</groupId>
794
				<artifactId>javafx-controls</artifactId>
Tobias Wich's avatar
Tobias Wich committed
795
796
797
				<version>${version.openjfx}</version>
			</dependency>

Tobias Wich's avatar
Tobias Wich committed
798
799
800
801
			<!-- testing -->
			<dependency>
				<groupId>org.jmockit</groupId>
				<artifactId>jmockit</artifactId>
802
				<version>${version.jmockit}</version>
Mike Prechtl's avatar
Mike Prechtl committed
803
804
805
806
807
808
				<exclusions>
					<exclusion>
						<groupId>com.google.code.findbugs</groupId>
						<artifactId>jsr305</artifactId>
					</exclusion>
				</exclusions>
Tobias Wich's avatar
Tobias Wich committed
809
			</dependency>
810
811
812
813
814
			<dependency>
				<groupId>org.testng</groupId>
				<artifactId>testng</artifactId>
				<version>6.14.3</version>
			</dependency>
Tobias Wich's avatar
Tobias Wich committed
815
816
817
			<dependency>
				<groupId>com.google.code.findbugs</groupId>
				<artifactId>annotations</artifactId>
Tobias Wich's avatar
Tobias Wich committed
818
				<version>3.0.1u2</version>
Mike Prechtl's avatar
Mike Prechtl committed
819
820
821
822
823
824
825
826
827
828
				<exclusions>
					<exclusion>
						<groupId>com.google.code.findbugs</groupId>
						<artifactId>jsr305</artifactId>
					</exclusion>
					<exclusion>
						<groupId>net.jcip</groupId>
						<artifactId>jcip-annotations</artifactId>
					</exclusion>
				</exclusions>
Tobias Wich's avatar
Tobias Wich committed
829
			</dependency>
830

Tobias Wich's avatar
Tobias Wich committed
831
832
833
834
			<!-- other third party libs -->
			<dependency>
				<groupId>org.apache.httpcomponents</groupId>
				<artifactId>httpcore</artifactId>
835
				<version>4.4.11</version>
Tobias Wich's avatar
Tobias Wich committed
836
837
838
839
840
841
			</dependency>
			<dependency>
				<groupId>com.google.android</groupId>
				<artifactId>android</artifactId>
				<version>4.1.1.4</version>
			</dependency>
842

Tobias Wich's avatar
Tobias Wich committed
843
			<dependency>
844
845
				<groupId>com.fasterxml.jackson.module</groupId>
				<artifactId>jackson-module-jaxb-annotations</artifactId>
Tobias Wich's avatar
Tobias Wich committed
846
				<version>2.9.9</version>
847
848
849
850
			</dependency>
			<dependency>
				<groupId>org.bitbucket.b_c</groupId>
				<artifactId>jose4j</artifactId>
851
				<version>0.6.5</version>
852
853
854
855
			</dependency>
			<dependency>
				<groupId>com.github.markusbernhardt</groupId>
				<artifactId>proxy-vole</artifactId>
Tobias Wich's avatar
Tobias Wich committed
856
				<version>1.0.5</version>
857
			</dependency>
858

859
860
861
			<dependency>
				<groupId>org.apache.pdfbox</groupId>
				<artifactId>pdfbox</artifactId>
Tobias Wich's avatar
Tobias Wich committed
862
				<version>2.0.16</version>
863
864
			</dependency>

865
866
867
868
			<!-- Java Native Access -->
			<dependency>
				<groupId>net.java.dev.jna</groupId>
				<artifactId>jna</artifactId>
869
				<version>4.5.2</version>
870
871
872
873
			</dependency>
			<dependency>
				<groupId>net.java.dev.jna</groupId>
				<artifactId>jna-platform</artifactId>
874
				<version>4.5.2</version>
Tobias Wich's avatar
Tobias Wich committed
875
			</dependency>
876
877
878
879
880

			<!-- BouncyCastle -->
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bcprov-jdk15on</artifactId>
881
				<version>${version.bouncycastle}</version>
882
883
884
885
			</dependency>
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bctls-jdk15on</artifactId>
886
				<version>${version.bouncycastle}</version>
887
888
889
890
			</dependency>
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bcpkix-jdk15on</artifactId>
891
				<version>${version.bouncycastle}</version>
892
			</dependency>
Tobias Wich's avatar
Tobias Wich committed
893
894
895
		</dependencies>
	</dependencyManagement>

Tobias Wich's avatar
Tobias Wich committed
896
</project>