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.11-SNAPSHOT</version>
7
	<scm>
8
	  <developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaire-exporter/trunk</developerConnection>
9
      <url>https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/dnet-openaire-exporter</url>
10
  </scm>
11
	<ciManagement>
12
		<system>jenkins</system>
13
		<url>https://jenkins-dnet.d4science.org/view/DNet45/job/DSL45_dnet-openaire-exporter/</url>
14
	</ciManagement>
15
	<distributionManagement>
16
		<repository>
17
			<id>dnet45-releases</id>
18
			<name>D-Net 45 Releases</name>
19
			<url>http://maven.research-infrastructures.eu/nexus/content/repositories/dnet45-releases</url>
20
			<layout>default</layout>
21
		</repository>
22
	</distributionManagement>
23

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

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

    
69
	<!-- Add typical dependencies for a web application -->
70
	<dependencies>
71

    
72
		<dependency>
73
			<groupId>eu.dnetlib</groupId>
74
			<artifactId>cnr-rmi-api</artifactId>
75
			<version>[2.0.0,3.0.0)</version>
76
		</dependency>
77
		<dependency>
78
			<groupId>org.apache.cxf</groupId>
79
			<artifactId>cxf-rt-transports-http</artifactId>
80
			<version>3.1.5</version>
81
		</dependency>
82
		<dependency>
83
			<groupId>eu.dnetlib</groupId>
84
			<artifactId>cnr-service-common</artifactId>
85
			<version>[2.0.0,3.0.0)</version>
86
		</dependency>
87
		<dependency>
88
			<groupId>eu.dnetlib</groupId>
89
			<artifactId>dnet-openaireplus-mapping-utils</artifactId>
90
			<version>[6.0.0,7.0.0)</version>
91
			<exclusions>
92
				<exclusion>
93
					<groupId>com.sun.jersey</groupId>
94
					<artifactId>jersey-client</artifactId>
95
				</exclusion>
96
				<exclusion>
97
					<groupId>eu.dnetlib</groupId>
98
					<artifactId>dnet-hadoop-commons</artifactId>
99
				</exclusion>
100
				<exclusion>
101
					<groupId>eu.dnetlib</groupId>
102
					<artifactId>dnet-index-solr-common</artifactId>
103
				</exclusion>
104
				<exclusion>
105
					<groupId>org.apache.solr</groupId>
106
					<artifactId>solr-solrj</artifactId>
107
				</exclusion>
108
			</exclusions>
109
		</dependency>
110

    
111
		<dependency>
112
			<groupId>eu.dnetlib</groupId>
113
			<artifactId>dnet-objectstore-rmi</artifactId>
114
			<version>[2.0.0,3.0.0)</version>
115
		</dependency>
116

    
117
		<dependency>
118
			<groupId>org.apache.solr</groupId>
119
			<artifactId>solr-solrj</artifactId>
120
			<version>${apache.solr.version}</version>
121
		</dependency>
122

    
123
		<dependency>
124
			<groupId>org.springframework.boot</groupId>
125
			<artifactId>spring-boot-starter-web</artifactId>
126
		</dependency>
127

    
128
		<dependency>
129
			<groupId>org.springframework.boot</groupId>
130
			<artifactId>spring-boot-starter-jdbc</artifactId>
131
		</dependency>
132
		<dependency>
133
			<groupId>org.springframework.boot</groupId>
134
			<artifactId>spring-boot-starter-data-jpa</artifactId>
135
		</dependency>
136
		<dependency>
137
			<groupId>org.postgresql</groupId>
138
			<artifactId>postgresql</artifactId>
139
			<version>42.0.0</version>
140
		</dependency>
141
		<dependency>
142
			<groupId>org.apache.commons</groupId>
143
			<artifactId>commons-dbcp2</artifactId>
144
			<version>2.1</version>
145
		</dependency>
146
		<!-- TODO: migrate to stringtemplate4 -->
147
		<!--<dependency>-->
148
		<!--<groupId>org.antlr</groupId>-->
149
		<!--<artifactId>stringtemplate</artifactId>-->
150
		<!--<version>4.0.2</version>-->
151
		<!--</dependency>-->
152
		<dependency>
