pom.xml 19 KB
Newer Older
David Diederich's avatar
David Diederich committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright 2017-2019, Schlumberger

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
17
<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">
David Diederich's avatar
David Diederich committed
18
19
20
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.opengroup.osdu</groupId>
    <artifactId>os-search</artifactId>
21
    <version>0.17.0-SNAPSHOT</version>
David Diederich's avatar
David Diederich committed
22
23
24
25
    <description>Root Search Service Project</description>
    <packaging>pom</packaging>

    <properties>
Yauheni Lesnikau's avatar
Yauheni Lesnikau committed
26
27
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.source>1.8</maven.compiler.source>
David Diederich's avatar
David Diederich committed
28
29
        <skip.unit.tests>false</skip.unit.tests>
        <skip.integration.tests>true</skip.integration.tests>
30
        <jackson-databind.version>2.13.2.2</jackson-databind.version>
31
        <jackson.version>2.13.2</jackson.version>
32
        <resteasy.version>3.12.0.Final</resteasy.version>
33
        <elasticsearch.version>7.8.1</elasticsearch.version>
34
35
36
        <snakeyaml.version>1.26</snakeyaml.version>
        <commons-codec.version>1.14</commons-codec.version>
        <hibernate-validator.version>6.1.5.Final</hibernate-validator.version>
37
38
39
        <httpclient.version>4.5.13</httpclient.version>
        <woodstox-core.version>5.3.0</woodstox-core.version>
        <reactor-bom.version>2020.0.0</reactor-bom.version>
40
        <log4j-core.version>2.17.1</log4j-core.version>
41
42
        <google-oauth-client.version>1.31.0</google-oauth-client.version>
        <commons-compress.version>1.20</commons-compress.version>
43
        <osdu.oscorecommon.version>0.15.0</osdu.oscorecommon.version>
44
        <tomcat-embed-core.version>9.0.45</tomcat-embed-core.version>
Ashwani Pandey's avatar
Ashwani Pandey committed
45
        <springfox.version>3.0.0</springfox.version>
Alok Joshi's avatar
Alok Joshi committed
46
        <json-smart.version>2.4.7</json-smart.version>
David Diederich's avatar
David Diederich committed
47
48
    </properties>

David Diederich's avatar
David Diederich committed
49
50
51
52
53
54
55
56
    <licenses>
    	<license>
    		<name>Apache License, Version 2.0</name>
    		<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
    		<distribution>repo</distribution>
    	</license>
    </licenses>

David Diederich's avatar
David Diederich committed
57
58
59
60
61
62
    <modules>
        <module>search-core</module>
        <module>provider/search-byoc</module>
        <module>provider/search-gcp</module>
        <module>provider/search-aws</module>
        <module>provider/search-azure</module>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
63
        <module>provider/search-ibm</module>
64
        <module>provider/search-reference</module>
David Diederich's avatar
David Diederich committed
65
66
67
68
    </modules>
    <dependencyManagement>
        <dependencies>
            <dependency>
Harsheet Shah's avatar
Harsheet Shah committed
69
70
71
                <groupId>org.opengroup.osdu</groupId>
                <artifactId>os-core-common</artifactId>
                <version>${osdu.oscorecommon.version}</version>
David Diederich's avatar
David Diederich committed
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
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.javassist</groupId>
                <artifactId>javassist</artifactId>
                <version>3.24.1-GA</version>
            </dependency>

            <dependency>
                <groupId>io.swagger</groupId>
                <artifactId>swagger-jaxrs</artifactId>
                <version>1.5.22</version>
                <exclusions>
                    <exclusion>
                        <groupId>javax.ws.rs</groupId>
                        <artifactId>jsr311-api</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>com.fasterxml.jackson.core</groupId>
                        <artifactId>jackson-databind</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <!--explicitly load latest compatible version with security fix in it-->
98
99
100
101
            <dependency>
                <groupId>org.elasticsearch</groupId>
                <artifactId>elasticsearch</artifactId>
                <version>${elasticsearch.version}</version>
102
103
104
105
106
107
                <exclusions>
                    <exclusion>
                        <groupId>com.fasterxml.jackson.dataformat</groupId>
                        <artifactId>jackson-dataformat-cbor</artifactId>
                    </exclusion>
                </exclusions>
