Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0"
3
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5

    
6
    <parent>
7
        <groupId>org.springframework.boot</groupId>
8
        <artifactId>spring-boot-starter-parent</artifactId>
9
        <version>2.5.4</version>
10
    </parent>
11

    
12
    <modelVersion>4.0.0</modelVersion>
13
    <groupId>eu.dnetlib</groupId>
14
    <artifactId>uoa-repository-manager-service</artifactId>
15
    <version>1.0.0-SNAPSHOT</version>
16
    <packaging>jar</packaging>
17

    
18
    <properties>
19
        <spring.boot.version>2.5.4</spring.boot.version>
20
    </properties>
21

    
22
    <dependencies>
23
	<dependency>
24
            <groupId>org.springframework.boot</groupId>
25
            <artifactId>spring-boot-starter</artifactId>
26
            <exclusions>
27
                <exclusion>
28
                    <groupId>org.springframework.boot</groupId>
29
                    <artifactId>spring-boot-starter-logging</artifactId>
30
                </exclusion>
31
            </exclusions>
32
        </dependency>
33

    
34
        <dependency>
35
            <groupId>org.springframework.boot</groupId>
36
            <artifactId>spring-boot-starter-log4j2</artifactId>
37
        </dependency>
38
        <dependency>
39
            <groupId>org.springframework.boot</groupId>
40
            <artifactId>spring-boot-starter-web</artifactId>
41
        </dependency>
42
        <dependency>
43
            <groupId>org.springframework.boot</groupId>
44
            <artifactId>spring-boot-starter-data-jdbc</artifactId>
45
        </dependency>
46
        <dependency>
47
            <groupId>org.springframework.boot</groupId>
48
            <artifactId>spring-boot-actuator-autoconfigure</artifactId>
49
	</dependency>
50
	<dependency>
51
            <groupId>org.springframework.boot</groupId>
52
            <artifactId>spring-boot-starter-tomcat</artifactId>
53
	    <!--<scope>provided</scope>-->
54
        </dependency>
55
	<dependency>
56
            <groupId>org.springframework.boot</groupId>
57
            <artifactId>spring-boot-starter-data-redis</artifactId>
58
        </dependency>
59
	<dependency>
60
	     <groupId>org.springframework.boot</groupId>
61
	     <artifactId>spring-boot-starter-validation</artifactId>
62
        </dependency>
63
	<!-- https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-netflix-hystrix -->
64
	<!--
65
<dependency>
66
    <groupId>org.springframework.cloud</groupId>
67
    <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
68
    <version>2.2.9.RELEASE</version>
69
</dependency>
70
<dependency>
71
  <groupId>org.springframework.cloud</groupId>
72
  <artifactId>spring-cloud-starter-bootstrap</artifactId>
73
  <version>3.0.1</version>
74
</dependency>
75
-->
76
<!--
77
	<dependency>
78
	     <groupId>javax.el</groupId>
79
	     <artifactId>javax.el-api</artifactId>
80
	     <version>3.0.0</version>
81
	</dependency>
82
-->
83
        <dependency>
84
            <groupId>eu.dnetlib</groupId>
85
            <artifactId>uoa-clients</artifactId>
86
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
87
	    <exclusions>
88
		    <exclusion>
89
			    <groupId>log4j</groupId>
90
			    <artifactId>log4j</artifactId>
91
		    </exclusion>
92

    
93
		    <exclusion>
94
			    <groupId>javax.servlet</groupId>
95
			    <artifactId>javax.servlet-api</artifactId>
96
		    </exclusion>
97
		    <exclusion>
98
			    <groupId>com.google.gwt</groupId>
99
			    <artifactId>gwt-user</artifactId>
100
		    </exclusion>
101
	    </exclusions>
102
        </dependency>
103
        <dependency>
104
            <groupId>eu.dnetlib</groupId>
105
            <artifactId>dnet-runtime</artifactId>
106
            <version>1.0.2-SNAPSHOT</version>
