pom.xml 27.4 KB
Newer Older
Matija Obreza's avatar
REST  
Matija Obreza committed
1
<?xml version="1.0" encoding="UTF-8"?>
Matija Obreza's avatar
Matija Obreza committed
2
<!--
Matija Obreza's avatar
Matija Obreza committed
3 4 5 6 7 8 9 10 11 12 13 14 15
	Copyright 2014 Global Crop Diversity Trust

	Licensed under the Apache License, Version 2.0 (the "License");
	you may not use this file except in compliance with the License.
	You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

	Unless required by applicable law or agreed to in writing, software
	distributed under the License is distributed on an "AS IS" BASIS,
	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	See the License for the specific language governing permissions and
	limitations under the License.
Matija Obreza's avatar
Matija Obreza committed
16 17
-->

Matija Obreza's avatar
Matija Obreza committed
18
<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">
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
19 20
	<modelVersion>4.0.0</modelVersion>

Matija Obreza's avatar
Matija Obreza committed
21
	<groupId>org.genesys-pgr</groupId>
Matija Obreza's avatar
Matija Obreza committed
22
	<artifactId>genesys2-server</artifactId>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
23

Matija Obreza's avatar
Matija Obreza committed
24
	<name>Genesys 2 Server</name>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
25
	<packaging>war</packaging>
Matija Obreza's avatar
Matija Obreza committed
26
	<version>2.3</version>
Matija Obreza's avatar
Matija Obreza committed
27 28
	<url>https://www.genesys-pgr.org</url>
	<description>Genesys 2 Server</description>
29

Matija Obreza's avatar
Matija Obreza committed
30 31 32 33 34 35 36 37
	<licenses>
		<license>
			<name>The Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<scm>
38 39 40
		<connection>https://gitlab.croptrust.org/genesys-pgr/genesys-server.git</connection>
		<developerConnection>scm:git:git@gitlab.croptrust.org:genesys-pgr/genesys-server.git</developerConnection>
		<url>git@gitlab.croptrust.org:genesys-pgr/genesys-server.git</url>
Matija Obreza's avatar
Matija Obreza committed
41
		<tag>genesys2-server-2.3</tag>
42
	</scm>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
43

Matija Obreza's avatar
Matija Obreza committed
44 45
	<organization>
		<name>Global Crop Diversity Trust</name>
46
		<url>https://www.croptrust.org</url>
Matija Obreza's avatar
Matija Obreza committed
47
	</organization>
48

Matija Obreza's avatar
Matija Obreza committed
49
	<issueManagement>
50
		<url>https://bitbucket.org/genesys2/issues/issues</url>
Matija Obreza's avatar
Matija Obreza committed
51
	</issueManagement>
52

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
53
	<properties>
Matija Obreza's avatar
Matija Obreza committed
54
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Matija Obreza's avatar
Java 8  
Matija Obreza committed
55 56
		<jdk.target>1.8</jdk.target>
		<jdk.source>1.8</jdk.source>
Matija Obreza's avatar
Matija Obreza committed
57
		<show.deprecations>true</show.deprecations>
Matija Obreza's avatar
Matija Obreza committed
58
		<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
59

Matija Obreza's avatar
Matija Obreza committed
60
		<junit.version>4.12</junit.version>
61
		<application.blocks.version>1.5-SNAPSHOT</application.blocks.version>
Matija Obreza's avatar
Matija Obreza committed
62
		<commons.beanutils.version>1.9.2</commons.beanutils.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
63 64
		<commons.collections.version>3.2.1</commons.collections.version>
		<commons.io.version>2.4</commons.io.version>
Matija Obreza's avatar
Matija Obreza committed
65
		<commons.lang.version>3.7</commons.lang.version>
Matija Obreza's avatar
Matija Obreza committed
66
		<commons.logging.version>1.2</commons.logging.version>
67
		<commons.validator.version>1.4.0</commons.validator.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
68 69 70 71 72

		<jstl.version>1.2</jstl.version>
		<servlet-api.version>2.5</servlet-api.version>
		<jsp-api.version>2.1</jsp-api.version>