108
            </dependency>
Yauheni Lesnikau's avatar
Yauheni Lesnikau committed
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

            <dependency>
                <groupId>org.elasticsearch.client</groupId>
                <artifactId>transport</artifactId>
                <version>${elasticsearch.version}</version>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.distribution.integ-test-zip</groupId>
                <artifactId>elasticsearch</artifactId>
                <version>${elasticsearch.version}</version>
                <type>zip</type>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.plugin</groupId>
                <artifactId>transport-netty4-client</artifactId>
                <version>${elasticsearch.version}</version>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.client</groupId>
                <artifactId>elasticsearch-rest-client</artifactId>
                <version>${elasticsearch.version}</version>
                <exclusions>
                    <exclusion>
                        <artifactId>commons-logging</artifactId>
                        <groupId>commons-logging</groupId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>org.elasticsearch.client</groupId>
                <artifactId>elasticsearch-rest-high-level-client</artifactId>
                <version>${elasticsearch.version}</version>
            </dependency>

143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
            <dependency>
                <groupId>commons-codec</groupId>
                <artifactId>commons-codec</artifactId>
                <version>${commons-codec.version}</version>
            </dependency>
            <dependency>
                <groupId>org.yaml</groupId>
                <artifactId>snakeyaml</artifactId>
                <version>${snakeyaml.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-core</artifactId>
                <version>${jackson.version}</version>
            </dependency>
David Diederich's avatar
David Diederich committed
158
159
160
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-databind</artifactId>
161
                <version>${jackson-databind.version}</version>
David Diederich's avatar
David Diederich committed
162
            </dependency>
163
164
165
166
167
            <dependency>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-annotations</artifactId>
                <version>${jackson.version}</version>
            </dependency>
David Diederich's avatar
David Diederich committed
168
169
170
171
172
173
174
175
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
                <version>3.1.0</version>
            </dependency>
            <dependency>
                <groupId>org.jboss.resteasy</groupId>
                <artifactId>resteasy-jackson2-provider</artifactId>
176
                <version>${resteasy.version}</version>
David Diederich's avatar
David Diederich committed
177
178
179
180
            </dependency>
            <dependency>
                <groupId>org.jboss.resteasy</groupId>
                <artifactId>resteasy-jaxrs</artifactId>
181
                <version>${resteasy.version}</version>
David Diederich's avatar
David Diederich committed
182
183
184
185
186
187
188
189
190
191
192
193
194
            </dependency>
            <dependency>
                <groupId>org.jboss.resteasy</groupId>
                <artifactId>resteasy-validator-provider-11</artifactId>
                <version>3.6.2.Final</version>
            </dependency>

            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>27.1-jre</version>
            </dependency>

Alok Joshi's avatar
Alok Joshi committed
195
196
197
198
199
200
            <dependency>
                <groupId>net.minidev</groupId>
                <artifactId>json-smart</artifactId>
                <version>${json-smart.version}</version>
            </dependency>

David Diederich's avatar
David Diederich committed
201
202
203
204
205
206
            <!--Elasticsearch import org.elasticsearch.common.inject.Inject;-->

            <!--Required for Geo shape queries-->
            <dependency>
                <groupId>org.locationtech.spatial4j</groupId>
                <artifactId>spatial4j</artifactId>
207
                <version>0.7</version>
David Diederich's avatar
David Diederich committed
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
            </dependency>
            <dependency>
                <groupId>com.vividsolutions</groupId>
                <artifactId>jts</artifactId>
                <version>1.13</version>
                <exclusions>
                    <exclusion>
                        <groupId>xerces</groupId>
                        <artifactId>xercesImpl</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>com.auth0</groupId>
                <artifactId>java-jwt</artifactId>
                <version>3.8.1</version>
            </dependency>

            <!--  Gson: Java to Json conversion -->
            <dependency>
                <groupId>com.google.code.gson</groupId>
                <artifactId>gson</artifactId>
Yauheni Lesnikau's avatar
Yauheni Lesnikau committed
231
                <version>2.8.9</version>
David Diederich's avatar
David Diederich committed
232
233
234
235
            </dependency>
            <dependency>
                <groupId>com.fasterxml.jackson.jaxrs</groupId>
                <artifactId>jackson-jaxrs-json-provider</artifactId>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
236
                <version>2.9.10</version>
David Diederich's avatar
David Diederich committed
237
238
239
240
241
242
243
244
245
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-lang3</artifactId>
                <version>3.9</version>
            </dependency>
            <dependency>
                <groupId>commons-beanutils</groupId>
                <artifactId>commons-beanutils</artifactId>
ethiraj krishnamanaidu's avatar
ethiraj krishnamanaidu committed
246
                <version>1.9.4</version>
David Diederich's avatar
David Diederich committed
247
248
249
250
251
252
253
254
255
256
257
258
            </dependency>

            <dependency>
                <groupId>joda-time</groupId>
                <artifactId>joda-time</artifactId>
                <version>2.10.2</version>
            </dependency>

            <!--Logging-->
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-to-slf4j</artifactId>
259
                <version>${log4j-core.version}</version>
David Diederich's avatar
David Diederich committed
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>1.7.28</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>jcl-over-slf4j</artifactId>
                <version>1.7.28</version>
            </dependency>

            <!--Test-->
            <dependency>
                <groupId>org.powermock</groupId>
                <artifactId>powermock-api-mockito2</artifactId>
Harsheet Shah's avatar
Harsheet Shah committed
276
                <version>2.0.6</version>
David Diederich's avatar
David Diederich committed
277
278
279
280
281
            </dependency>

            <dependency>
                <groupId>org.powermock</groupId>
                <artifactId>powermock-module-junit4</artifactId>
Harsheet Shah's avatar
Harsheet Shah committed
282
                <version>2.0.6</version>
David Diederich's avatar
David Diederich committed
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
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-all</artifactId>
                <version>2.0.2-beta</version>
            </dependency>
            <dependency>
                <groupId>com.github.stefanbirkner</groupId>
                <artifactId>system-rules</artifactId>
                <version>1.19.0</version>
            </dependency>

            <dependency>
                <groupId>javax.el</groupId>
                <artifactId>javax.el-api</artifactId>
                <version>3.0.0</version>
            </dependency>
            <dependency>
                <groupId>org.glassfish</groupId>
                <artifactId>javax.el</artifactId>
                <version>3.0.0</version>
            </dependency>
            <dependency>
                <groupId>org.glassfish</groupId>
                <artifactId>javax.json</artifactId>
                <version>1.1.4</version>
            </dependency>
            <dependency>
                <groupId>com.sun.jersey</groupId>
                <artifactId>jersey-client</artifactId>
                <version>1.19.4</version>
            </dependency>
            <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-validator</artifactId>
318
                <version>${hibernate-validator.version}</version>
David Diederich's avatar
David Diederich committed
319
            </dependency>
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
            <dependency>
                <groupId>org.apache.httpcomponents</groupId>
                <artifactId>httpclient</artifactId>
                <version>${httpclient.version}</version>
            </dependency>
            <dependency>
                <groupId>com.fasterxml.woodstox</groupId>
                <artifactId>woodstox-core</artifactId>
                <version>${woodstox-core.version}</version>
            </dependency>
            <dependency>
                <groupId>io.projectreactor</groupId>
                <artifactId>reactor-bom</artifactId>
                <version>${reactor-bom.version}</version>
                <type>pom</type>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-core</artifactId>
                <version>${log4j-core.version}</version>
            </dependency>
            <dependency>
                <groupId>com.google.oauth-client</groupId>
                <artifactId>google-oauth-client</artifactId>
                <version>${google-oauth-client.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-compress</artifactId>
                <version>${commons-compress.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.logging.log4j</groupId>
                <artifactId>log4j-api</artifactId>
                <version>${log4j-core.version}</version>
            </dependency>
David Diederich's avatar
David Diederich committed
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>1.18.8</version>
        </dependency>
        <dependency>
            <groupId>javax.inject</groupId>
            <artifactId>javax.inject</artifactId>
            <version>1</version>
        </dependency>
        <dependency>
            <groupId>org.opengroup.osdu</groupId>
            <artifactId>os-core-common</artifactId>
373
            <version>${osdu.oscorecommon.version}</version>
David Diederich's avatar
David Diederich committed
374
        </dependency>
375
376
377
378
379
        <dependency>
            <groupId>org.apache.tomcat.embed</groupId>
            <artifactId>tomcat-embed-core</artifactId>
            <version>${tomcat-embed-core.version}</version>
        </dependency>
Ashwani Pandey's avatar
Ashwani Pandey committed
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
        <!--Swagger-->
		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-boot-starter</artifactId>
			<version>${springfox.version}</version>
			<exclusions>
				<exclusion>
					<groupId>org.springframework.plugin</groupId>
					<artifactId>spring-plugin-core</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.springframework.plugin</groupId>
					<artifactId>spring-plugin-metadata</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.springframework.plugin</groupId>
			<artifactId>spring-plugin-core</artifactId>
			<version>2.0.0.RELEASE</version>
		</dependency>
		<dependency>
			<groupId>org.springframework.plugin</groupId>
			<artifactId>spring-plugin-metadata</artifactId>
			<version>2.0.0.RELEASE</version>
			<exclusions>
				<exclusion>
					<groupId>org.springframework.plugin</groupId>
					<artifactId>spring-plugin-core</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
David Diederich's avatar
David Diederich committed
412
413
414
415
    </dependencies>

    <repositories>
        <repository>
Riabokon Stanislav(EPAM)[GCP]'s avatar
Riabokon Stanislav(EPAM)[GCP] committed
416
417
            <id>${repo.releases.id}</id>
            <url>${repo.releases.url}</url>
David Diederich's avatar
David Diederich committed
418
419
420
        </repository>
    </repositories>

421
422
    <distributionManagement>
        <repository>
Riabokon Stanislav(EPAM)[GCP]'s avatar
Riabokon Stanislav(EPAM)[GCP] committed
423
424
            <id>${publish.releases.id}</id>
            <url>${publish.releases.url}</url>
425
426
        </repository>
        <snapshotRepository>
Riabokon Stanislav(EPAM)[GCP]'s avatar
Riabokon Stanislav(EPAM)[GCP] committed
427
428
            <id>${publish.snapshots.id}</id>
            <url>${publish.snapshots.url}</url>
429
430
431
        </snapshotRepository>
    </distributionManagement>

Riabokon Stanislav(EPAM)[GCP]'s avatar
Riabokon Stanislav(EPAM)[GCP] committed
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
    <profiles>
        <profile>
            <id>Default</id>
            <activation>
                <property>
                    <name>!repo.releases.id</name>
                </property>
            </activation>
            <properties>
                <repo.releases.id>community-maven-repo</repo.releases.id>
                <publish.snapshots.id>community-maven-via-job-token</publish.snapshots.id>
                <publish.releases.id>community-maven-via-job-token</publish.releases.id>
                <repo.releases.url>https://community.opengroup.org/api/v4/groups/17/-/packages/maven</repo.releases.url>
                <publish.snapshots.url>https://community.opengroup.org/api/v4/projects/19/packages/maven</publish.snapshots.url>
                <publish.releases.url>https://community.opengroup.org/api/v4/projects/19/packages/maven</publish.releases.url>
            </properties>
        </profile>
    </profiles>

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
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-maven-plugin</artifactId>
                    <executions>
                        <execution>
                            <id>build-info</id>
                            <goals>
                                <goal>build-info</goal>
                            </goals>
                        </execution>
                    </executions>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>pl.project13.maven</groupId>
                <artifactId>git-commit-id-plugin</artifactId>
                <version>4.0.5</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>revision</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <verbose>true</verbose>
                    <dateFormat>yyyy-MM-dd'T'HH:mm:ssZ</dateFormat>
                    <generateGitPropertiesFile>true</generateGitPropertiesFile>
                    <generateGitPropertiesFilename>
                        ${project.build.outputDirectory}/git.properties
                    </generateGitPropertiesFilename>
                </configuration>
            </plugin>
        </plugins>
    </build>
David Diederich's avatar
David Diederich committed
491
</project>