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>eu.dnetlib</groupId>
8
        <artifactId>dnet45-parent</artifactId>
9
        <version>1.0.0-SNAPSHOT</version>
10
    </parent>
11
    <modelVersion>4.0.0</modelVersion>
12
    <groupId>eu.dnetlib</groupId>
13
    <artifactId>uoa-repository-manager-service</artifactId>
14
    <version>1.0.0-SNAPSHOT</version>
15
    <packaging>jar</packaging>
16

    
17

    
18
    <dependencies>
19

    
20
        <dependency>
21
            <groupId>org.springframework</groupId>
22
            <artifactId>spring-webmvc</artifactId>
23
            <version>${spring.version}</version>
24
        </dependency>
25

    
26
        <dependency>
27
            <groupId>org.hibernate</groupId>
28
            <artifactId>hibernate-validator-annotation-processor</artifactId>
29
            <version>4.1.0.Final</version>
30
        </dependency>
31

    
32
        <dependency>
33
            <groupId>log4j</groupId>
34
            <artifactId>log4j</artifactId>
35
            <version>(1.2, 1.5]</version>
36
            <scope>compile</scope>
37
        </dependency>
38

    
39
        <dependency>
40
            <groupId>eu.dnetlib</groupId>
41
            <artifactId>dnet-runtime</artifactId>
42
            <version>[1.0.0-SNAPSHOT, 2.0.0)</version>
43
            <exclusions>
44
                <exclusion>  <!-- declare the exclusion here -->
45
                    <groupId>org.apache.geronimo.specs</groupId>
46
                    <artifactId>geronimo-javamail_1.4_spec</artifactId>
47
                </exclusion>
48
            </exclusions>
49
        </dependency>
50

    
51
        <dependency>
52
            <groupId>eu.dnetlib</groupId>
53
            <artifactId>uoa-utils</artifactId>
54
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
55
        </dependency>
56

    
57
        <dependency>
58
            <groupId>eu.dnetlib</groupId>
59
            <artifactId>uoa-domain</artifactId>
60
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
61
            <exclusions>
62
                <exclusion>  <!-- declare the exclusion here -->
63
                    <groupId>cglib</groupId>
64
                    <artifactId>cglib</artifactId>
65
                </exclusion>
66
            </exclusions>
67
        </dependency>
68

    
69
        <dependency>
70
            <groupId>eu.dnetlib</groupId>
71
            <artifactId>dnet-openaire-usage-stats-sushilite</artifactId>
72
            <version>1.0.0-SNAPSHOT</version>
73
        </dependency>
74

    
75

    
76
        <dependency>
77
            <groupId>cglib</groupId>
78
            <artifactId>cglib-nodep</artifactId>
79
            <version>2.2</version>
80
        </dependency>
81

    
82
        <dependency>
83
            <groupId>eu.dnetlib</groupId>
84
            <artifactId>uoa-commons</artifactId>
85
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
86
        </dependency>
87
        <dependency>
88
            <groupId>eu.dnetlib</groupId>
89
            <artifactId>uoa-clients</artifactId>
90
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
91
        </dependency>
92
        <dependency>
93
            <groupId>eu.dnetlib</groupId>
94
            <artifactId>uoa-hcm</artifactId>
95
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
96
        </dependency>
97

    
98
        <dependency>
99
            <groupId>commons-io</groupId>
100
            <artifactId>commons-io</artifactId>
101
            <version>2.4</version>
102
        </dependency>
103

    
104
        <dependency>
105
            <groupId>se.kb</groupId>
106
            <artifactId>oai4j</artifactId>
107
            <version>[0.6b1,)</version>
108
        </dependency>
109
        <dependency>
110
            <groupId>xalan</groupId>
111
            <artifactId>xalan</artifactId>
112
            <version>2.7.2</version>
113
        </dependency>
114

    
115
        <dependency>
116
            <groupId>org.slf4j</groupId>
117
            <artifactId>slf4j-log4j12</artifactId>
118
            <version>1.5.6</version>
119
        </dependency>
120

    
121
        <dependency>
122
            <groupId>xerces</groupId>
123
            <artifactId>xercesImpl</artifactId>
124
            <version>2.11.0</version>
125
        </dependency>
126

    
127
        <dependency>
128
            <groupId>com.fasterxml.jackson.core</groupId>
129
            <artifactId>jackson-core</artifactId>
