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
    </dependencies>
244

    
245
    <build>
246
        <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
247
        <plugins>
248
           <plugin>
249
                <groupId>org.apache.maven.plugins</groupId>
250
                <artifactId>maven-compiler-plugin</artifactId>
251
                <version>3.7.0</version>
252
                <configuration>
253
                    <source>1.8</source>
254
                    <target>1.8</target>
255
                    <encoding>UTF-8</encoding>
256
                </configuration>
257
            </plugin>
258

    
259
            <plugin>
260
                <artifactId>maven-war-plugin</artifactId>
261
                <version>2.6</version>
262
                <configuration>
263
                    <failOnMissingWebXml>false</failOnMissingWebXml>
264
                </configuration>
265
            </plugin>
266

    
267

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

    
289

    
290

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

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

    
352

    
353
</project>
(2-2/3)