153
			<groupId>org.antlr</groupId>
154
			<artifactId>stringtemplate</artifactId>
155
			<version>3.2.1</version>
156
		</dependency>
157
		<dependency>
158
			<groupId>org.apache.commons</groupId>
159
			<artifactId>commons-lang3</artifactId>
160
			<version>3.5</version>
161
		</dependency>
162
		<dependency>
163
			<groupId>commons-io</groupId>
164
			<artifactId>commons-io</artifactId>
165
			<version>2.5</version>
166
		</dependency>
167

    
168
		<dependency>
169
			<groupId>com.google.guava</groupId>
170
			<artifactId>guava</artifactId>
171
			<version>${google.guava.version}</version>
172
		</dependency>
173
		<dependency>
174
			<groupId>net.sf.supercsv</groupId>
175
			<artifactId>super-csv</artifactId>
176
			<version>2.4.0</version>
177
		</dependency>
178
		<dependency>
179
			<groupId>com.google.code.gson</groupId>
180
			<artifactId>gson</artifactId>
181
			<version>${google.gson.version}</version>
182
		</dependency>
183

    
184

    
185
		<dependency>
186
			<groupId>com.fasterxml.jackson.datatype</groupId>
187
			<artifactId>jackson-datatype-joda</artifactId>
188
			<version>2.6.6</version>
189
		</dependency>
190
		<dependency>
191
			<groupId>joda-time</groupId>
192
			<artifactId>joda-time</artifactId>
193
			<version>2.8.2</version>
194
		</dependency>
195

    
196
		<dependency>
197
			<groupId>org.mongodb</groupId>
198
			<artifactId>mongo-java-driver</artifactId>
199
			<version>${mongodb.driver.version}</version>
200
		</dependency>
201

    
202
		<dependency>
203
			<groupId>io.springfox</groupId>
204
			<artifactId>springfox-swagger2</artifactId>
205
			<version>${springfox-version}</version>
206
		</dependency>
207
		<dependency>
208
			<groupId>io.springfox</groupId>
209
			<artifactId>springfox-swagger-ui</artifactId>
210
			<version>${springfox-version}</version>
211
		</dependency>
212

    
213
		<!-- for /metrics and /health controllers -->
214
		<dependency>
215
			<groupId>io.prometheus</groupId>
216
			<artifactId>simpleclient_spring_boot</artifactId>
217
			<version>${prometheus.version}</version>
218
			<exclusions>
219
				<exclusion>
220
					<groupId>org.springframework</groupId>
221
					<artifactId>spring-web</artifactId>
222
				</exclusion>
223
			</exclusions>
224
		</dependency>
225
		<dependency>
226
			<groupId>io.prometheus</groupId>
227
			<artifactId>simpleclient_hotspot</artifactId>
228
			<version>${prometheus.version}</version>
229
		</dependency>
230
		<dependency>
231
			<groupId>io.prometheus</groupId>
232
			<artifactId>simpleclient_servlet</artifactId>
233
			<version>${prometheus.version}</version>
234
		</dependency>
235

    
236
		<dependency>
237
			<groupId>org.springframework.boot</groupId>
238
			<artifactId>spring-boot-starter-test</artifactId>
239
			<scope>test</scope>
240
		</dependency>
241

    
242
	</dependencies>
243

    
244
	<build>
245
		<plugins>
246
			<plugin>
247
				<groupId>org.springframework.boot</groupId>
248
				<artifactId>spring-boot-maven-plugin</artifactId>
249
				<configuration>
250
					<executable>true</executable>
251
				</configuration>
252
			</plugin>
253
		</plugins>
254
	</build>
255

    
256
	<properties>
257
		<java.version>1.8</java.version>
258
		<apache.solr.version>7.1.0</apache.solr.version>
259
		<google.guava.version>23.3-jre</google.guava.version>
260
		<google.gson.version>2.8.0</google.gson.version>
261
		<mongodb.driver.version>3.4.2</mongodb.driver.version>
262
		<springfox-version>2.7.0</springfox-version>
263
		<prometheus.version>0.0.25</prometheus.version>
264
		<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
265
	</properties>
266
</project>
(3-3/4)