107
	    <exclusions>
108
                    <exclusion>
109
                            <groupId>log4j</groupId>
110
                            <artifactId>log4j</artifactId>
111
                    </exclusion>
112
            </exclusions>
113
        </dependency>
114
	<dependency>
115
            <groupId>eu.dnetlib</groupId>
116
            <artifactId>uoa-hcm</artifactId>
117
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
118
	    <exclusions>
119
		    <exclusion>
120
			    <groupId>log4j</groupId>
121
			    <artifactId>log4j</artifactId>
122
		    </exclusion>
123
	    </exclusions>
124
        </dependency>
125
<!--        <dependency>-->
126
<!--            <groupId>org.springframework</groupId>-->
127
<!--            <artifactId>spring-webmvc</artifactId>-->
128
<!--            <version>${spring.version}</version>-->
129
<!--        </dependency>-->
130
<!--        <dependency>-->
131
<!--            <groupId>org.hibernate</groupId>-->
132
<!--            <artifactId>hibernate-validator-annotation-processor</artifactId>-->
133
<!--            <version>4.1.0.Final</version>-->
134
<!--        </dependency>-->
135
<!--        <dependency>-->
136
<!--            <groupId>log4j</groupId>-->
137
<!--            <artifactId>log4j</artifactId>-->
138
<!--            <version>${log4j.version}</version>-->
139
<!--        </dependency>-->
140
        <dependency>
141
            <groupId>eu.dnetlib</groupId>
142
            <artifactId>uoa-domain</artifactId>
143
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
144
            <exclusions>
145
                <exclusion>  <!-- declare the exclusion here -->
146
                    <groupId>cglib</groupId>
147
                    <artifactId>cglib</artifactId>
148
                </exclusion>
149
		    <exclusion>
150
			    <groupId>log4j</groupId>
151
			    <artifactId>log4j</artifactId>
152
		    </exclusion>
153
            </exclusions>
154
        </dependency>
155
        <dependency>
156
            <groupId>eu.dnetlib</groupId>
157
            <artifactId>dnet-openaire-usage-stats-sushilite</artifactId>
158
            <version>1.0.0-SNAPSHOT</version>
159
        </dependency>
160
        <dependency>
161
            <groupId>eu.dnetlib.dhp</groupId>
162
            <artifactId>dnet-openaire-broker-common</artifactId>
163
            <version>3.1.1-SNAPSHOT</version>
164
	    <exclusions>
165
		    <exclusion>
166
			    <groupId>javax.validation</groupId>
167
			    <artifactId>validation-api</artifactId>
168
		    </exclusion>
169
	    </exclusions>
170
        </dependency>
171
        <dependency>
172
            <groupId>cglib</groupId>
173
            <artifactId>cglib-nodep</artifactId>
174
            <version>2.2</version>
175
        </dependency>
176

    
177
        <dependency>
178
            <groupId>commons-io</groupId>
179
            <artifactId>commons-io</artifactId>
180
            <version>2.4</version>
181
        </dependency>
182

    
183
        <dependency>
184
            <groupId>se.kb</groupId>
185
            <artifactId>oai4j</artifactId>
186
            <version>[0.6b1,)</version>
187
        </dependency>
188
        <dependency>
189
            <groupId>xalan</groupId>
190
            <artifactId>xalan</artifactId>
191
            <version>2.7.2</version>
192
        </dependency>
193

    
194
<!--        <dependency>-->
195
<!--            <groupId>xerces</groupId>-->
196
<!--            <artifactId>xercesImpl</artifactId>-->
197
<!--            <version>2.11.0</version>-->
198
<!--        </dependency>-->
199

    
200
<!--
201
        <dependency>
202
            <groupId>com.fasterxml.jackson.core</groupId>
203
            <artifactId>jackson-core</artifactId>
204
            <version>2.9.4</version>
205
            <scope>compile</scope>
206
        </dependency>
207
        <dependency>