Matija Obreza's avatar
Matija Obreza committed
73 74 75 76
		<spring.framework.version>4.3.18.RELEASE</spring.framework.version>
		<spring-data-jpa.version>1.11.13.RELEASE</spring-data-jpa.version>
		<spring.security.version>4.1.5.RELEASE</spring.security.version>
		<spring.security.oauth2.version>2.3.3.RELEASE</spring.security.oauth2.version>
Alexander Prendetskiy's avatar
Alexander Prendetskiy committed
77
		<spring-security-jwt>1.0.8.RELEASE</spring-security-jwt>
Matija Obreza's avatar
Matija Obreza committed
78 79
		<org.springframework.social-version>1.1.4.RELEASE</org.springframework.social-version>
		<org.springframework.social-google-version>1.0.0.RELEASE</org.springframework.social-google-version>
80
		<querydsl.version>4.1.4</querydsl.version>
Matija Obreza's avatar
Matija Obreza committed
81 82

		<hibernate.version>4.3.11.Final</hibernate.version>
83
		<hsqldb.version>2.3.6</hsqldb.version>
84
		<ehcache.version>2.7.4</ehcache.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
85

Matija Obreza's avatar
Matija Obreza committed
86
		<slf4j.version>1.7.25</slf4j.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
87

Matija Obreza's avatar
Matija Obreza committed
88
		<aspectj.version>1.8.9</aspectj.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
89

Matija Obreza's avatar
Matija Obreza committed
90
		<mysql.version>5.1.46</mysql.version>
91
		<hazelcast.version>3.8.1</hazelcast.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
92 93

		<oval.version>1.81</oval.version>
Matija Obreza's avatar
Matija Obreza committed
94
		<jackson.version>2.9.6</jackson.version>
Matija Obreza's avatar
Matija Obreza committed
95
		<jaxb-api.version>2.2.12</jaxb-api.version>
Matija Obreza's avatar
Matija Obreza committed
96
		<liquibase.version>3.6</liquibase.version>
Matija Obreza's avatar
Matija Obreza committed
97
		<swagger.version>2.9.2</swagger.version>
Matija Obreza's avatar
Matija Obreza committed
98

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
99
		<!--Container -->
Matija Obreza's avatar
Matija Obreza committed
100
		<jetty.version>9.4.11.v20180605</jetty.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
101 102 103

		<maven.test.skip>false</maven.test.skip>

Matija Obreza's avatar
Matija Obreza committed
104
		<war.name>genesys2</war.name>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
	</properties>

	<dependencies>

		<dependency>
			<groupId>commons-beanutils</groupId>
			<artifactId>commons-beanutils</artifactId>
			<version>${commons.beanutils.version}</version>
		</dependency>

		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>${commons.io.version}</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
120
		
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
121 122 123
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
Matija Obreza's avatar
Matija Obreza committed
124 125 126
			<version>2.6</version>
		</dependency>

127 128 129 130 131 132
		<dependency>
		   <groupId>org.apache.commons</groupId>
		   <artifactId>commons-text</artifactId>
		   <version>1.4</version>
		</dependency>

Matija Obreza's avatar
Matija Obreza committed
133 134 135
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-lang3</artifactId>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
136 137 138 139 140 141 142
			<version>${commons.lang.version}</version>
		</dependency>

		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>${commons.logging.version}</version>
Matija Obreza's avatar
Matija Obreza committed
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
			<!-- Embedded in jcl-over-slf4j -->
			<scope>provided</scope>
		</dependency>
	
		<dependency>
			<groupId>aopalliance</groupId>
			<artifactId>aopalliance</artifactId>
			<version>1.0</version>
			<!-- Embedded in spring-aop -->
			<scope>provided</scope>
		</dependency>
		
		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjrt</artifactId>
			<version>${aspectj.version}</version>
			<!--  Embedded in aspectjweaver -->
			<scope>provided</scope>
		</dependency>
		
		<dependency>
			<groupId>stax</groupId>
			<artifactId>stax-api</artifactId>
			<version>1.0.1</version>
			<!--  JDK 1.6 -->
			<scope>provided</scope>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