130
            <version>2.5.1</version>
131
            <scope>compile</scope>
132
        </dependency>
133
        <dependency>
134
            <groupId>com.fasterxml.jackson.core</groupId>
135
            <artifactId>jackson-databind</artifactId>
136
            <version>2.5.1</version>
137
            <scope>compile</scope>
138
        </dependency>
139

    
140
        <dependency>
141
            <groupId>org.springframework</groupId>
142
            <artifactId>spring-context</artifactId>
143
            <version>${spring.version}</version>
144
        </dependency>
145

    
146
        <dependency>
147
            <groupId>org.springframework</groupId>
148
            <artifactId>spring-jdbc</artifactId>
149
            <version>${spring.version}</version>
150
        </dependency>
151

    
152
        <dependency>
153
            <groupId>com.sun.jersey</groupId>
154
            <artifactId>jersey-client</artifactId>
155
            <version>1.19.3</version>
156
        </dependency>
157

    
158
        <dependency>
159
            <groupId>org.aksw.gson</groupId>
160
            <artifactId>gson-utils-core</artifactId>
161
            <version>1.0.0</version>
162
        </dependency>
163
        <dependency>
164
            <groupId>org.json</groupId>
165
            <artifactId>json</artifactId>
166
            <version>20080701</version>
167
        </dependency>
168

    
169
        <dependency>
170
            <groupId>com.sun.mail</groupId>
171
            <artifactId>javax.mail</artifactId>
172
            <version>1.6.0</version>
173
        </dependency>
174

    
175
        <dependency>
176
            <groupId>io.springfox</groupId>
177
            <artifactId>springfox-swagger2</artifactId>
178
            <version>2.7.0</version>
179
        </dependency>
180
        <dependency>
181
            <groupId>io.springfox</groupId>
182
            <artifactId>springfox-swagger-ui</artifactId>
183
            <version>2.7.0</version>
184
        </dependency>
185

    
186
        <!-- https://mvnrepository.com/artifact/cz.habarta.typescript-generator/typescript-generator-maven-plugin -->
187
        <!--<dependency>
188
            <groupId>cz.habarta.typescript-generator</groupId>
189
            <artifactId>typescript-generator-maven-plugin</artifactId>
190
            <version>1.29.366</version>
191
        </dependency>-->
192
        <!-- https://mvnrepository.com/artifact/postgresql/postgresql -->
193
        <dependency>
194
            <groupId>postgresql</groupId>
195
            <artifactId>postgresql</artifactId>
196
            <version>9.1-901.jdbc3</version>
197
        </dependency>
198

    
199
        <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina -->
200
        <dependency>
201
            <groupId>org.apache.tomcat</groupId>
202
            <artifactId>tomcat-catalina</artifactId>
203
            <version>LATEST</version>
204
        </dependency>
205

    
206
        <dependency>
207
            <groupId>commons-fileupload</groupId>
208
            <artifactId>commons-fileupload</artifactId>
209
            <version>LATEST</version>
210
        </dependency>
211

    
212
        <dependency>
213
            <groupId>org.mitre</groupId>
214
            <artifactId>openid-connect-client</artifactId>
215
            <version>1.3.0</version>
216
            <exclusions>
217
                <exclusion>
218
                    <groupId>org.slf4j</groupId>
219
                    <artifactId>jcl-over-slf4j</artifactId>
220
                </exclusion>
221
            </exclusions>
222
        </dependency>
223

    
224

    
225
        <dependency>
226
            <groupId>org.springframework.session</groupId>
227
            <artifactId>spring-session-data-redis</artifactId>
228
            <version>1.3.1.RELEASE</version>
229
            <type>pom</type>
230
        </dependency>
231
        <!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
232
        <dependency>
233
            <groupId>redis.clients</groupId>
234
            <artifactId>jedis</artifactId>
235
            <version>2.9.0</version>
236
        </dependency>
237
        <dependency>
238
            <groupId>com.google.code.gson</groupId>
239
            <artifactId>gson</artifactId>
240
            <version>2.6.2</version>
241
        </dependency>
242

    
243
        <dependency>
244
            <groupId>com.thetransactioncompany</groupId>
245
            <artifactId>cors-filter</artifactId>
246
            <version>2.5</version>
247
        </dependency>
248

    
249
        <dependency>