208
            <groupId>com.fasterxml.jackson.core</groupId>
209
            <artifactId>jackson-databind</artifactId>
210
            <version>2.9.4</version>
211
            <scope>compile</scope>
212
        </dependency>
213
-->
214
<!--        <dependency>-->
215
<!--            <groupId>org.springframework</groupId>-->
216
<!--            <artifactId>spring-context</artifactId>-->
217
<!--            <version>${spring.version}</version>-->
218
<!--        </dependency>-->
219

    
220
<!--        <dependency>-->
221
<!--            <groupId>org.springframework</groupId>-->
222
<!--            <artifactId>spring-jdbc</artifactId>-->
223
<!--            <version>${spring.version}</version>-->
224
<!--        </dependency>-->
225

    
226
        <dependency>
227
            <groupId>com.sun.jersey</groupId>
228
            <artifactId>jersey-client</artifactId>
229
            <version>1.19.3</version>
230
        </dependency>
231

    
232
        <dependency>
233
            <groupId>org.aksw.gson</groupId>
234
            <artifactId>gson-utils-core</artifactId>
235
            <version>1.0.0</version>
236
        </dependency>
237
        <dependency>
238
            <groupId>org.json</groupId>
239
            <artifactId>json</artifactId>
240
            <version>20080701</version>
241
        </dependency>
242

    
243
        <dependency>
244
            <groupId>com.sun.mail</groupId>
245
            <artifactId>javax.mail</artifactId>
246
            <version>1.6.0</version>
247
        </dependency>
248

    
249
        <dependency>
250
            <groupId>io.springfox</groupId>
251
            <artifactId>springfox-swagger2</artifactId>
252
            <version>2.7.0</version>
253
        </dependency>
254
        <dependency>
255
            <groupId>io.springfox</groupId>
256
            <artifactId>springfox-swagger-ui</artifactId>
257
            <version>2.7.0</version>
258
        </dependency>
259

    
260
        <!-- https://mvnrepository.com/artifact/postgresql/postgresql -->
261
        <dependency>
262
            <groupId>postgresql</groupId>
263
            <artifactId>postgresql</artifactId>
264
            <version>9.1-901.jdbc3</version>
265
        </dependency>
266

    
267
        <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina -->
268
<!--        <dependency>-->
269
<!--            <groupId>org.apache.tomcat</groupId>-->
270
<!--            <artifactId>tomcat-catalina</artifactId>-->
271
<!--            <version>9.0.22</version>-->
272
<!--        </dependency>-->
273

    
274
        <dependency>
275
            <groupId>commons-fileupload</groupId>
276
            <artifactId>commons-fileupload</artifactId>
277
            <version>1.4</version>
278
        </dependency>
279

    
280
        <dependency>
281
            <groupId>org.mitre</groupId>
282
            <artifactId>openid-connect-client</artifactId>
283
            <version>1.3.0</version>
284
            <exclusions>
285
                <exclusion>
286
                    <groupId>org.slf4j</groupId>
287
                    <artifactId>jcl-over-slf4j</artifactId>
288
                </exclusion>
289
            </exclusions>
290
        </dependency>
291
        <dependency>
292
            <groupId>org.springframework.session</groupId>
293
            <artifactId>spring-session-data-redis</artifactId>
294
    </dependency>
295
	<!--
296
        <dependency>
297
            <groupId>org.springframework.session</groupId>
298
            <artifactId>spring-session-data-redis</artifactId>
299
	    <version>2.5.1</version>
300
            <type>pom</type>
301
    </dependency>
302
-->
303
    
304
        <!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
305
        <dependency>
306
            <groupId>redis.clients</groupId>
307
            <artifactId>jedis</artifactId>
308
	    <version>${jedis.version}</version>
309
	    <!--<version>3.7.0</version>-->
310
	</dependency>
311
<dependency>
312
<groupId>org.apache.commons</groupId>
313
<artifactId>commons-pool2</artifactId>
314
</dependency>
315
        <dependency>