169
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
170

Matija Obreza's avatar
DS2  
Matija Obreza committed
171
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
172 173 174 175
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.10</version>
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
176

177 178 179 180 181 182
		<dependency>
			<groupId>commons-validator</groupId>
			<artifactId>commons-validator</artifactId>
			<version>${commons.validator.version}</version>
		</dependency>

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
183 184 185 186 187 188 189 190 191 192 193 194 195
		<!-- Logging dependencies -->
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>${slf4j.version}</version>
		</dependency>

		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<version>${slf4j.version}</version>
		</dependency>

Matija Obreza's avatar
Matija Obreza committed
196 197 198 199 200 201
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>jcl-over-slf4j</artifactId>
			<version>${slf4j.version}</version>
		</dependency>

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
202
		<!--Servlet and portal dependencies -->
203
		<dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
204
			<groupId>javax.servlet.jsp</groupId>
205 206
			<artifactId>javax.servlet.jsp-api</artifactId>
			<version>2.3.1</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
207
			<scope>provided</scope>
208 209
		</dependency>
		<dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
210
			<groupId>javax.servlet</groupId>
211 212
			<artifactId>javax.servlet-api</artifactId>
			<version>3.1.0</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
213
			<scope>provided</scope>
214
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
215 216 217 218 219

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jstl</artifactId>
			<version>${jstl.version}</version>
220
			<scope>provided</scope>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
221 222 223 224 225 226 227 228 229
		</dependency>

		<dependency>
			<groupId>javax.annotation</groupId>
			<artifactId>jsr250-api</artifactId>
			<version>1.0</version>
			<scope>provided</scope>
		</dependency>

Matija Obreza's avatar
Matija Obreza committed
230 231 232 233 234 235 236 237 238 239 240 241 242
		<dependency>
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-annotations</artifactId>
			<version>${jackson.version}</version>
		</dependency>

		<dependency>
			<groupId>com.fasterxml.jackson.datatype</groupId>
			<artifactId>jackson-datatype-hibernate4</artifactId>
			<version>${jackson.version}</version>
		</dependency>
		

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
243 244 245 246 247
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aop</artifactId>
			<version>${spring.framework.version}</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
248

