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>war</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>xerces</groupId>
117
            <artifactId>xercesImpl</artifactId>
118
            <version>2.11.0</version>
119
        </dependency>
120

    
121
        <dependency>
122
            <groupId>com.fasterxml.jackson.core</groupId>
123
            <artifactId>jackson-core</artifactId>
124
            <version>2.5.1</version>
125
            <scope>compile</scope>
126
        </dependency>
127
        <dependency>
128
            <groupId>com.fasterxml.jackson.core</groupId>
129
            <artifactId>jackson-databind</artifactId>
130
            <version>2.5.1</version>
131
            <scope>compile</scope>
132
        </dependency>
133

    
134
        <dependency>
135
            <groupId>org.springframework</groupId>
136
            <artifactId>spring-context</artifactId>
137
            <version>${spring.version}</version>
138
        </dependency>
139

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

    
146
        <dependency>
147
            <groupId>com.sun.jersey</groupId>
148
            <artifactId>jersey-client</artifactId>
149
            <version>1.19.3</version>
150
        </dependency>
151

    
152
        <dependency>
153
            <groupId>org.aksw.gson</groupId>
154
            <artifactId>gson-utils-core</artifactId>
155
            <version>1.0.0</version>
156
        </dependency>
157
        <dependency>
158
            <groupId>org.json</groupId>
159
            <artifactId>json</artifactId>
160
            <version>20080701</version>
161
        </dependency>
162

    
163
        <dependency>
164
            <groupId>com.sun.mail</groupId>
165
            <artifactId>javax.mail</artifactId>
166
            <version>1.6.0</version>
167
        </dependency>
168

    
169
        <dependency>
170
            <groupId>io.springfox</groupId>
171
            <artifactId>springfox-swagger2</artifactId>
172
            <version>2.7.0</version>
173
        </dependency>
174
        <dependency>
175
            <groupId>io.springfox</groupId>
176
            <artifactId>springfox-swagger-ui</artifactId>
177
            <version>2.7.0</version>
178
        </dependency>
179

    
180
        <!-- https://mvnrepository.com/artifact/cz.habarta.typescript-generator/typescript-generator-maven-plugin -->
181
        <!--<dependency>
182
            <groupId>cz.habarta.typescript-generator</groupId>
183
            <artifactId>typescript-generator-maven-plugin</artifactId>
184
            <version>1.29.366</version>
185
        </dependency>-->
186
        <!-- https://mvnrepository.com/artifact/postgresql/postgresql -->
187
        <dependency>
188
            <groupId>postgresql</groupId>
189
            <artifactId>postgresql</artifactId>
190
            <version>9.1-901.jdbc3</version>
191
        </dependency>
192

    
193
        <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina -->
194
        <dependency>
195
            <groupId>org.apache.tomcat</groupId>
196
            <artifactId>tomcat-catalina</artifactId>
197
            <version>LATEST</version>
198
        </dependency>
199

    
200
        <dependency>
201
            <groupId>commons-fileupload</groupId>
202
            <artifactId>commons-fileupload</artifactId>
203
            <version>LATEST</version>
204
        </dependency>
205

    
206
        <dependency>
207
            <groupId>org.mitre</groupId>
208
            <artifactId>openid-connect-client</artifactId>
209
            <version>1.3.0</version>
210
            <exclusions>
211
                <exclusion>
212
                    <groupId>org.slf4j</groupId>
213
                    <artifactId>jcl-over-slf4j</artifactId>
214
                </exclusion>
215
            </exclusions>
216
        </dependency>
217

    
218

    
219
        <dependency>
220
            <groupId>org.springframework.session</groupId>
221
            <artifactId>spring-session-data-redis</artifactId>
222
            <version>1.3.1.RELEASE</version>
223
            <type>pom</type>
224
        </dependency>
225
        <!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
226
        <dependency>
227
            <groupId>redis.clients</groupId>
228
            <artifactId>jedis</artifactId>
229
            <version>2.9.0</version>
230
        </dependency>
231
        <dependency>
232
            <groupId>com.google.code.gson</groupId>
233
            <artifactId>gson</artifactId>
234
            <version>2.6.2</version>
235
        </dependency>
236

    
237
        <dependency>
238
            <groupId>com.thetransactioncompany</groupId>
239
            <artifactId>cors-filter</artifactId>
240
            <version>2.5</version>
241
        </dependency>
242

    
243
        <dependency>
244
            <groupId>org.springframework.cloud</groupId>
245
            <artifactId>spring-cloud-starter-hystrix</artifactId>
246
            <version>1.1.5.RELEASE</version>
247
        </dependency>
248

    
249
    </dependencies>
250

    
251
    <build>
252
        <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
253
        <plugins>
254
           <plugin>
255
                <groupId>org.apache.maven.plugins</groupId>
256
                <artifactId>maven-compiler-plugin</artifactId>
257
                <version>3.7.0</version>
258
                <configuration>
259
                    <source>1.8</source>
260
                    <target>1.8</target>
261
                    <encoding>UTF-8</encoding>
262
                </configuration>
263
            </plugin>
264

    
265
            <plugin>
266
                <artifactId>maven-war-plugin</artifactId>
267
                <version>2.6</version>
268
                <configuration>
269
                    <failOnMissingWebXml>false</failOnMissingWebXml>
270
                </configuration>
271
            </plugin>
272

    
273

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

    
295

    
296

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

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

    
358

    
359
</project>
(2-2/2)