pom.xml 20.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 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<!--
  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.
-->

18
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Matija Obreza's avatar
Matija Obreza committed
19 20
	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
21 22
	<modelVersion>4.0.0</modelVersion>

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

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

Matija Obreza's avatar
Matija Obreza committed
32 33 34 35 36 37 38 39 40 41 42 43
	<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>
	</scm>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
44

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

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

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
54
	<properties>
Matija Obreza's avatar
Matija Obreza committed
55
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Matija Obreza's avatar
Java 8  
Matija Obreza committed
56 57
		<jdk.target>1.8</jdk.target>
		<jdk.source>1.8</jdk.source>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
58
		<show.deprecations>false</show.deprecations>
Matija Obreza's avatar
Matija Obreza committed
59
		<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74

		<junit.version>4.11</junit.version>
		<jsonpath.version>0.8.1</jsonpath.version>

		<commons.beanutils.version>1.8.3</commons.beanutils.version>
		<commons.collections.version>3.2.1</commons.collections.version>
		<commons.fileupload.version>1.2.2</commons.fileupload.version>
		<commons.io.version>2.4</commons.io.version>
		<commons.lang.version>2.6</commons.lang.version>
		<commons.logging.version>1.1.1</commons.logging.version>

		<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
75
		<hibernate.version>4.3.6.Final</hibernate.version>
Matija Obreza's avatar
Matija Obreza committed
76
		<hsqldb.version>2.3.2</hsqldb.version>
77
		<ehcache.version>2.7.4</ehcache.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
78

Matija Obreza's avatar
Matija Obreza committed
79
		<slf4j.version>1.7.7</slf4j.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
80 81 82
		<log4j.version>1.2.17</log4j.version>

		<aspectj.version>1.7.2</aspectj.version>
Alexander Dolzhenko's avatar
Alexander Dolzhenko committed
83 84
		<spring.framework.version>4.2.1.RELEASE</spring.framework.version>
		<spring.security.version>4.0.2.RELEASE</spring.security.version>
85
		<spring.security.oauth2.version>1.0.5.RELEASE</spring.security.oauth2.version>
Alexander Dolzhenko's avatar
Alexander Dolzhenko committed
86
		<org.springframework.social-version>1.1.2.RELEASE</org.springframework.social-version>
87
		<org.springframework.social-google-version>1.0.0.RELEASE</org.springframework.social-google-version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
88

Matija Obreza's avatar
Matija Obreza committed
89
		<mysql.version>5.1.31</mysql.version>
90
		<hazelcast.version>3.4</hazelcast.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
91 92 93

		<oval.version>1.81</oval.version>
		<jackson.version>2.2.1</jackson.version>
Matija Obreza's avatar
Matija Obreza committed
94
		<jaxb-api.version>2.1</jaxb-api.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
95 96

		<!--Container -->
97
		<jetty.version>9.2.9.v20150224</jetty.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
98 99 100

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

Matija Obreza's avatar
Matija Obreza committed
101
		<war.name>genesys2</war.name>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
102 103 104 105 106 107 108 109 110 111
	</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
112
		<dependency>
113 114 115 116 117
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-library</artifactId>
			<version>1.3</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
118 119 120 121 122 123
		<dependency>
			<groupId>org.springframework.restdocs</groupId>
			<artifactId>spring-restdocs-mockmvc</artifactId>
			<version>1.0.1.RELEASE</version>
			<scope>test</scope>
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154

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

Matija Obreza's avatar
DS2  
Matija Obreza committed
156
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
157 158 159 160
			<groupId>commons-codec</groupId>
			<artifactId>commons-codec</artifactId>
			<version>1.10</version>
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180

		<!-- 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
181 182 183 184 185 186
		<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
187
		<!--Servlet and portal dependencies -->
188
		<dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
189
			<groupId>javax.servlet.jsp</groupId>
190 191
			<artifactId>javax.servlet.jsp-api</artifactId>
			<version>2.3.1</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
192
			<scope>provided</scope>
193 194
		</dependency>
		<dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
195
			<groupId>javax.servlet</groupId>
196 197
			<artifactId>javax.servlet-api</artifactId>
			<version>3.1.0</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
198
			<scope>provided</scope>
199
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
200 201 202 203 204

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jstl</artifactId>
			<version>${jstl.version}</version>
205
			<scope>provided</scope>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226
		</dependency>

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

		<!-- Spring dependencies -->
		<dependency>
			<groupId>org.aspectj</groupId>
			<artifactId>aspectjweaver</artifactId>
			<version>${aspectj.version}</version>
		</dependency>

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

Matija Obreza's avatar
Matija Obreza committed
228 229 230 231 232
		<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
233 234 235 236 237 238 239 240 241 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

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

278
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
279 280
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-jpa</artifactId>
Alexander Dolzhenko's avatar
Alexander Dolzhenko committed
281
			<version>1.9.0.RELEASE</version>