Matija Obreza's avatar
Matija Obreza committed
249 250 251 252 253
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aspects</artifactId>
			<version>${spring.framework.version}</version>
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context-support</artifactId>
			<version>${spring.framework.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-orm</artifactId>
			<version>${spring.framework.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-tx</artifactId>
			<version>${spring.framework.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
			<version>${spring.framework.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-config</artifactId>
			<version>${spring.security.version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-taglibs</artifactId>
			<version>${spring.security.version}</version>
		</dependency>

291
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
292 293
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-jpa</artifactId>
294
			<version>${spring-data-jpa.version}</version>
295 296
		</dependency>

Alexander Prendetskiy's avatar
Alexander Prendetskiy committed
297 298 299 300 301 302
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-jwt</artifactId>
			<version>${spring-security-jwt}</version>
		</dependency>

Alexander Prendetskiy's avatar
Alexander Prendetskiy committed
303 304 305 306 307 308 309
		<dependency>
			<groupId>org.springframework.security</groupId>
			<artifactId>spring-security-test</artifactId>
			<version>${spring.security.version}</version>
			<scope>test</scope>
		</dependency>

310 311 312 313 314 315
		<dependency>
			<groupId>com.querydsl</groupId>
			<artifactId>querydsl-jpa</artifactId>
			<version>${querydsl.version}</version>
		</dependency>

Matija Obreza's avatar
Matija Obreza committed
316 317 318 319 320
		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-swagger2</artifactId>
			<version>${swagger.version}</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
321

Matija Obreza's avatar
Matija Obreza committed
322 323 324 325 326
		<dependency>
			<groupId>io.springfox</groupId>
			<artifactId>springfox-swagger-ui</artifactId>
			<version>${swagger.version}</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
327

328 329 330 331 332 333 334 335 336 337 338
		<!-- App blocks -->
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>application-blocks-auditlog</artifactId>
			<version>${application.blocks.version}</version>
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>application-blocks-security</artifactId>
			<version>${application.blocks.version}</version>
		</dependency>
339

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
340

341
		<!-- Hibernate dependencies -->
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368

		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-entitymanager</artifactId>
			<version>${hibernate.version}</version>
		</dependency>

		<dependency>
			<groupId>org.hsqldb</groupId>
			<artifactId>hsqldb</artifactId>
			<version>${hsqldb.version}</version>
		</dependency>

		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>${mysql.version}</version>
		</dependency>

		<!--Other dependencies -->

		<dependency>
			<groupId>net.sf.oval</groupId>
			<artifactId>oval</artifactId>
			<version>${oval.version}</version>
		</dependency>

Matija Obreza's avatar
Matija Obreza committed
369 370 371 372 373
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>${jaxb-api.version}</version>
			<scope>runtime</scope>
374
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
375

Matija Obreza's avatar
Matija Obreza committed
376 377 378
		<dependency>
			<groupId>org.sitemesh</groupId>
			<artifactId>sitemesh</artifactId>
Matija Obreza's avatar
Matija Obreza committed
379
			<version>3.0.1</version>
Matija Obreza's avatar
Matija Obreza committed
380
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
381 382 383 384 385
		<dependency>
			<groupId>org.apache.tomcat</groupId>
			<artifactId>tomcat-jdbc</artifactId>
			<version>7.0.42</version>
		</dependency>
386 387 388 389 390
		<dependency>
			<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
			<artifactId>owasp-java-html-sanitizer</artifactId>
			<version>r209</version>
		</dependency>
391
		<dependency>
392 393 394
			<groupId>org.springframework.security.oauth</groupId>
			<artifactId>spring-security-oauth2</artifactId>
			<version>${spring.security.oauth2.version}</version>
395
		</dependency>
396 397 398
		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
Matija Obreza's avatar
Matija Obreza committed
399
			<version>2.9.3</version>
400
		</dependency>
401 402 403 404 405
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-collections4</artifactId>
			<version>4.0</version>
		</dependency>
406 407 408 409 410 411 412 413 414 415
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
			<version>1.5.0-b01</version>
		</dependency>
		<dependency>
			<groupId>org.apache.velocity</groupId>
			<artifactId>velocity</artifactId>
			<version>1.7</version>
		</dependency>
416 417 418
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-spring</artifactId>
419
			<version>${hazelcast.version}</version>
420
		</dependency>
421 422 423 424
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-hibernate4</artifactId>
			<version>${hazelcast.version}</version>
425 426 427 428
		</dependency>
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-wm</artifactId>
429
			<version>${hazelcast.version}</version>
430
		</dependency>
431 432


Matija Obreza's avatar
Matija Obreza committed
433

434 435 436 437 438 439
		<dependency>
			<groupId>org.jamel.dbf</groupId>
			<artifactId>dbf-reader</artifactId>
			<version>0.1.0</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
440 441 442 443 444 445
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-servlets</artifactId>
			<version>${jetty.version}</version>
			<scope>runtime</scope>
		</dependency>
446 447 448 449 450 451
		
		<dependency>
			<groupId>org.elasticsearch</groupId>
			<artifactId>elasticsearch</artifactId>
			<version>2.4.6</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
452 453 454
		<dependency>
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-elasticsearch</artifactId>
455
			<version>2.1.15.RELEASE</version>
Matija Obreza's avatar
Matija Obreza committed
456
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
457

Matija Obreza's avatar
Matija Obreza committed
458 459 460 461 462
		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<version>1.4.01</version>
		</dependency>
463 464 465 466 467
		<dependency>
			<groupId>org.tuckey</groupId>
			<artifactId>urlrewritefilter</artifactId>
			<version>4.0.4</version>
		</dependency>
468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486

		<dependency>
			<groupId>org.apache.poi</groupId>
			<artifactId>poi-ooxml</artifactId>
			<version>3.10.1</version>
		</dependency>
		<dependency>
			<groupId>org.ocpsoft.prettytime</groupId>
			<artifactId>prettytime</artifactId>
			<version>3.2.5.Final</version>
		</dependency>
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<version>4.3.6</version>
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>transifex-client</artifactId>
487
			<version>0.5</version>
488 489 490 491
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>worldclim-reader</artifactId>
492
			<version>0.0.4</version>
493 494 495 496
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>pgr-ontology-model</artifactId>
497
			<version>0.7.1</version>
498
		</dependency>
499 500
		<dependency>
			<groupId>org.genesys-pgr</groupId>
Matija Obreza's avatar
Matija Obreza committed
501
			<artifactId>file-repository-ftpserver</artifactId>
502
			<version>1.1-SNAPSHOT</version>
503
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
504 505 506 507 508
		<dependency>
			<groupId>org.freemarker</groupId>
			<artifactId>freemarker</artifactId>
			<version>2.3.23</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
509 510 511
		<dependency>
			<groupId>org.jsoup</groupId>
			<artifactId>jsoup</artifactId>
Matija Obreza's avatar
Matija Obreza committed
512
			<version>1.8.3</version>
Matija Obreza's avatar
Matija Obreza committed
513
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
514 515 516 517 518
		<dependency>
			<groupId>com.opencsv</groupId>
			<artifactId>opencsv</artifactId>
			<version>3.7</version>
		</dependency>
519
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
520 521
			<groupId>org.liquibase.ext</groupId>
			<artifactId>liquibase-hibernate4</artifactId>
522
			<version>${liquibase.version}</version>
Matija Obreza's avatar
Matija Obreza committed
523 524 525 526 527 528
			<exclusions>
				<exclusion>
					<groupId>org.hibernate.javax.persistence</groupId>
					<artifactId>hibernate-jpa-2.0-api</artifactId>
				</exclusion>
			</exclusions>
529
		</dependency>
530 531 532
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>glis-client-resttemplate</artifactId>
533
			<version>1.1.1</version>
534
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
535 536 537 538 539
		<dependency>
			<groupId>org.apache-extras.beanshell</groupId>
			<artifactId>bsh</artifactId>
			<version>2.0b6</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
540 541 542 543 544 545 546 547 548 549
		<dependency>
			<groupId>com.vladsch.flexmark</groupId>
			<artifactId>flexmark-all</artifactId>
			<version>0.28.34</version>
		</dependency>
		<dependency>
			<groupId>com.vdurmont</groupId>
			<artifactId>semver4j</artifactId>
			<version>2.2.0</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575

		<dependency>
			<groupId>org.springframework.social</groupId>
			<artifactId>spring-social-google</artifactId>
			<version>${org.springframework.social-google-version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.social</groupId>
			<artifactId>spring-social-web</artifactId>
			<version>${org.springframework.social-version}</version>
		</dependency>

		<dependency>
			<groupId>org.springframework.social</groupId>
			<artifactId>spring-social-core</artifactId>
			<version>${org.springframework.social-version}</version>
		</dependency>

		<!--Test dependencies -->
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-library</artifactId>
			<version>1.3</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
576 577 578 579 580 581 582 583 584 585 586 587
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<version>2.19.0</version>
			<scope>test</scope>
		</dependency>		
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605
		<dependency>
			<groupId>org.springframework.restdocs</groupId>
			<artifactId>spring-restdocs-mockmvc</artifactId>
			<version>1.2.4.RELEASE</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.jayway.jsonpath</groupId>
			<artifactId>json-path</artifactId>
			<version>2.0.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
			<version>${spring.framework.version}</version>
			<scope>test</scope>
		</dependency>
606 607 608 609 610
		<dependency>
			<groupId>net.java.dev.jna</groupId>
			<artifactId>jna</artifactId>
			<version>4.5.2</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
611
	</dependencies>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
612 613 614

	<build>
		<plugins>
615 616 617 618 619 620 621 622 623 624 625 626 627
			<plugin>
				<groupId>com.mysema.maven</groupId>
				<artifactId>apt-maven-plugin</artifactId>
				<version>1.1.3</version>
				<executions>
					<execution>
						<goals>
							<goal>process</goal>
						</goals>
						<configuration>
							<includes>
								<!-- List packages to be processed -->
								<include>org.genesys2.server.model</include>
Matija Obreza's avatar
Matija Obreza committed
628
								<include>org.genesys2.server.model.*</include>
629 630
                                <include>org.genesys.catalog.model</include>
                                <include>org.genesys.catalog.model.*</include>
631 632 633 634 635 636 637 638 639 640 641 642 643 644
							</includes>
							<outputDirectory>target/generated-sources/querydsl</outputDirectory>
							<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
						</configuration>
					</execution>
				</executions>
				<dependencies>
					<dependency>
						<groupId>com.querydsl</groupId>
						<artifactId>querydsl-apt</artifactId>
						<version>4.1.4</version>
					</dependency>
				</dependencies>
			</plugin>
645 646 647 648 649
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>versions-maven-plugin</artifactId>
				<version>2.2</version>
			</plugin>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
650 651 652
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-resources-plugin</artifactId>
653
				<version>2.7</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
654 655
				<configuration>
					<encoding>UTF-8</encoding>
656
					<detail>true</detail>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
657 658
				</configuration>
			</plugin>
659 660 661
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
662
				<version>1.3</version>
663 664 665 666 667 668 669 670 671
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>create</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
Matija Obreza's avatar
Matija Obreza committed
672
					<!-- first check to see if you have locally modified files, and will
673 674 675 676 677
						fail if there are any. -->
					<doCheck>false</doCheck>
					<doUpdate>false</doUpdate>
				</configuration>
			</plugin>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
678 679 680
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-compiler-plugin</artifactId>
681
				<version>3.3</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
682 683 684
				<configuration>
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
Matija Obreza's avatar
Matija Obreza committed
685
					<optimize>true</optimize>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
686 687
					<showDeprecation>${show.deprecations}</showDeprecation>
					<showWarnings>true</showWarnings>
Matija Obreza's avatar
Matija Obreza committed
688
					<failOnError>true</failOnError>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
689 690
				</configuration>
			</plugin>
691
			<plugin>
692 693
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
694
				<version>2.19.1</version>
695 696
				<configuration>
					<forkMode>once</forkMode>
697
					<argLine>-Xms512m -Xmx1024m -server</argLine>
698 699 700 701
					<testFailureIgnore>false</testFailureIgnore>
				</configuration>
			</plugin>
			<plugin>
702 703 704
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId>
				<version>${jetty.version}</version>
Matija Obreza's avatar
Matija Obreza committed
705
				<configuration>
706 707 708
					<httpConnector>
						<port>8080</port>
					</httpConnector>
709
					<stopPort>8998</stopPort>
Matija Obreza's avatar
Matija Obreza committed
710
					<stopKey>stop</stopKey>
Matija Obreza's avatar
Matija Obreza committed
711
					<jvmArgs>-Dspring.profiles.active=dev -Xmx2048M -Xms1024M -XX:MaxPermSize=128M -Djava.awt.headless=true -server -Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000</jvmArgs>
Matija Obreza's avatar
Matija Obreza committed
712
				</configuration>
713
			</plugin>
714
			<plugin>
715 716
				<groupId>com.github.eirslett</groupId>
				<artifactId>frontend-maven-plugin</artifactId>
717
				<version>1.4</version>
718 719
				<executions>
					<execution>
720 721 722 723 724
						<id>install node and npm</id>
						<goals>
							<goal>install-node-and-npm</goal>
						</goals>
						<configuration>
725 726
							<nodeVersion>v10.7.0</nodeVersion>
							<npmVersion>6.1.0</npmVersion>
727 728 729
						</configuration>
					</execution>
					<execution>
Matija Obreza's avatar
Matija Obreza committed
730
						<id>npm-install</id>
731 732 733 734 735 736 737 738
						<goals>
							<goal>npm</goal>
						</goals>
						<configuration>
							<arguments>install</arguments>
						</configuration>
					</execution>
					<execution>
739
						<id>grunt-build</id>
740
						<goals>
Matija Obreza's avatar
Matija Obreza committed
741
							<goal>grunt</goal>
742
						</goals>
743
						<phase>generate-resources</phase>
744
						<configuration>
Matija Obreza's avatar
Matija Obreza committed
745
							<arguments>--no-color --buildNumber=${buildNumber}</arguments>
746 747 748 749 750
							<srcdir>${basedir}/src/main/sourceapp</srcdir>
							<outputdir>${basedir}/src/main/webapp/html</outputdir>
							<triggerfiles>
								<triggerfile>Gruntfile.js</triggerfile>
								<triggerfile>package.json</triggerfile>
751
								<triggerfile>src/main/sourceapp/**</triggerfile>
752 753
							</triggerfiles>
						</configuration>
754 755 756
					</execution>
				</executions>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
757 758 759
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
760
				<version>2.5.3</version>
Matija Obreza's avatar
Matija Obreza committed
761 762 763 764
				<configuration>
					<pushChanges>false</pushChanges>
				</configuration>
			</plugin>
765 766 767 768 769 770 771 772 773 774 775 776 777 778
			<plugin>
				<artifactId>maven-clean-plugin</artifactId>
				<version>3.0.0</version>
				<configuration>
					<filesets>
						<fileset>
							<directory>node_modules</directory>
						</fileset>
						<fileset>
							<directory>node</directory>
						</fileset>
					</filesets>
				</configuration>
			</plugin>
779 780 781
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
Matija Obreza's avatar
Matija Obreza committed
782
				<version>2.6</version>
783
				<configuration>
Matija Obreza's avatar
Matija Obreza committed
784 785
					<!-- Let's require web.xml (JSP UTF8 compilation) -->
					<failOnMissingWebXml>true</failOnMissingWebXml>
786 787
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
788 789 790
			<plugin>
				<groupId>org.asciidoctor</groupId>
				<artifactId>asciidoctor-maven-plugin</artifactId>
791
				<version>1.5.3</version>
Matija Obreza's avatar
Matija Obreza committed
792 793 794
				<executions>
					<execution>
						<id>output-html</id>
795
						<phase>prepare-package</phase>
Matija Obreza's avatar
Matija Obreza committed
796 797 798 799 800
						<goals>
							<goal>process-asciidoc</goal>
						</goals>
						<configuration>
							<backend>html5</backend>
Matija Obreza's avatar
Matija Obreza committed
801
							<doctype>book</doctype>
Matija Obreza's avatar
Matija Obreza committed
802 803
							<sourceHighlighter>coderay</sourceHighlighter>
							<attributes>
Matija Obreza's avatar
/1/ GUI  
Matija Obreza committed
804
								<stylesheet>${basedir}/src/main/webapp/html/1/styles/ascii-doc.css</stylesheet>
Matija Obreza's avatar
Matija Obreza committed
805 806
								<copycss>true</copycss>
								<!-- <linkcss /> -->
Matija Obreza's avatar
Matija Obreza committed
807 808 809 810 811 812 813 814 815
								<toc>left</toc>
								<icons>font</icons>
								<sectanchors>true</sectanchors>
								<idprefix />
								<idseparator>-</idseparator>
								<docinfo1>true</docinfo1>
							</attributes>
						</configuration>
					</execution>
Matija Obreza's avatar
Matija Obreza committed
816
					<!-- <execution>
Matija Obreza's avatar
Matija Obreza committed
817 818 819
						<id>output-docbook</id>
						<phase>generate-resources</phase>
						<goals>
Matija Obreza's avatar
Matija Obreza committed
820
						<goal>process-asciidoc</goal>
Matija Obreza's avatar
Matija Obreza committed
821 822
						</goals>
						<configuration>
Matija Obreza's avatar
Matija Obreza committed
823 824
						<backend>docbook</backend>
						<doctype>book</doctype>
Matija Obreza's avatar
Matija Obreza committed
825
						</configuration>
Matija Obreza's avatar
Matija Obreza committed
826
						</execution> -->
Matija Obreza's avatar
Matija Obreza committed
827 828 829
				</executions>
				<configuration>
					<sourceDirectory>src/main/asciidoc</sourceDirectory>
830
					<outputDirectory>${project.build.outputDirectory}/docs</outputDirectory>
Matija Obreza's avatar
Matija Obreza committed
831 832 833 834 835
					<preserveDirectories>true</preserveDirectories>
					<headerFooter>true</headerFooter>
					<numbered>true</numbered>
					<!-- <imagesDir>images</imagesDir> -->
					<attributes>
Matija Obreza's avatar
Matija Obreza committed
836 837 838 839
						<buildNumber>${buildNumber}</buildNumber>
						<projectArtifact>${project.artifactId}</projectArtifact>
						<projectVersion>${project.version}</projectVersion>
						<snippets>${snippetsDirectory}</snippets>
Matija Obreza's avatar
Matija Obreza committed
840 841 842
					</attributes>
				</configuration>
			</plugin>
843
			 <plugin>
844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>license-maven-plugin</artifactId>
				<version>1.9</version>
				<executions>
					<execution>
						<id>license-download</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>download-licenses</goal>
						</goals>
					</execution>
					<execution>
						<id>license-third-party</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>add-third-party</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<sortArtifactByName>true</sortArtifactByName>
				</configuration>
866
			</plugin>
867 868 869
			<plugin>
				<groupId>org.liquibase</groupId>
				<artifactId>liquibase-maven-plugin</artifactId>
870
				<version>${liquibase.version}.2</version>
871 872
				<configuration>
					<propertyFile>src/main/resources/liquibase.properties</propertyFile>
Matija Obreza's avatar
Matija Obreza committed
873
					<verbose>true</verbose>
874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897
				</configuration>
				<dependencies>
					<dependency>
						<groupId>org.liquibase.ext</groupId>
						<artifactId>liquibase-hibernate4</artifactId>
						<version>3.6</version>
					</dependency>
					<dependency>
						<groupId>org.springframework</groupId>
						<artifactId>spring-beans</artifactId>
						<version>${spring.framework.version}</version>
					</dependency>
					<dependency>
						<groupId>org.springframework</groupId>
						<artifactId>spring-aspects</artifactId>
						<version>${spring.framework.version}</version>
					</dependency>
					<dependency>
						<groupId>org.springframework.data</groupId>
						<artifactId>spring-data-jpa</artifactId>
						<version>${spring-data-jpa.version}</version>
					</dependency>
				</dependencies>
			</plugin>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
898
		</plugins>
899 900 901 902 903 904 905 906 907 908 909 910
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>false</filtering>
			</resource>
			<resource>
				<directory>src/main/resources</directory>
				<includes>
					<include>application.properties</include>
				</includes>
				<filtering>true</filtering>
			</resource>
911 912 913 914
			<resource>
				<directory>${project.build.directory}/generated-resources</directory>
				<filtering>false</filtering>
			</resource>
915
		</resources>
Matija Obreza's avatar
Matija Obreza committed
916 917
		<pluginManagement>
			<plugins>
Matija Obreza's avatar
Matija Obreza committed
918
				<!--This plugin's configuration is used to store Eclipse m2e settings
919
					only. It has no influence on the Maven build itself. -->
Matija Obreza's avatar
Matija Obreza committed
920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											net.alchim31.maven
										</groupId>
										<artifactId>
											yuicompressor-maven-plugin
										</artifactId>
										<versionRange>
											[1.4.0,)
										</versionRange>
										<goals>
											<goal>compress</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
943
										<ignore />
Matija Obreza's avatar
Matija Obreza committed
944 945 946 947 948 949 950 951
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
952
	</build>
Matija Obreza's avatar
Matija Obreza committed
953 954 955 956 957 958 959 960 961 962 963

	<repositories>
		<repository>
			<id>central</id>
			<url>https://repo.maven.apache.org/maven2</url>
		</repository>
		<repository>
			<id>snapshots</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
		</repository>
	</repositories>
Matija Obreza's avatar
Matija Obreza committed
964
</project>