forked from CESNET/perun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
382 lines (331 loc) · 12.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
<?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>0.0.0-development</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/maven-plugin/reference/html/#using-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.7.8</version>
</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-web-gui</module>
<module>perun-scim</module>
<module>perun-openapi</module>
<module>perun-cli-java</module>
<module>perun-auditlogger</module>
<module>perun-integration</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>17</java.version>
<!-- USE UTF-8 in whole project -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- "mvn deploy" should not deploy subprojects to a Maven repo by default,
exceptions (perun-rpc, perun-openapi) are marked by the value "false" -->
<maven.deploy.skip>true</maven.deploy.skip>
<!-- 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>
<!-- versions of libraries not defined by the Spring Boot Starter Parent -->
<commons-cli.version>1.5.0</commons-cli.version>
<commons-text.version>1.10.0</commons-text.version>
<docker-java.version>3.2.14</docker-java.version>
<dumbster.version>1.6</dumbster.version>
<expiringmap.version>0.5.10</expiringmap.version>
<flying-saucer-pdf.version>9.1.22</flying-saucer-pdf.version>
<google-api-services-admin-directory.version>directory_v1-rev20230124-2.0.0</google-api-services-admin-directory.version>
<hornetq.version>2.2.21.Final</hornetq.version>
<netty3.version>3.2.10.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>20220924</json.version>
<reflections.version>0.9.11</reflections.version>
<testcontainers.version>1.17.6</testcontainers.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 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 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>
<!-- 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>
<testFailureIgnore>false</testFailureIgnore>
<skip>false</skip>
<runOrder>alphabetical</runOrder>
</configuration>
</plugin>
<plugin>
<groupId>eu.somatik.serviceloader-maven-plugin</groupId>
<artifactId>serviceloader-maven-plugin</artifactId>
<version>1.4.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>
</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>
<dependency>
<groupId>net.jcip</groupId>
<artifactId>jcip-annotations</artifactId>
<version>${jcip.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>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>
<!-- Define globally as "test" scope so it gets excluded from resulting JARs/WARs -->
<!-- Its overridden in base module to get tests running -->
<!-- This is here just to get a correct JNA version for the testcontainers,
it is possible that this wont be needed in the future versions of testcontainers. -->
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-api</artifactId>
<version>${docker-java.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-transport-zerodep</artifactId>
<version>${docker-java.version}</version>
<scope>test</scope>
</dependency>
<!-- Define globally as "test" scope so it gets excluded from resulting JARs/WARs -->
<!-- Its overridden in base module to get tests running in the IDE -->
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</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>https://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>