Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
	<modelVersion>4.0.0</modelVersion>
4
	<groupId>eu.dnetlib</groupId>
5
	<artifactId>dnet-openaire-exporter</artifactId>
6
	<version>1.0.9-SNAPSHOT</version>
7
	<scm>
8
	  <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaire-exporter/trunk</developerConnection>
9
    </scm>
10
	<ciManagement>
11
		<system>jenkins</system>
12
		<url>https://jenkins-dnet.d4science.org/view/DNet45/job/DSL45_dnet-openaire-exporter/</url>
13
	</ciManagement>
14
	<distributionManagement>
15
		<repository>
16
			<id>dnet45-releases</id>
17
			<name>D-Net 45 Releases</name>
18
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases</url>
19
			<layout>default</layout>
20
		</repository>
21
	</distributionManagement>
22

    
23
	<!-- Inherit defaults from Spring Boot -->
24
	<parent>
25
		<groupId>org.springframework.boot</groupId>
26
		<artifactId>spring-boot-starter-parent</artifactId>
27
		<version>1.5.2.RELEASE</version>
28
	</parent>
29

    
30
	<repositories>
31
		<repository>
32
			<id>dnet-deps</id>
33
			<name>dnet-dependencies</name>
34
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet-deps</url>
35
			<layout>default</layout>
36
		</repository>
37
		<repository>
38
			<id>dnet45-releases</id>
39
			<name>D-Net 45 Releases</name>
40
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases</url>
41
			<layout>default</layout>
42
			<snapshots>
43
				<enabled>true</enabled>
44
			</snapshots>
45
		</repository>
46
	</repositories>
47
	<profiles>
48
		<profile>
49
			<id>java8-doclint-disabled</id>
50
			<activation>
51
				<jdk>[1.8,)</jdk>
52
			</activation>
53
			<properties>
54
				<javadoc.opts>-Xdoclint:none</javadoc.opts>
55
			</properties>
56
		</profile>
57
	</profiles>
58

    
59
	<!-- Add typical dependencies for a web application -->
60
	<dependencies>
61

    
62
		<dependency>
63
			<groupId>eu.dnetlib</groupId>
64
			<artifactId>cnr-rmi-api</artifactId>
65
			<version>[2.0.0,3.0.0)</version>
66
		</dependency>
67
		<dependency>
68
			<groupId>org.apache.cxf</groupId>
69
			<artifactId>cxf-rt-transports-http</artifactId>
70
			<version>3.1.5</version>
71
		</dependency>
72
		<dependency>
73
			<groupId>eu.dnetlib</groupId>
74
			<artifactId>cnr-service-common</artifactId>
75
			<version>[2.0.0,3.0.0)</version>
76
		</dependency>
77
		<dependency>
78
			<groupId>eu.dnetlib</groupId>
79
			<artifactId>dnet-openaireplus-mapping-utils</artifactId>
80
			<version>[6.0.0,7.0.0)</version>
81
			<exclusions>
82
				<exclusion>
83
					<groupId>com.sun.jersey</groupId>
84
					<artifactId>jersey-server</artifactId>
85
				</exclusion>
86
				<exclusion>
87
					<groupId>eu.dnetlib</groupId>
88
					<artifactId>dnet-hadoop-commons</artifactId>
89
				</exclusion>
90
			</exclusions>
91
		</dependency>
92

    
93
		<dependency>
94
			<groupId>org.springframework.boot</groupId>
95
			<artifactId>spring-boot-starter-web</artifactId>
96
		</dependency>
97

    
98
		<dependency>
99
			<groupId>org.springframework.boot</groupId>
100
			<artifactId>spring-boot-starter-jdbc</artifactId>
101
		</dependency>
102
		<dependency>
103
			<groupId>org.springframework.boot</groupId>
104
			<artifactId>spring-boot-starter-data-jpa</artifactId>
105
		</dependency>
106
		<dependency>
107
			<groupId>org.postgresql</groupId>
108
			<artifactId>postgresql</artifactId>
109
			<version>42.0.0</version>
110
		</dependency>
111
		<dependency>
112
			<groupId>org.apache.commons</groupId>
113
			<artifactId>commons-dbcp2</artifactId>
114
			<version>2.1</version>
115
		</dependency>
