-
Notifications
You must be signed in to change notification settings - Fork 36
/
pom.xml
419 lines (402 loc) · 17.6 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
<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>
<groupId>no.mnemonic.services.grafeo</groupId>
<artifactId>grafeo-parent</artifactId>
<packaging>pom</packaging>
<version>0.1.23-SNAPSHOT</version>
<name>grafeo</name>
<description>Open platform for modelling, collection and exchange of knowledge</description>
<url>https://github.com/mnemonic-no/grafeo</url>
<inceptionYear>2017</inceptionYear>
<licenses>
<license>
<name>ISC</name>
<url>https://opensource.org/licenses/ISC</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>mnemonic as</name>
<url>https://www.mnemonic.no</url>
</organization>
<developers>
<developer>
<name>mnemonic development team</name>
<email>[email protected]</email>
<url>https://github.com/mnemonic-no</url>
<organization>mnemonic as</organization>
<organizationUrl>https://www.mnemonic.no</organizationUrl>
<timezone>Europe/Oslo</timezone>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- JDK compile target -->
<jdk.version>17</jdk.version>
<!-- mnemonic dependencies -->
<mnemonic.commons.version>0.4.25</mnemonic.commons.version>
<mnemonic.messaging.version>1.4.10</mnemonic.messaging.version>
<mnemonic.services.common.version>0.6.11</mnemonic.services.common.version>
<mnemonic.services.triggers.version>0.0.18</mnemonic.services.triggers.version>
<!-- external dependencies -->
<cassandra.version>4.17.0</cassandra.version>
<disruptor.version>3.4.4</disruptor.version>
<elastic.search.version>7.17.13</elastic.search.version>
<guava.version>32.1.2-jre</guava.version>
<guice.version>5.1.0</guice.version>
<hazelcast.version>5.3.6</hazelcast.version>
<hibernate.validator.version>6.2.5.Final</hibernate.validator.version>
<jackson.version>2.15.2</jackson.version>
<jakarta.el.version>3.0.4</jakarta.el.version>
<jakarta.inject.version>1.0.5</jakarta.inject.version>
<jakarta.validation.version>2.0.2</jakarta.validation.version>
<jakarta.ws.rs.version>2.1.6</jakarta.ws.rs.version>
<jetty.version>10.0.16</jetty.version>
<junit.jupiter.version>5.11.3</junit.jupiter.version>
<log4j.version>2.20.0</log4j.version>
<mockito.version>5.14.2</mockito.version>
<picocli.version>4.7.5</picocli.version>
<resteasy.version>5.0.8.Final</resteasy.version>
<slf4j.version>2.0.9</slf4j.version>
<swagger.version>1.6.11</swagger.version>
<tinkerpop.version>3.7.0</tinkerpop.version>
<!-- force upgrade for transitive dependencies -->
<commons.codec.version>1.16.0</commons.codec.version>
<httpclient.version>4.5.14</httpclient.version>
<!-- build dependencies -->
<maven.assembly.version>3.3.0</maven.assembly.version>
<maven.clean.version>3.1.0</maven.clean.version>
<maven.compiler.version>3.11.0</maven.compiler.version>
<maven.deploy.version>2.8.2</maven.deploy.version>
<maven.enforcer.version>1.4.1</maven.enforcer.version>
<maven.install.version>2.5.2</maven.install.version>
<maven.jar.version>3.2.0</maven.jar.version>
<maven.javadoc.version>3.5.0</maven.javadoc.version>
<maven.license.version>1.20</maven.license.version>
<maven.really.executable.jar.version>1.5.0</maven.really.executable.jar.version>
<maven.release.version>2.5.3</maven.release.version>
<maven.resources.version>3.2.0</maven.resources.version>
<maven.shade.version>3.2.4</maven.shade.version>
<maven.source.version>3.2.1</maven.source.version>
<maven.surefire.version>2.22.2</maven.surefire.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Force version of slf4j-api to avoid incompatibilities with Log4j. Note that slf4j-api is backward compatible,
see https://www.slf4j.org/faq.html#compatibility. -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<modules>
<module>api</module>
<module>auth</module>
<module>dao</module>
<module>rest</module>
<module>service</module>
<module>seb-model</module>
<module>seb-producer</module>
<module>seb-esengine</module>
<module>utilities</module>
<module>integration-test</module>
<module>deployment-combined</module>
<module>deployment-rest</module>
<module>deployment-service</module>
<module>cli-tools</module>
</modules>
<scm>
<connection>scm:git:git://github.com/mnemonic-no/grafeo.git</connection>
<developerConnection>scm:git:ssh://github.com:mnemonic-no/grafeo.git</developerConnection>
<url>https://github.com/mnemonic-no/grafeo</url>
<tag>HEAD</tag>
</scm>
<distributionManagement>
<repository>
<id>mnemonic</id>
<url>https://artifactory.mnemonic.no/artifactory/mnemonic</url>
</repository>
<snapshotRepository>
<id>mnemonic-snapshots</id>
<url>https://artifactory.mnemonic.no/artifactory/mnemonic-snapshots</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven.enforcer.version}</version>
<executions>
<execution>
<id>enforce-build-requirements</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>3.1.0</version>
</requireMavenVersion>
<!-- At least JDK17 is required for building. -->
<requireJavaVersion>
<version>17.0.0</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven.compiler.version}</version>
<configuration>
<release>${jdk.version}</release>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<compilerArgs>
<!-- Needed to get real parameter names during reflection instead of 'argN' (JEP 118). -->
<arg>-parameters</arg>
<!-- Needed by picocli-codegen to place generated code inside a unique folder. -->
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<!-- Needed to process annotations from the driver's object mapper. -->
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-mapper-processor</artifactId>
<version>${cassandra.version}</version>
</path>
<!-- Needed to get compile time error checking of picocli annotations. -->
<path>
<groupId>info.picocli</groupId>
<artifactId>picocli-codegen</artifactId>
<version>${picocli.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<includes>
<!-- Execute all unit tests. -->
<include>**/*Test.java</include>
<!-- Execute integration tests by default. -->
<include>**/*IT.java</include>
</includes>
<!-- The following options are needed to be able to execute the integration tests with JDK17.
It contains the same configuration as init.sh for executing the application. -->
<argLine>
--add-modules java.se
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
--add-opens java.management/sun.management=ALL-UNNAMED
--add-opens jdk.management/com.ibm.lang.management.internal=ALL-UNNAMED
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.version}</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.version}</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<resume>false</resume>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>${maven.clean.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven.install.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven.resources.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.version}</version>
<configuration>
<release>${jdk.version}</release>
<source>${jdk.version}</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${maven.license.version}</version>
<!-- Execute license check during the build process to detect violations as early as possible. -->
<executions>
<execution>
<id>check-licenses</id>
<phase>compile</phase>
<goals>
<goal>add-third-party</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- Execute plugin while building deployment packages. -->
<acceptPomPackaging>true</acceptPomPackaging>
<!-- Create THIRD-PARTY file listing all dependencies. -->
<outputDirectory>${project.build.directory}</outputDirectory>
<thirdPartyFilename>THIRD-PARTY</thirdPartyFilename>
<!-- Check transitive dependencies in order to include them in THIRD-PARTY file. -->
<includeTransitiveDependencies>true</includeTransitiveDependencies>
<!-- Fail the build if a detected license is not in the white list. -->
<failIfWarning>true</failIfWarning>
<!-- Only allow licenses which are in this list (with all the different ways to name them). -->
<includedLicenses>
<!-- Apache 2.0 -->
<includedLicense>ASF 2.0</includedLicense>
<includedLicense>Apache 2</includedLicense>
<includedLicense>Apache 2.0</includedLicense>
<includedLicense>Apache-2.0</includedLicense>
<includedLicense>Apache License 2.0</includedLicense>
<includedLicense>Apache License Version 2.0</includedLicense>
<includedLicense>Apache License, version 2.0</includedLicense>
<includedLicense>Apache License, Version 2.0</includedLicense>
<includedLicense>Apache Software License, version 2.0</includedLicense>
<includedLicense>Apache Software License - Version 2.0</includedLicense>
<includedLicense>The Apache License, Version 2.0</includedLicense>
<includedLicense>The Apache Software License, version 2.0</includedLicense>
<includedLicense>The Apache Software License, Version 2.0</includedLicense>
<!-- BSD and variants -->
<includedLicense>BSD</includedLicense>
<includedLicense>BSD 2-Clause License</includedLicense>
<includedLicense>BSD-3-Clause</includedLicense>
<includedLicense>New BSD License</includedLicense>
<includedLicense>The New BSD License</includedLicense>
<includedLicense>The BSD License</includedLicense>
<includedLicense>BSD 3-Clause "New" or "Revised" License (BSD-3-Clause)</includedLicense>
<includedLicense>EDL 1.0</includedLicense>
<includedLicense>Eclipse Distribution License - v 1.0</includedLicense>
<!-- CDDL and dual-licensed CDDL -->
<includedLicense>CDDL 1.1</includedLicense>
<includedLicense>CDDL License</includedLicense>
<includedLicense>Common Development and Distribution License 1.0</includedLicense>
<includedLicense>Common Development And Distribution License 1.1</includedLicense>
<includedLicense>Common Development and Distribution License (CDDL) v1.0</includedLicense>
<includedLicense>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0</includedLicense>
<includedLicense>CDDL+GPL License</includedLicense>
<includedLicense>CDDL or GPLv2 with exceptions</includedLicense>
<includedLicense>CDDL + GPLv2 with classpath exception</includedLicense>
<includedLicense>Dual license consisting of the CDDL v1.1 and GPL v2</includedLicense>
<!-- Eclipse and variants -->
<includedLicense>Common Public License - v 1.0</includedLicense>
<includedLicense>EPL 2.0</includedLicense>
<includedLicense>EPL-2.0</includedLicense>
<includedLicense>Eclipse Public License 1.0</includedLicense>
<includedLicense>Eclipse Public License - Version 1.0</includedLicense>
<includedLicense>Eclipse Public License - v 2.0</includedLicense>
<includedLicense>Eclipse Public License v2.0</includedLicense>
<includedLicense>Eclipse Public License 2.0</includedLicense>
<!-- MIT and variants-->
<includedLicense>Bouncy Castle Licence</includedLicense>
<includedLicense>ISC</includedLicense>
<includedLicense>MIT license</includedLicense>
<includedLicense>MIT License</includedLicense>
<includedLicense>The MIT License</includedLicense>
<includedLicense>MIT-0</includedLicense>
<includedLicense>MIT</includedLicense>
<!-- Public domain -->
<includedLicense>CC0</includedLicense>
<includedLicense>Public Domain</includedLicense>
<includedLicense>Public Domain, per Creative Commons CC0</includedLicense>
<!-- Others -->
<includedLicense>Indiana University Extreme! Lab Software License</includedLicense>
<!-- The ElasticSearch client drags in server components, thus, we need to accept the license until the
dependencies upon the server components are removed. The client is actually Apache 2 licensed. -->
<includedLicense>Elastic License 2.0</includedLicense>
</includedLicenses>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>skipSlowTests</id>
<activation>
<property>
<name>skipSlowTests</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<configuration>
<excludes>
<!-- Exclude all integration tests. -->
<exclude>**/*IT.java</exclude>
<!-- Exclude all Cassandra tests. -->
<exclude>no/mnemonic/services/grafeo/dao/cassandra/*</exclude>
<!-- Exclude all ElasticSearch tests. -->
<exclude>no/mnemonic/services/grafeo/dao/elastic/*</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>