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

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

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

    
261

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

    
283

    
284

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

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

    
346

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