116
		<!-- TODO: migrate to stringtemplate4 -->
117
		<!--<dependency>-->
118
		<!--<groupId>org.antlr</groupId>-->
119
		<!--<artifactId>stringtemplate</artifactId>-->
120
		<!--<version>4.0.2</version>-->
121
		<!--</dependency>-->
122
		<dependency>
123
			<groupId>org.antlr</groupId>
124
			<artifactId>stringtemplate</artifactId>
125
			<version>3.2.1</version>
126
		</dependency>
127
		<dependency>
128
			<groupId>org.apache.commons</groupId>
129
			<artifactId>commons-lang3</artifactId>
130
			<version>3.5</version>
131
		</dependency>
132
		<dependency>
133
			<groupId>commons-io</groupId>
134
			<artifactId>commons-io</artifactId>
135
			<version>2.5</version>
136
		</dependency>
137

    
138
		<dependency>
139
			<groupId>com.google.guava</groupId>
140
			<artifactId>guava</artifactId>
141
			<version>21.0</version>
142
		</dependency>
143
		<dependency>
144
			<groupId>net.sf.supercsv</groupId>
145
			<artifactId>super-csv</artifactId>
146
			<version>2.4.0</version>
147
		</dependency>
148
		<dependency>
149
			<groupId>com.google.code.gson</groupId>
150
			<artifactId>gson</artifactId>
151
			<version>2.8.0</version>
152
		</dependency>
153

    
154

    
155
		<dependency>
156
			<groupId>com.fasterxml.jackson.datatype</groupId>
157
			<artifactId>jackson-datatype-joda</artifactId>
158
			<version>2.6.6</version>
159
		</dependency>
160
		<dependency>
161
			<groupId>joda-time</groupId>
162
			<artifactId>joda-time</artifactId>
163
			<version>2.8.2</version>
164
		</dependency>
165

    
166
		<dependency>
167
			<groupId>org.mongodb</groupId>
168
			<artifactId>mongo-java-driver</artifactId>
169
			<version>${mongodb.driver.version}</version>
170
		</dependency>
171

    
172
		<dependency>
173
			<groupId>io.springfox</groupId>
174
			<artifactId>springfox-swagger2</artifactId>
175
			<version>${springfox-version}</version>
176
		</dependency>
177
		<dependency>
178
			<groupId>io.springfox</groupId>
179
			<artifactId>springfox-swagger-ui</artifactId>
180
			<version>${springfox-version}</version>
181
		</dependency>
182

    
183
		<!-- for /metrics and /health controllers -->
184
		<dependency>
185
			<groupId>io.prometheus</groupId>
186
			<artifactId>simpleclient_spring_boot</artifactId>
187
			<version>${prometheus.version}</version>
188
			<exclusions>
189
				<exclusion>
190
					<groupId>org.springframework</groupId>
191
					<artifactId>spring-web</artifactId>
192
				</exclusion>
193
			</exclusions>
194
		</dependency>
195
		<dependency>
196
			<groupId>io.prometheus</groupId>
197
			<artifactId>simpleclient_hotspot</artifactId>
198
			<version>${prometheus.version}</version>
199
		</dependency>
200
		<dependency>
201
			<groupId>io.prometheus</groupId>
202
			<artifactId>simpleclient_servlet</artifactId>
203
			<version>${prometheus.version}</version>
204
		</dependency>
205

    
206
		<dependency>
207
			<groupId>org.springframework.boot</groupId>
208
			<artifactId>spring-boot-starter-test</artifactId>
209
			<scope>test</scope>
210
		</dependency>
211

    
212
	</dependencies>
213

    
214
	<build>
215
		<plugins>
216
			<plugin>
217
				<groupId>org.springframework.boot</groupId>
218
				<artifactId>spring-boot-maven-plugin</artifactId>
219
				<configuration>
220
					<executable>true</executable>
221
				</configuration>
222
			</plugin>
223
		</plugins>
224
	</build>
225

    
226
	<properties>
227
		<java.version>1.8</java.version>
228
		<mongodb.driver.version>3.4.2</mongodb.driver.version>
229
		<springfox-version>2.7.0</springfox-version>
230
		<prometheus.version>0.0.25</prometheus.version>
231
		<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
232
	</properties>
233
</project>
(3-3/4)