pom.xml 25.5 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>
26
	<version>2.0</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 38 39 40
	<licenses>
		<license>
			<name>The Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>

	<scm>
		<connection>https://bitbucket.org/genesys2/genesys2-server.git</connection>
		<developerConnection>scm:git:git@bitbucket.org:genesys2/genesys2-server.git</developerConnection>
		<url>git@bitbucket.org:genesys2/genesys2-server.git</url>
41
		<tag>genesys2-server-2.0</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 50 51
	<issueManagement>
		<url>https://bitbucket.org/genesys2/genesys2-server/issues</url>
	</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
mvn 1.7  
Matija Obreza committed
57
		<show.deprecations>false</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.1-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
		<commons.collections.version>3.2.1</commons.collections.version>
Matija Obreza's avatar
Matija Obreza committed
64
		<commons.fileupload.version>1.3.1</commons.fileupload.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
65 66
		<commons.io.version>2.4</commons.io.version>
		<commons.lang.version>2.6</commons.lang.version>
Matija Obreza's avatar
Matija Obreza committed
67
		<commons.logging.version>1.2</commons.logging.version>
68
		<commons.validator.version>1.4.0</commons.validator.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
69 70 71 72 73

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

74
		<spring.framework.version>4.3.8.RELEASE</spring.framework.version>
75
		<spring-data-jpa.version>1.10.4.RELEASE</spring-data-jpa.version>
Matija Obreza's avatar
Matija Obreza committed
76
		<spring.data.release-train>Hopper-SR1</spring.data.release-train>
77
		<spring.security.version>4.1.3.RELEASE</spring.security.version>
Matija Obreza's avatar
Matija Obreza committed
78 79 80
		<spring.security.oauth2.version>1.0.5.RELEASE</spring.security.oauth2.version>
		<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>
81
		<querydsl.version>4.1.4</querydsl.version>
Matija Obreza's avatar
Matija Obreza committed
82 83

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

Matija Obreza's avatar
Matija Obreza committed
87
		<slf4j.version>1.7.21</slf4j.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
88 89 90 91
		<log4j.version>1.2.17</log4j.version>

		<aspectj.version>1.7.2</aspectj.version>

Matija Obreza's avatar
Matija Obreza committed
92
		<mysql.version>5.1.31</mysql.version>
93
		<hazelcast.version>3.8.1</hazelcast.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
94 95

		<oval.version>1.81</oval.version>
96
		<jackson.version>2.6.4</jackson.version>
Matija Obreza's avatar
Matija Obreza committed
97
		<jaxb-api.version>2.2.12</jaxb-api.version>
98
		<liquibase.version>3.5.3</liquibase.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
99 100

		<!--Container -->
101
		<jetty.version>9.3.6.v20151106</jetty.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
102 103 104

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

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

	<dependencies>
		<!--Test dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
116
		<dependency>
117 118 119 120 121
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-library</artifactId>
			<version>1.3</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
122 123 124 125 126 127
		<dependency>
			<groupId>org.springframework.restdocs</groupId>
			<artifactId>spring-restdocs-mockmvc</artifactId>
			<version>1.0.1.RELEASE</version>
			<scope>test</scope>
		</dependency>
128 129 130 131 132 133
		<dependency>
			<groupId>com.jayway.jsonpath</groupId>
			<artifactId>json-path</artifactId>
			<version>2.0.0</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164

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


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

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

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

		<dependency>
			<groupId>commons-logging</groupId>
			<artifactId>commons-logging</artifactId>
			<version>${commons.logging.version}</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
165

Matija Obreza's avatar
DS2  
Matija Obreza committed
166
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
167 168 169 170
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.10</version>
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
171

172 173 174 175 176 177
		<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
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
		<!-- 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>

		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>${log4j.version}</version>
		</dependency>

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

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

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

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-aop</artifactId>
			<version>${spring.framework.version}</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
236

Matija Obreza's avatar
Matija Obreza committed
237 238 239 240 241
		<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
242 243 244 245 246 247 248 249 250 251 252 253 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

		<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>


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

287
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
288 289
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-jpa</artifactId>
290
			<version>${spring-data-jpa.version}</version>
291 292
		</dependency>

293 294 295 296 297 298
		<dependency>
			<groupId>com.querydsl</groupId>
			<artifactId>querydsl-jpa</artifactId>
			<version>${querydsl.version}</version>
		</dependency>

299 300 301 302 303 304 305 306 307 308 309
		<!-- 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>
