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

    
70
        <dependency>
71
            <groupId>cglib</groupId>
72
            <artifactId>cglib-nodep</artifactId>
73
            <version>2.2</version>
74
        </dependency>
75

    
76
        <dependency>
77
            <groupId>eu.dnetlib</groupId>
78
            <artifactId>uoa-commons</artifactId>
79
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
80
        </dependency>
81
        <dependency>
82
            <groupId>eu.dnetlib</groupId>
83
            <artifactId>uoa-clients</artifactId>
84
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
85
        </dependency>
86
        <dependency>
87
            <groupId>eu.dnetlib</groupId>
88
            <artifactId>uoa-hcm</artifactId>
89
            <version>[2.0.0-SNAPSHOT, 3.0.0)</version>
90
        </dependency>
91

    
92
        <dependency>
93
            <groupId>commons-io</groupId>
94
            <artifactId>commons-io</artifactId>
95
            <version>2.4</version>
96
        </dependency>
97

    
98
        <dependency>
99
            <groupId>se.kb</groupId>
100
            <artifactId>oai4j</artifactId>
101
            <version>[0.6b1,)</version>
102
        </dependency>
103
        <dependency>
104
            <groupId>xalan</groupId>
105
            <artifactId>xalan</artifactId>
106
            <version>2.7.2</version>
107
        </dependency>
108

    
109
        <dependency>
110
            <groupId>xerces</groupId>
111
            <artifactId>xercesImpl</artifactId>
112
            <version>2.11.0</version>
113
        </dependency>
114

    
115
        <dependency>
116
            <groupId>com.fasterxml.jackson.core</groupId>
117
            <artifactId>jackson-core</artifactId>
118
            <version>2.5.1</version>
119
            <scope>compile</scope>
120
        </dependency>
121
        <dependency>
122
            <groupId>com.fasterxml.jackson.core</groupId>
123
            <artifactId>jackson-databind</artifactId>
124
            <version>2.5.1</version>
125
            <scope>compile</scope>
126
        </dependency>
127

    
128
        <dependency>
129
            <groupId>org.springframework</groupId>
130
            <artifactId>spring-context</artifactId>
131
            <version>${spring.version}</version>
132
        </dependency>
133

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

    
140
        <dependency>
141
            <groupId>com.sun.jersey</groupId>
142
            <artifactId>jersey-client</artifactId>
143
            <version>1.19.3</version>
144
        </dependency>
145

    
146
        <dependency>
147
            <groupId>org.aksw.gson</groupId>
148
            <artifactId>gson-utils-core</artifactId>
149
            <version>1.0.0</version>
150
        </dependency>
151
        <dependency>
152
            <groupId>org.json</groupId>
153
            <artifactId>json</artifactId>
154
            <version>20080701</version>
155
        </dependency>
156

    
157
        <dependency>
158
            <groupId>com.sun.mail</groupId>
159
            <artifactId>javax.mail</artifactId>
160
            <version>1.6.0</version>
161
        </dependency>
162

    
163
        <dependency>
164
            <groupId>io.springfox</groupId>
165
            <artifactId>springfox-swagger2</artifactId>
166
            <version>2.7.0</version>
167
        </dependency>
168
        <dependency>
169
            <groupId>io.springfox</groupId>
170
            <artifactId>springfox-swagger-ui</artifactId>
171
            <version>2.7.0</version>
172
        </dependency>
173

    
174
        <!-- https://mvnrepository.com/artifact/cz.habarta.typescript-generator/typescript-generator-maven-plugin -->
175
        <!--<dependency>
176
            <groupId>cz.habarta.typescript-generator</groupId>
177
            <artifactId>typescript-generator-maven-plugin</artifactId>
178
            <version>1.29.366</version>
179
        </dependency>-->
180
        <!-- https://mvnrepository.com/artifact/postgresql/postgresql -->
181
        <dependency>
182
            <groupId>postgresql</groupId>
183
            <artifactId>postgresql</artifactId>
184
            <version>9.1-901.jdbc3</version>
185
        </dependency>
186

    
187
        <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina -->
188
        <dependency>
189
            <groupId>org.apache.tomcat</groupId>
190
            <artifactId>tomcat-catalina</artifactId>
191
            <version>LATEST</version>
192
        </dependency>
193

    
194
        <dependency>
195
            <groupId>commons-fileupload</groupId>
196
            <artifactId>commons-fileupload</artifactId>
197
            <version>LATEST</version>
198
        </dependency>
199

    
200
        <dependency>
201
            <groupId>org.mitre</groupId>
202
            <artifactId>openid-connect-client</artifactId>
203
            <version>1.3.0</version>
204
            <exclusions>
205
                <exclusion>
206
                    <groupId>org.slf4j</groupId>
207
                    <artifactId>jcl-over-slf4j</artifactId>
208
                </exclusion>
209
            </exclusions>
210
        </dependency>
211

    
212

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

    
231
    </dependencies>
232

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

    
247
            <plugin>
248
                <artifactId>maven-war-plugin</artifactId>
249
                <version>2.6</version>
250
                <configuration>
251
                    <failOnMissingWebXml>false</failOnMissingWebXml>
252
                </configuration>
253
            </plugin>
254

    
255

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

    
277

    
278

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

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

    
340

    
341
</project>
    (1-1/1)