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
		<dependency>
111
			<groupId>org.apache.solr</groupId>
112
			<artifactId>solr-solrj</artifactId>
113
			<version>${apache.solr.version}</version>
114
		</dependency>
115

    
116
		<dependency>
117
			<groupId>org.springframework.boot</groupId>
118
			<artifactId>spring-boot-starter-web</artifactId>
119
		</dependency>
120

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

    
161
		<dependency>
162
			<groupId>com.google.guava</groupId>
163
			<artifactId>guava</artifactId>
164
			<version>21.0</version>
165
		</dependency>
166
		<dependency>
167
			<groupId>net.sf.supercsv</groupId>
168
			<artifactId>super-csv</artifactId>
169
			<version>2.4.0</version>
170
		</dependency>
171
		<dependency>
172
			<groupId>com.google.code.gson</groupId>
173
			<artifactId>gson</artifactId>
174
			<version>2.8.0</version>
175
		</dependency>
176

    
177

    
178
		<dependency>
179
			<groupId>com.fasterxml.jackson.datatype</groupId>
180
			<artifactId>jackson-datatype-joda</artifactId>
181
			<version>2.6.6</version>
182
		</dependency>
183
		<dependency>
184
			<groupId>joda-time</groupId>
185
			<artifactId>joda-time</artifactId>
186
			<version>2.8.2</version>
187
		</dependency>
188

    
189
		<dependency>
190
			<groupId>org.mongodb</groupId>
191
			<artifactId>mongo-java-driver</artifactId>
192
			<version>${mongodb.driver.version}</version>
193
		</dependency>
194

    
195
		<dependency>
196
			<groupId>io.springfox</groupId>
197
			<artifactId>springfox-swagger2</artifactId>
198
			<version>${springfox-version}</version>
199
		</dependency>
200
		<dependency>
201
			<groupId>io.springfox</groupId>
202
			<artifactId>springfox-swagger-ui</artifactId>
203
			<version>${springfox-version}</version>
204
		</dependency>
205

    
206
		<!-- for /metrics and /health controllers -->
207
		<dependency>
208
			<groupId>io.prometheus</groupId>
209
			<artifactId>simpleclient_spring_boot</artifactId>
210
			<version>${prometheus.version}</version>
211
			<exclusions>
212
				<exclusion>
213
					<groupId>org.springframework</groupId>
214
					<artifactId>spring-web</artifactId>
215
				</exclusion>
216
			</exclusions>
217
		</dependency>
218
		<dependency>
219
			<groupId>io.prometheus</groupId>
220
			<artifactId>simpleclient_hotspot</artifactId>
221
			<version>${prometheus.version}</version>
222
		</dependency>
223
		<dependency>
224
			<groupId>io.prometheus</groupId>
225
			<artifactId>simpleclient_servlet</artifactId>
226
			<version>${prometheus.version}</version>
227
		</dependency>
228

    
229
		<dependency>
230
			<groupId>org.springframework.boot</groupId>
231
			<artifactId>spring-boot-starter-test</artifactId>
232
			<scope>test</scope>
233
		</dependency>
234

    
235
	</dependencies>
236

    
237
	<build>
238
		<plugins>
239
			<plugin>
240
				<groupId>org.springframework.boot</groupId>
241
				<artifactId>spring-boot-maven-plugin</artifactId>
242
				<configuration>
243
					<executable>true</executable>
244
				</configuration>
245
			</plugin>
246
		</plugins>
247
	</build>
248

    
249
	<properties>
250
		<java.version>1.8</java.version>
251
		<apache.solr.version>7.1.0</apache.solr.version>
252
		<mongodb.driver.version>3.4.2</mongodb.driver.version>
253
		<springfox-version>2.7.0</springfox-version>
254
		<prometheus.version>0.0.25</prometheus.version>
255
		<maven.javadoc.failOnError>false</maven.javadoc.failOnError>
256
	</properties>
257
</project>
(3-3/4)