310

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
311

312
		<!-- Hibernate dependencies -->
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339

		<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>

340
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
341 342 343 344 345 346 347 348 349
			<groupId>com.fasterxml.jackson.core</groupId>
			<artifactId>jackson-databind</artifactId>
			<version>${jackson.version}</version>
		</dependency>
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>${jaxb-api.version}</version>
			<scope>runtime</scope>
350
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
351

Matija Obreza's avatar
Matija Obreza committed
352 353 354
		<dependency>
			<groupId>org.sitemesh</groupId>
			<artifactId>sitemesh</artifactId>
Matija Obreza's avatar
Matija Obreza committed
355
			<version>3.0.1</version>
Matija Obreza's avatar
Matija Obreza committed
356
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
357 358 359 360 361
		<dependency>
			<groupId>org.apache.tomcat</groupId>
			<artifactId>tomcat-jdbc</artifactId>
			<version>7.0.42</version>
		</dependency>
362 363 364 365 366
		<dependency>
			<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
			<artifactId>owasp-java-html-sanitizer</artifactId>
			<version>r209</version>
		</dependency>
367
		<dependency>
368 369 370
			<groupId>org.springframework.security.oauth</groupId>
			<artifactId>spring-security-oauth2</artifactId>
			<version>${spring.security.oauth2.version}</version>
371
		</dependency>
372 373 374
		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
Matija Obreza's avatar
Matija Obreza committed
375
			<version>2.9.3</version>
376
		</dependency>
377 378 379 380 381
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-collections4</artifactId>
			<version>4.0</version>
		</dependency>
382 383 384 385 386 387 388 389 390 391
		<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>
392 393 394
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-spring</artifactId>
395
			<version>${hazelcast.version}</version>
396
		</dependency>
397 398 399 400
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-hibernate4</artifactId>
			<version>${hazelcast.version}</version>
401 402 403 404
		</dependency>
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-wm</artifactId>
405
			<version>${hazelcast.version}</version>
406
		</dependency>
407 408


Matija Obreza's avatar
Matija Obreza committed
409

410 411 412 413 414 415
		<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
416 417 418 419 420 421 422
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-servlets</artifactId>
			<version>${jetty.version}</version>
			<scope>runtime</scope>
		</dependency>

423

Matija Obreza's avatar
Matija Obreza committed
424 425 426
		<dependency>
			<groupId>org.elasticsearch</groupId>
			<artifactId>elasticsearch</artifactId>
Maxim's avatar
Maxim committed
427
			<version>1.7.6</version>
Matija Obreza's avatar
Matija Obreza committed
428
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
429

Matija Obreza's avatar
Matija Obreza committed
430 431 432
		<dependency>
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-elasticsearch</artifactId>
433
			<version>1.3.2.RELEASE</version>
Matija Obreza's avatar
Matija Obreza committed
434
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
435

Matija Obreza's avatar
Matija Obreza committed
436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455


		<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>

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

		<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>
485
			<version>0.5</version>
486 487 488 489
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>worldclim-reader</artifactId>
490
			<version>0.0.4</version>
491 492 493 494
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>pgr-ontology-model</artifactId>
495
			<version>0.7.1</version>
496
		</dependency>
497 498 499
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>file-repository</artifactId>
500
			<version>0.8.1</version>
501
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
502 503 504 505 506 507 508 509 510
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>2.0.2-beta</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jsoup</groupId>
			<artifactId>jsoup</artifactId>
Matija Obreza's avatar
Matija Obreza committed
511
			<version>1.8.3</version>
Matija Obreza's avatar
Matija Obreza committed
512
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
513 514 515 516 517
		<dependency>
			<groupId>com.opencsv</groupId>
			<artifactId>opencsv</artifactId>
			<version>3.7</version>
		</dependency>
518 519 520 521 522
		<dependency>
			<groupId>org.liquibase</groupId>
			<artifactId>liquibase-core</artifactId>
			<version>${liquibase.version}</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
523
	</dependencies>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
524 525 526

	<build>
		<plugins>
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553
			<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>
							</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>
554 555 556 557 558
			<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
559 560 561
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-resources-plugin</artifactId>
562
				<version>2.7</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
563 564
				<configuration>
					<encoding>UTF-8</encoding>
565
					<detail>true</detail>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
566 567
				</configuration>
			</plugin>
568 569 570
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
571
				<version>1.3</version>