250
            <groupId>org.springframework.cloud</groupId>
251
            <artifactId>spring-cloud-starter-hystrix</artifactId>
252
            <version>1.1.5.RELEASE</version>
253
        </dependency>
254

    
255
    </dependencies>
256

    
257
    <build>
258
        <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
259
        <plugins>
260
           <plugin>
261
                <groupId>org.apache.maven.plugins</groupId>
262
                <artifactId>maven-compiler-plugin</artifactId>
263
                <version>3.7.0</version>
264
                <configuration>
265
                    <source>1.8</source>
266
                    <target>1.8</target>
267
                    <encoding>UTF-8</encoding>
268
                </configuration>
269
            </plugin>
270

    
271
            <plugin>
272
                <artifactId>maven-war-plugin</artifactId>
273
                <version>2.6</version>
274
                <configuration>
275
                    <failOnMissingWebXml>false</failOnMissingWebXml>
276
                </configuration>
277
            </plugin>
278

    
279

    
280
            <!--<plugin>-->
281
                <!--<groupId>com.googlecode.maven-download-plugin</groupId>-->
282
                <!--<artifactId>download-maven-plugin</artifactId>-->
283
                <!--<version>1.3.0</version>-->
284
                <!--<executions>-->
285
                    <!--<execution>-->
286
                        <!--<phase>process-resources</phase>-->
287
                        <!--<goals>-->
288
                            <!--<goal>wget</goal>-->
289
                        <!--</goals>-->
290
                        <!--<configuration>-->
291
                            <!--<url>-->
292
                                <!--https://github.com/ostranme/swagger-ui-themes/archive/v3.0.0.zip-->
293
                            <!--</url>-->
294
                            <!--<unpack>true</unpack>-->
295
                            <!--<outputDirectory>${project.build.directory}</outputDirectory>-->
296
                        <!--</configuration>-->
297
                    <!--</execution>-->
298
                <!--</executions>-->
299
            <!--</plugin>-->
300

    
301

    
302

    
303
<!--
304
            <plugin>
305
                <groupId>org.apache.maven.plugins</groupId>
306
                <artifactId>maven-antrun-plugin</artifactId>
307
                <version>1.8</version>
308
                <executions>
309
                    <execution>
310
                        <phase>prepare-package</phase>
311
                        <goals>
312
                            <goal>run</goal>
313
                        </goals>
314
                        <configuration>
315
                            <tasks>
316
                                <sequential>
317
                                    <echo>Add theme</echo>
318
                                    <replace token="&lt;/head&gt;"
319
                                             value="&lt;link href='webjars/springfox-swagger-ui/themes/2.x/theme-feeling-blue.css' rel=&quot;stylesheet&quot;/&gt;&lt;/head&gt;"
320
                                             dir="${settings.localRepository}/io/springfox/springfox-swagger-ui/2.7.0/META-INF/resources">
321
                                        <include name="swagger-ui.html"/>
322
                                    </replace>
323
                                </sequential>
324
                            </tasks>
325
                        </configuration>
326
                    </execution>
327
                </executions>
328
            </plugin>
329
-->
330

    
331
            <!--<plugin>
332
                <groupId>cz.habarta.typescript-generator</groupId>
333
                <artifactId>typescript-generator-maven-plugin</artifactId>
334
                <version>1.29.366</version>
335
                <executions>
336
                    <execution>
337
                        <id>generate1</id>
338
                        <goals>
339
                            <goal>generate</goal>
340
                        </goals>
341
                        <configuration>
342
                            <jsonLibrary>jackson2</jsonLibrary>
343
                            <outputFileType>implementationFile</outputFileType>
344
                            <mapClasses>asClasses</mapClasses>
345
                            <classPatterns>
346
                                <pattern>eu.dnetlib.domain.data.*</pattern>
347
                            </classPatterns>
348
                            <outputFile>target/typeScriptClasses.ts</outputFile>
349
                            <outputKind>module</outputKind>
350
                        </configuration>
351
                    </execution>
352
                </executions>
353
            </plugin>-->
354
        </plugins>
355
        <finalName>uoa-repository-manager-service</finalName>
356
        <resources>
357
            <resource>
358
                <directory>src/main/resources</directory>
359
                <filtering>true</filtering>
360
            </resource>
361
        </resources>
362
    </build>
363

    
364

    
365
</project>
(3-3/3)