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-api</artifactId>
72
            <version>2.0.2-SNAPSHOT</version>
73
        </dependency>
74

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

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

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

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

    
114
        <dependency>
115
            <groupId>xerces</groupId>
116
            <artifactId>xercesImpl</artifactId>
117
            <version>2.11.0</version>
118
        </dependency>
119

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

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

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

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

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

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

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

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

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

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

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

    
217

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

    
236
    </dependencies>
237

    
238
    <build>
239
        <outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/classes</outputDirectory>
240
        <plugins>
241
           <plugin>
242
                <groupId>org.apache.maven.plugins</groupId>
243
                <artifactId>maven-compiler-plugin</artifactId>
244
                <version>3.7.0</version>
245
                <configuration>
246
                    <source>1.8</source>
247
                    <target>1.8</target>
248
                    <encoding>UTF-8</encoding>
249
                </configuration>
250
            </plugin>
251

    
252
            <plugin>
253
                <artifactId>maven-war-plugin</artifactId>
254
                <version>2.6</version>
255
                <configuration>
256
                    <failOnMissingWebXml>false</failOnMissingWebXml>
257
                </configuration>
258
            </plugin>
259

    
260

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

    
282

    
283

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

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

    
345

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