572 573 574 575 576 577 578 579 580
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>create</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
Matija Obreza's avatar
Matija Obreza committed
581
					<!-- first check to see if you have locally modified files, and will
582 583 584 585 586
						fail if there are any. -->
					<doCheck>false</doCheck>
					<doUpdate>false</doUpdate>
				</configuration>
			</plugin>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
587 588 589
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-compiler-plugin</artifactId>
590
				<version>3.3</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
591 592 593 594 595 596 597 598
				<configuration>
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showDeprecation>${show.deprecations}</showDeprecation>
					<showWarnings>true</showWarnings>
				</configuration>
			</plugin>
599
			<plugin>
600 601
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
602
				<version>2.19.1</version>
603 604 605 606
				<configuration>
					<forkMode>once</forkMode>
					<argLine>-Xms512m -Xmx1024m</argLine>
					<testFailureIgnore>false</testFailureIgnore>
607 608 609 610
					<includes>
						<!-- Only API documentation -->
						<include>*.docs.*Test.java</include>
					</includes>
611 612 613
				</configuration>
			</plugin>
			<plugin>
614 615 616
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId>
				<version>${jetty.version}</version>
Matija Obreza's avatar
Matija Obreza committed
617 618 619
				<configuration>
					<stopPort>8888</stopPort>
					<stopKey>stop</stopKey>
Matija Obreza's avatar
Matija Obreza committed
620
					<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
621
				</configuration>
622
			</plugin>
623
			<plugin>
624 625
				<groupId>com.github.eirslett</groupId>
				<artifactId>frontend-maven-plugin</artifactId>
626
				<version>1.0</version>
627 628
				<executions>
					<execution>
629 630 631 632 633
						<id>install node and npm</id>
						<goals>
							<goal>install-node-and-npm</goal>
						</goals>
						<configuration>
Matija Obreza's avatar
Matija Obreza committed
634 635
							<nodeVersion>v6.9.1</nodeVersion>
							<npmVersion>3.10.9</npmVersion>
636 637 638
						</configuration>
					</execution>
					<execution>
Matija Obreza's avatar
Matija Obreza committed
639
						<id>npm-install</id>
640 641 642 643 644 645 646 647
						<goals>
							<goal>npm</goal>
						</goals>
						<configuration>
							<arguments>install</arguments>
						</configuration>
					</execution>
					<execution>
Matija Obreza's avatar
Matija Obreza committed
648
						<id>bower-install</id>
649 650 651 652
						<goals>
							<goal>bower</goal>
						</goals>
						<configuration>
653
							<arguments>--allow-root install</arguments>
654 655 656
						</configuration>
					</execution>
					<execution>
657
						<id>grunt-build</id>
658
						<goals>
659
							<goal>grunt</goal>
660
						</goals>
661
						<phase>generate-resources</phase>
662
						<configuration>
663
							<arguments>build --no-color</arguments>
664 665 666 667 668
							<srcdir>${basedir}/src/main/sourceapp</srcdir>
							<outputdir>${basedir}/src/main/webapp/html</outputdir>
							<triggerfiles>
								<triggerfile>Gruntfile.js</triggerfile>
								<triggerfile>package.json</triggerfile>