316
            <groupId>com.google.code.gson</groupId>
317
            <artifactId>gson</artifactId>
318
            <version>2.6.2</version>
319
        </dependency>
320

    
321
        <dependency>
322
            <groupId>com.thetransactioncompany</groupId>
323
            <artifactId>cors-filter</artifactId>
324
            <version>2.5</version>
325
        </dependency>
326
        <dependency>
327
            <groupId>com.netflix.hystrix</groupId>
328
            <artifactId>hystrix-core</artifactId>
329
            <version>1.5.18</version>
330
	</dependency>
331
	<!--
332
        <dependency>
333
            <groupId>com.netflix.rxjava</groupId>
334
            <artifactId>rxjava-core</artifactId>
335
            <version>0.20.7</version>
336
        </dependency>
337
-->
338
        <!-- https://mvnrepository.com/artifact/javax.xml.ws/jaxws-api -->
339
        <dependency>
340
            <groupId>javax.xml.ws</groupId>
341
            <artifactId>jaxws-api</artifactId>
342
            <version>2.3.0</version>
343
        </dependency>
344
        <!-- https://mvnrepository.com/artifact/javax.jws/javax.jws-api -->
345
        <dependency>
346
            <groupId>javax.jws</groupId>
347
            <artifactId>javax.jws-api</artifactId>
348
            <version>1.1</version>
349
        </dependency>
350
        <dependency>
351
            <groupId>javax.xml.bind</groupId>
352
            <artifactId>jaxb-api</artifactId>
353
            <version>2.3.0</version>
354
        </dependency>
355
        <dependency>
356
            <groupId>com.sun.xml.bind</groupId>
357
            <artifactId>jaxb-impl</artifactId>
358
            <version>2.3.0</version>
359
        </dependency>
360
        <!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-core -->
361
        <dependency>
362
            <groupId>com.sun.xml.bind</groupId>
363
            <artifactId>jaxb-core</artifactId>
364
            <version>2.3.0</version>
365
        </dependency>
366
        <dependency>
367
            <groupId>javax.activation</groupId>
368
            <artifactId>activation</artifactId>
369
            <version>1.1-rev-1</version>
370
        </dependency>
371

    
372
        <dependency>
373
            <groupId>org.eurocris</groupId>
374
            <artifactId>openaire-cris-validator</artifactId>
375
            <version>1.0.1-SNAPSHOT</version>
376
<!--            <exclusions>-->
377
<!--                <exclusion>-->
378
<!--                    <groupId>org.apache.logging.log4j</groupId>-->
379
<!--                    <artifactId>log4j-1.2-api</artifactId>-->
380
<!--                </exclusion>-->
381
<!--            </exclusions>-->
382
        </dependency>
383

    
384
        <dependency>
385
            <groupId>org.mockito</groupId>
386
            <artifactId>mockito-core</artifactId>
387
            <version>2.26.0</version>
388
            <scope>test</scope>
389
        </dependency>
390

    
391
        <!-- Enable micrometer >> -->
392
<!--        <dependency> &lt;!&ndash; TODO: remove this with ActuatorConfig class &ndash;&gt;-->
393
<!--            <groupId>org.springframework.boot</groupId>-->
394
<!--            <artifactId>spring-boot-actuator</artifactId>-->
395
<!--            <version>1.3.5.RELEASE</version>-->
396
<!--        </dependency>-->
397
<!--        <dependency>-->
398
<!--            <groupId>org.springframework.boot</groupId>-->
399
<!--            <artifactId>spring-boot-actuator-autoconfigure</artifactId>-->
400
<!--            <version>2.1.18.RELEASE</version>-->
401
<!--        </dependency>-->
402
<!--        <dependency>-->
403
<!--            <groupId>io.micrometer</groupId>-->
404
<!--            <artifactId>micrometer-core</artifactId>-->
405
<!--            <version>1.7.2</version>-->
406
<!--        </dependency>-->
407
        <dependency>
