forked from CESNET/perun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
461 lines (401 loc) · 14.5 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
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- PERUN -->
<groupId>cz.metacentrum</groupId>
<artifactId>perun</artifactId>
<version>3.9.0-SNAPSHOT</version>
<packaging>pom</packaging>
<!-- Spring Boot Starter Parent as parent project - this project inherits versions of dependencies and plugins -->
<!-- see https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-build-systems.html#using-boot-maven-parent-pom -->
<!-- update Spring by changing the version here to the current release displayed at https://projects.spring.io/spring-boot/ -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.4.RELEASE</version>
<relativePath/>
</parent>
<!-- PERUN MODULES -->
<modules>
<module>perun-base</module>
<module>perun-auditparser</module>
<module>perun-core</module>
<module>perun-cabinet</module>
<module>perun-registrar-lib</module>
<module>perun-rpc</module>
<module>perun-ldapc</module>
<module>perun-notification</module>
<module>perun-dispatcher</module>
<module>perun-engine</module>
<module>perun-voot</module>
<module>perun-web-gui</module>
<module>perun-scim</module>
<module>perun-openapi</module>
<module>perun-cli-java</module>
</modules>
<!-- common environmental and version properties-->
<properties>
<!-- property used by spring-boot-starter-parent project to define maven.compiler.source and maven.compiler.target
properties that in turn are used by maven-compiler-plugin to specify java source and target version -->
<java.version>8</java.version>
<!-- USE UTF-8 in whole project -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- macros @perun.conf@ @perun.jdbc@ etc replaced in all filtered resources in /src/main/resources during maven build-->
<perun.conf>/etc/perun/</perun.conf>
<perun.jdbc>file:${perun.conf}jdbc.properties</perun.jdbc>
<perun.ldapc>file:${perun.conf}perun-ldapc.properties</perun.ldapc>
<!-- by default we run perun in memory -->
<spring.profiles.default>default</spring.profiles.default>
<!-- redefine versions of some libraries defined by Spring Boot Starter Parent -->
<tomcat.version>8.5.34</tomcat.version>
<!-- versions of libraries not defined by the Spring Boot Starter Parent -->
<commons-cli.version>1.4</commons-cli.version>
<commons-text.version>1.6</commons-text.version>
<dumbster.version>1.6</dumbster.version>
<expiringmap.version>0.5.9</expiringmap.version>
<flying-saucer-pdf.version>9.1.18</flying-saucer-pdf.version>
<google-api-services-admin-directory.version>directory_v1-rev110-1.25.0</google-api-services-admin-directory.version>
<hornetq.version>2.2.21.Final</hornetq.version>
<netty3.version>3.2.1.Final</netty3.version><!-- needed for HornetQ -->
<jboss-jms-api.version>1.1.0.GA</jboss-jms-api.version>
<jcip.version>1.0</jcip.version>
<jdom.version>1.0</jdom.version>
<json.version>20190722</json.version>
<oracle.version>12.2.0.1.0</oracle.version>
<reflections.version>0.9.11</reflections.version>
</properties>
<!-- DEFAULT MAVEN BUILD SETTINGS
- child modules inherits settings (e.g. version, encoding), not plugin usage itself
- to explicitly use one of listed plugins in module just specify groupId and artifactId in it's plugins section for each plugin
- child module can override any setting of plugin by defining value in child module (or it's profile)
- beware, that default action on plugins configurations, executions etc. is MERGE !!
- if merged values are defined in both (parent and child module), than module value if used
-->
<build>
<!-- by default we build + install artifact in local repository -->
<defaultGoal>install</defaultGoal>
<!-- Common plugin settings is inherited by child modules -->
<pluginManagement>
<plugins>
<!-- mvn clean - cleans output folder (target) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
</plugin>
<!-- mvn compile - compile as Java 8 app in UTF-8 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<verbose>false</verbose>
<!--<compilerArgument>-Xlint:unchecked,deprecation</compilerArgument>-->
</configuration>
</plugin>
<!-- mvn install - build artifact and install it in local repository (.m2 folder) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
</plugin>
<!-- mvn javadoc - creates javadoc from source (we do append spring javadoc if found) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<detectLinks/>
<!-- disable hard errors when generating javadoc -->
<doclint>none</doclint>
<links>
<link>http://docs.spring.io/spring/docs/current/javadoc-api/</link>
</links>
</configuration>
</plugin>
<!-- mvn source:jar - packages sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<!-- mvn jar:jar - creates final jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<!-- mvn jar:jar - creates final war -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
</plugin>
<!-- mvn shade - creates shaded jar (1 jar containing everything including dependencies) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</plugin>
<!-- plugin used to apply jUnit tests settings in maven and to generate report (target/surefire-reports)-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- workaround for broken OpenJDK 8u181-b13-2 on Debian/Ubuntu which causes tests to fail,
see https://issues.apache.org/jira/browse/SUREFIRE-1588 -->
<argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
<testFailureIgnore>false</testFailureIgnore>
<skip>false</skip>
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
<!-- Copy dependencies plug-in -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
</plugin>
<!-- Executing plug-in: mvn exec:java -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>eu.somatik.serviceloader-maven-plugin</groupId>
<artifactId>serviceloader-maven-plugin</artifactId>
<version>1.1.0</version>
</plugin>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
gwt-maven-plugin
</artifactId>
<versionRange>
[2.5.1,)
</versionRange>
<goals>
<goal>i18n</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-war-plugin
</artifactId>
<versionRange>
[3.0.0,)
</versionRange>
<goals>
<goal>exploded</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
eu.somatik.serviceloader-maven-plugin
</groupId>
<artifactId>
serviceloader-maven-plugin
</artifactId>
<versionRange>
[1.0.7,)
</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!--
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<executions>
<execution>
<id>checkstyle</id>
<phase>compile</phase>
<goals>
<goal>checkstyle</goal>
</goals>
<configuration>
<failsOnError>false</failsOnError>
</configuration>
</execution>
</executions>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includes>**/*</includes>
<resourceIncludes>**/*</resourceIncludes>
<sourceDirectories>
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
<sourceDirectory>./perun-utils</sourceDirectory>
<sourceDirectory>./perun-apps</sourceDirectory>
<sourceDirectory>./perun-php</sourceDirectory>
<sourceDirectory>./perun-cli</sourceDirectory>
</sourceDirectories>
</configuration>
</plugin>
-->
</plugins>
</build>
<!-- DEFAULT MAVEN DEPENDENCY SETTINGS
- most dependency versions are inherited from platform-bom, specify only those that are not defined by the platform
- child modules inherits settings (e.g. version, scope), not dependency itself
- to explicitly use one of listed dependencies in module just specify groupId and artifactId in it's dependencies section
- child module can override any setting by defining value in child module (or it's profile)
- beware, that default action on dependency configuration is MERGE !!
- if merged values are defined in both (parent and child module), than module value is used
-->
<dependencyManagement>
<dependencies>
<!-- Oracle jdbc driver -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc8</artifactId>
<version>${oracle.version}</version>
</dependency>
<!-- Oracle internationalization -->
<dependency>
<groupId>com.oracle</groupId>
<artifactId>orai18n</artifactId>
<version>${oracle.version}</version>
</dependency>
<dependency>
<groupId>net.jcip</groupId>
<artifactId>jcip-annotations</artifactId>
<version>${jcip.version}</version>
</dependency>
<dependency>
<groupId>com.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>${opencsv.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>${commons-text.version}</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-admin-directory</artifactId>
<version>${google-api-services-admin-directory.version}</version>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<version>${jdom.version}</version>
</dependency>
<dependency>
<groupId>net.jodah</groupId>
<artifactId>expiringmap</artifactId>
<version>${expiringmap.version}</version>
</dependency>
<dependency>
<groupId>dumbster</groupId>
<artifactId>dumbster</artifactId>
<version>${dumbster.version}</version>
</dependency>
<dependency>
<groupId>jivesoftware</groupId>
<artifactId>smackx</artifactId>
<version>${smackx.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-core</artifactId>
<version>${hornetq.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-jms</artifactId>
<version>${hornetq.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-logging</artifactId>
<version>${hornetq.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-core-client</artifactId>
<version>${hornetq.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-jms-client</artifactId>
<version>${hornetq.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
<version>${netty3.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.javaee</groupId>
<artifactId>jboss-jms-api</artifactId>
<version>${jboss-jms-api.version}</version>
</dependency>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf</artifactId>
<version>${flying-saucer-pdf.version}</version>
<exclusions>
<exclusion>
<!-- problem with double-dependency on bcmail-jdk14 versions 1.46 and 1.60 in the same time -->
<artifactId>bctsp-jdk14</artifactId>
<groupId>org.bouncycastle</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>${reflections.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<!-- Perun project info -->
<name>perun</name>
<description>Identity and Access Management System</description>
<organization>
<name>CESNET, z.s.p.o.</name>
<url>http://www.cesnet.cz/</url>
</organization>
<inceptionYear>2010</inceptionYear>
<url>https://perun.cesnet.cz/web/</url>
<scm>
<connection>scm:git:https://github.com/CESNET/perun.git</connection>
<url>https://github.com/CESNET/perun</url>
<developerConnection>scm:git:https://github.com/CESNET/perun.git</developerConnection>
</scm>
</project>