669
								<triggerfile>src/main/sourceapp/**</triggerfile>
670 671
							</triggerfiles>
						</configuration>
672 673 674
					</execution>
				</executions>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
675 676
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
677
				<version>2.6</version>
Matija Obreza's avatar
Matija Obreza committed
678 679 680 681 682 683 684 685 686 687 688 689 690 691 692
				<configuration>
					<descriptors>
						<descriptor>assembly/assembly-jetty.xml</descriptor>
					</descriptors>
				</configuration>
				<executions>
					<execution>
						<id>make-assembly</id> <!-- this is used for inheritance merges -->
						<phase>package</phase> <!-- bind to the packaging phase -->
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
693 694 695
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
696
				<version>2.5.3</version>
Matija Obreza's avatar
Matija Obreza committed
697 698 699 700
				<configuration>
					<pushChanges>false</pushChanges>
				</configuration>
			</plugin>
701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717
			<plugin>
				<artifactId>maven-clean-plugin</artifactId>
				<version>3.0.0</version>
				<configuration>
					<filesets>
						<fileset>
							<directory>bower_components</directory>
						</fileset>
						<fileset>
							<directory>node_modules</directory>
						</fileset>
						<fileset>
							<directory>node</directory>
						</fileset>
					</filesets>
				</configuration>
			</plugin>
718 719 720
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
Matija Obreza's avatar
Matija Obreza committed
721
				<version>2.6</version>
722
				<configuration>
Matija Obreza's avatar
Matija Obreza committed
723 724
					<!-- Let's require web.xml (JSP UTF8 compilation) -->
					<failOnMissingWebXml>true</failOnMissingWebXml>
725 726
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
727 728 729
			<plugin>
				<groupId>org.asciidoctor</groupId>
				<artifactId>asciidoctor-maven-plugin</artifactId>
730
				<version>1.5.3</version>
Matija Obreza's avatar
Matija Obreza committed
731 732 733
				<executions>
					<execution>
						<id>output-html</id>
734
						<phase>prepare-package</phase>
Matija Obreza's avatar
Matija Obreza committed
735 736 737 738 739
						<goals>
							<goal>process-asciidoc</goal>
						</goals>
						<configuration>
							<backend>html5</backend>
Matija Obreza's avatar
Matija Obreza committed
740
							<doctype>book</doctype>
Matija Obreza's avatar
Matija Obreza committed
741 742
							<sourceHighlighter>coderay</sourceHighlighter>
							<attributes>
Matija Obreza's avatar
/1/ GUI  
Matija Obreza committed
743
								<stylesheet>${basedir}/src/main/webapp/html/1/styles/ascii-doc.css</stylesheet>
Matija Obreza's avatar
Matija Obreza committed
744 745
								<copycss>true</copycss>
								<!-- <linkcss /> -->
Matija Obreza's avatar
Matija Obreza committed
746 747 748 749 750 751 752 753 754
								<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
755
					<!-- <execution>
Matija Obreza's avatar
Matija Obreza committed
756 757 758
						<id>output-docbook</id>
						<phase>generate-resources</phase>
						<goals>
Matija Obreza's avatar
Matija Obreza committed
759
						<goal>process-asciidoc</goal>
Matija Obreza's avatar
Matija Obreza committed
760 761
						</goals>
						<configuration>
Matija Obreza's avatar
Matija Obreza committed
762 763
						<backend>docbook</backend>
						<doctype>book</doctype>
Matija Obreza's avatar
Matija Obreza committed
764
						</configuration>
Matija Obreza's avatar
Matija Obreza committed
765
						</execution> -->
Matija Obreza's avatar
Matija Obreza committed
766 767 768
				</executions>
				<configuration>
					<sourceDirectory>src/main/asciidoc</sourceDirectory>
769
					<outputDirectory>${project.build.outputDirectory}/docs</outputDirectory>
Matija Obreza's avatar
Matija Obreza committed
770 771 772 773 774
					<preserveDirectories>true</preserveDirectories>
					<headerFooter>true</headerFooter>
					<numbered>true</numbered>
					<!-- <imagesDir>images</imagesDir> -->
					<attributes>
Matija Obreza's avatar
Matija Obreza committed
775 776 777 778
						<buildNumber>${buildNumber}</buildNumber>
						<projectArtifact>${project.artifactId}</projectArtifact>
						<projectVersion>${project.version}</projectVersion>
						<snippets>${snippetsDirectory}</snippets>
Matija Obreza's avatar
Matija Obreza committed
779 780 781
					</attributes>
				</configuration>
			</plugin>
782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805
			<plugin>
				<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>
			</plugin>
806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
			<plugin>
				<groupId>org.liquibase</groupId>
				<artifactId>liquibase-maven-plugin</artifactId>
				<version>${liquibase.version}</version>
				<configuration>
					<propertyFile>src/main/resources/liquibase.properties</propertyFile>
				</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
836
		</plugins>
837 838 839 840 841 842 843 844 845 846 847 848
		<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>
849 850 851 852
			<resource>
				<directory>${project.build.directory}/generated-resources</directory>
				<filtering>false</filtering>
			</resource>
853
		</resources>
Matija Obreza's avatar
Matija Obreza committed
854 855
		<pluginManagement>
			<plugins>
Matija Obreza's avatar
Matija Obreza committed
856
				<!--This plugin's configuration is used to store Eclipse m2e settings
857
					only. It has no influence on the Maven build itself. -->
Matija Obreza's avatar
Matija Obreza committed
858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880
				<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>
881
										<ignore />
Matija Obreza's avatar
Matija Obreza committed
882 883 884 885 886 887 888 889
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
890
	</build>
Matija Obreza's avatar
Matija Obreza committed
891 892 893 894 895 896 897 898 899 900 901

	<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
902
</project>