408
            <groupId>io.micrometer</groupId>
409
            <artifactId>micrometer-registry-prometheus</artifactId>
410
            <version>1.7.2</version>
411
            <scope>compile</scope>
412
        </dependency>
413
        <!-- << Enable micrometer -->
414

    
415
    </dependencies>
416

    
417

    
418
<dependencyManagement>
419
  <dependencies>
420
    <dependency>
421
      <groupId>org.springframework.session</groupId>
422
      <artifactId>spring-session-bom</artifactId>
423
      <version>2021.0.2</version>
424
      <type>pom</type>
425
      <scope>import</scope>
426
    </dependency>
427
  </dependencies>
428
</dependencyManagement>
429

    
430
    <build>
431
        <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
432
        <plugins>
433
<!--
434
            <plugin>
435
                <groupId>org.apache.maven.plugins</groupId>
436
                <artifactId>maven-compiler-plugin</artifactId>
437
                <version>3.7.0</version>
438
                <configuration>
439
                    <source>1.8</source>
440
                    <target>1.8</target>
441
                    <encoding>UTF-8</encoding>
442
                </configuration>
443
            </plugin>
444
            <plugin>
445
                <groupId>org.apache.maven.plugins</groupId>
446
                <artifactId>maven-war-plugin</artifactId>
447
                <version>2.6</version>
448
                <configuration>
449
                    <failOnMissingWebXml>false</failOnMissingWebXml>
450
                </configuration>
451
	    </plugin>
452
		-->
453
<plugin>
454
				<groupId>org.springframework.boot</groupId>
455
				<artifactId>spring-boot-maven-plugin</artifactId>
456
			</plugin>
457

    
458
            <plugin>
459
                <groupId>cz.habarta.typescript-generator</groupId>
460
                <artifactId>typescript-generator-maven-plugin</artifactId>
461
                <version>2.16.538</version>
462
                <executions>
463
                    <execution>
464
                        <id>java to typeScript</id>
465
                        <goals>
466
                            <goal>generate</goal>
467
                        </goals>
468
                        <configuration>
469
                            <jsonLibrary>jackson2</jsonLibrary>
470
                            <outputFileType>implementationFile</outputFileType>
471
                            <mapClasses>asClasses</mapClasses>
472
                            <classPatterns>
473
                                <pattern>eu.dnetlib.domain.functionality.validator.*</pattern>
474
                            </classPatterns>
475
                            <outputFile>target/operation.ts</outputFile>
476
                            <outputKind>module</outputKind>
477
                        </configuration>
478
                    </execution>
479
                </executions>
480
            </plugin>
481
        </plugins>
482
        <finalName>uoa-repository-manager-service</finalName>
483
        <resources>
484
            <resource>
485
                <directory>src/main/resources</directory>
486
                <filtering>true</filtering>
487
            </resource>
488
        </resources>
489
    </build>
490

    
491
    <repositories>
492
        <repository>
493
            <id>dnet-deps</id>
494
            <name>dnet-dependencies</name>
495
            <url>https://maven.d4science.org/nexus/content/repositories/dnet-deps</url>
496
            <layout>default</layout>
497
        </repository>
498
        <repository>
499
            <id>dnet45-snapshots</id>
500
            <name>D-Net 45 Snapshots</name>
501
            <url>https://maven.d4science.org/nexus/content/repositories/dnet45-snapshots</url>
502
            <layout>default</layout>
503
            <snapshots>
504
                <enabled>true</enabled>
505
            </snapshots>
506
        </repository>
507
        <repository>
508
            <id>dnet45-releases</id>
509
            <name>D-Net 45 Releases</name>
510
            <url>https://maven.d4science.org/nexus/content/repositories/dnet45-releases</url>
511
            <layout>default</layout>
512
            <snapshots>
513
                <enabled>true</enabled>
514
            </snapshots>
515
        </repository>
516
    </repositories>
517
</project>
(2-2/2)