282 283 284
		</dependency>

		<!-- Hibernate dependencies -->
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312


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

313
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
314 315 316 317 318 319 320 321 322
			<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>
323
		</dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
324 325 326 327 328 329

		<dependency>
			<groupId>net.sf.opencsv</groupId>
			<artifactId>opencsv</artifactId>
			<version>2.3</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
330 331 332 333 334
		<dependency>
			<groupId>org.sitemesh</groupId>
			<artifactId>sitemesh</artifactId>
			<version>3.0-alpha-2</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
335 336 337 338 339
		<dependency>
			<groupId>org.apache.tomcat</groupId>
			<artifactId>tomcat-jdbc</artifactId>
			<version>7.0.42</version>
		</dependency>
340 341 342 343 344
		<dependency>
			<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
			<artifactId>owasp-java-html-sanitizer</artifactId>
			<version>r209</version>
		</dependency>
345
		<dependency>
346 347 348
			<groupId>org.springframework.security.oauth</groupId>
			<artifactId>spring-security-oauth2</artifactId>
			<version>${spring.security.oauth2.version}</version>
349
		</dependency>
350 351 352 353 354
		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
			<version>2.3</version>
		</dependency>
355 356 357 358 359
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-collections4</artifactId>
			<version>4.0</version>
		</dependency>
360 361 362 363 364 365 366 367 368 369
		<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>
370 371 372
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-spring</artifactId>
373
			<version>${hazelcast.version}</version>
374 375 376 377
		</dependency>
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-cloud</artifactId>
378 379 380 381 382 383
			<version>${hazelcast.version}</version>
		</dependency>
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-hibernate4</artifactId>
			<version>${hazelcast.version}</version>
384 385 386 387
		</dependency>
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-wm</artifactId>
388
			<version>${hazelcast.version}</version>
389
		</dependency>
390 391


Matija Obreza's avatar
Matija Obreza committed
392

393 394 395 396 397 398
		<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
399 400 401 402 403 404 405
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-servlets</artifactId>
			<version>${jetty.version}</version>
			<scope>runtime</scope>
		</dependency>

406

Matija Obreza's avatar
Matija Obreza committed
407 408 409 410 411
		<dependency>
			<groupId>org.elasticsearch</groupId>
			<artifactId>elasticsearch</artifactId>
			<version>1.3.2</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
412

Matija Obreza's avatar
Matija Obreza committed
413 414 415
		<dependency>
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-elasticsearch</artifactId>
Alexander Dolzhenko's avatar
Alexander Dolzhenko committed
416
			<version>1.3.0.RELEASE</version>
Matija Obreza's avatar
Matija Obreza committed
417
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
418

Matija Obreza's avatar
Matija Obreza committed
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438


		<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
439 440 441 442 443
		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<version>1.4.01</version>
		</dependency>
444 445 446 447 448
		<dependency>
			<groupId>org.tuckey</groupId>
			<artifactId>urlrewritefilter</artifactId>
			<version>4.0.4</version>
		</dependency>
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467

		<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>
468
			<version>0.5-SNAPSHOT</version>
469 470 471 472 473 474 475 476 477
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>worldclim-reader</artifactId>
			<version>0.0.3-SNAPSHOT</version>
		</dependency>
		<dependency>
			<groupId>org.genesys-pgr</groupId>
			<artifactId>pgr-ontology-model</artifactId>
478
			<version>0.7.2-SNAPSHOT</version>
479
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>2.0.2-beta</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.jayway.jsonpath</groupId>
			<artifactId>json-path-assert</artifactId>
			<version>0.8.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jsoup</groupId>
			<artifactId>jsoup</artifactId>
			<version>1.8.2</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
497
	</dependencies>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
498 499 500 501 502 503 504 505 506

	<build>
		<plugins>
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<encoding>UTF-8</encoding>
507
					<detail>true</detail>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
508 509
				</configuration>
			</plugin>
510 511 512
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
513
				<version>1.3</version>
514 515 516 517 518 519 520 521 522 523 524 525 526 527 528
				<executions>
					<execution>
						<phase>validate</phase>
						<goals>
							<goal>create</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<!-- first check to see if you have locally modified files, and will 
						fail if there are any. -->
					<doCheck>false</doCheck>
					<doUpdate>false</doUpdate>
				</configuration>
			</plugin>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
529 530 531
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-compiler-plugin</artifactId>
532
				<version>3.1</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
533 534 535 536 537 538 539 540
				<configuration>
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showDeprecation>${show.deprecations}</showDeprecation>
					<showWarnings>true</showWarnings>
				</configuration>
			</plugin>
541
			<plugin>
542 543 544 545 546 547 548 549 550 551
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.17</version>
				<configuration>
					<forkMode>once</forkMode>
					<argLine>-Xms512m -Xmx1024m</argLine>
					<testFailureIgnore>false</testFailureIgnore>
				</configuration>
			</plugin>
			<plugin>
552 553 554
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId>
				<version>${jetty.version}</version>
Matija Obreza's avatar
Matija Obreza committed
555 556 557 558 559
				<configuration>
					<stopPort>8888</stopPort>
					<stopKey>stop</stopKey>
					<jvmArgs>-Dspring.profiles.active=dev -Xmx2048M -Xms1024M -XX:MaxPermSize=128M -Djava.awt.headless=true -server</jvmArgs>
				</configuration>
560
			</plugin>
561
			<plugin>
562 563
				<groupId>com.github.eirslett</groupId>
				<artifactId>frontend-maven-plugin</artifactId>
Matija Obreza's avatar
Matija Obreza committed
564
				<version>0.0.26</version>
565 566
				<executions>
					<execution>
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595
						<id>install node and npm</id>
						<goals>
							<goal>install-node-and-npm</goal>
						</goals>
						<configuration>
							<nodeVersion>v0.10.36</nodeVersion>
							<npmVersion>2.4.1</npmVersion>
						</configuration>
					</execution>
					<execution>
						<id>npm install</id>
						<goals>
							<goal>npm</goal>
						</goals>
						<configuration>
							<arguments>install</arguments>
						</configuration>
					</execution>
					<execution>
						<id>bower install</id>
						<goals>
							<goal>bower</goal>
						</goals>
						<configuration>
							<arguments>install</arguments>
						</configuration>
					</execution>
					<execution>
						<id>grunt build</id>
596
						<goals>
597
							<goal>grunt</goal>
598
						</goals>
599 600 601 602 603 604 605 606 607
						<configuration>
							<arguments>build</arguments>
							<srcdir>${basedir}/src/main/sourceapp</srcdir>
							<outputdir>${basedir}/src/main/webapp/html</outputdir>
							<triggerfiles>
								<triggerfile>Gruntfile.js</triggerfile>
								<triggerfile>package.json</triggerfile>
							</triggerfiles>
						</configuration>
608 609 610
					</execution>
				</executions>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.4</version>
				<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
629 630 631 632 633 634 635 636
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<pushChanges>false</pushChanges>
				</configuration>
			</plugin>
Matija Obreza's avatar
Matija Obreza committed
637 638 639 640 641 642 643 644 645 646 647 648 649
			<plugin>
				<groupId>org.asciidoctor</groupId>
				<artifactId>asciidoctor-maven-plugin</artifactId>
				<version>1.5.2</version>
				<executions>
					<execution>
						<id>output-html</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>process-asciidoc</goal>
						</goals>
						<configuration>
							<backend>html5</backend>
Matija Obreza's avatar
Matija Obreza committed
650
							<doctype>book</doctype>
Matija Obreza's avatar
Matija Obreza committed
651 652
							<sourceHighlighter>coderay</sourceHighlighter>
							<attributes>
Matija Obreza's avatar
Matija Obreza committed
653 654
								<copycss>true</copycss>
								<!-- <linkcss /> -->
Matija Obreza's avatar
Matija Obreza committed
655 656 657 658 659 660 661 662 663
								<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
664
					<!-- <execution>
Matija Obreza's avatar
Matija Obreza committed
665 666 667 668 669 670 671 672 673
						<id>output-docbook</id>
						<phase>generate-resources</phase>
						<goals>
							<goal>process-asciidoc</goal>
						</goals>
						<configuration>
							<backend>docbook</backend>
							<doctype>book</doctype>
						</configuration>
Matija Obreza's avatar
Matija Obreza committed
674
					</execution> -->
Matija Obreza's avatar
Matija Obreza committed
675 676 677 678 679 680 681 682
				</executions>
				<configuration>
					<sourceDirectory>src/main/asciidoc</sourceDirectory>
					<preserveDirectories>true</preserveDirectories>
					<headerFooter>true</headerFooter>
					<numbered>true</numbered>
					<!-- <imagesDir>images</imagesDir> -->
					<attributes>
Matija Obreza's avatar
Matija Obreza committed
683 684 685 686
						<buildNumber>${buildNumber}</buildNumber>
						<projectArtifact>${project.artifactId}</projectArtifact>
						<projectVersion>${project.version}</projectVersion>
						<snippets>${snippetsDirectory}</snippets>
Matija Obreza's avatar
Matija Obreza committed
687 688 689
					</attributes>
				</configuration>
			</plugin>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
690
		</plugins>
691 692 693 694 695 696 697 698 699 700 701 702 703
		<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>
		</resources>
Matija Obreza's avatar
Matija Obreza committed
704 705
		<pluginManagement>
			<plugins>
706 707
				<!--This plugin's configuration is used to store Eclipse m2e settings 
					only. It has no influence on the Maven build itself. -->
Matija Obreza's avatar
Matija Obreza committed
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739
				<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>
										<ignore></ignore>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
740
	</build>
Matija Obreza's avatar
Matija Obreza committed
741
</project>