pom.xml 21.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
19
<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
20
21
	<modelVersion>4.0.0</modelVersion>

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

Matija Obreza's avatar
Matija Obreza committed
25
	<name>Genesys 2 Server</name>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
26
27
28
29

	<packaging>war</packaging>

	<properties>
Matija Obreza's avatar
Matija Obreza committed
30
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
		<jdk.target>1.7</jdk.target>
		<jdk.source>1.7</jdk.source>
		<show.deprecations>false</show.deprecations>

		<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
49
		<hibernate.version>4.3.6.Final</hibernate.version>
50
		<hsqldb.version>2.3.1</hsqldb.version>
51
		<ehcache.version>2.7.4</ehcache.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
52

Matija Obreza's avatar
Matija Obreza committed
53
		<slf4j.version>1.7.7</slf4j.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
54
55
56
		<log4j.version>1.2.17</log4j.version>

		<aspectj.version>1.7.2</aspectj.version>
57
		<spring.framework.version>3.2.10.RELEASE</spring.framework.version>
Nick Martynenko's avatar
CSRF  
Nick Martynenko committed
58
		<spring.security.version>3.2.1.RELEASE</spring.security.version>
59
		<spring.security.oauth2.version>1.0.5.RELEASE</spring.security.oauth2.version>
60
61
		<org.springframework.social-version>1.0.3.RELEASE</org.springframework.social-version>
		<org.springframework.social-google-version>1.0.0.M3</org.springframework.social-google-version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
62

Matija Obreza's avatar
Matija Obreza committed
63
		<mysql.version>5.1.31</mysql.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
64
65
66

		<oval.version>1.81</oval.version>
		<jackson.version>2.2.1</jackson.version>
67
        <jaxb-api.version>2.1</jaxb-api.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
68
69

		<!--Container -->
Matija Obreza's avatar
Matija Obreza committed
70
		<jetty.version>9.1.2.v20140210</jetty.version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
71
72
73

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

Matija Obreza's avatar
Matija Obreza committed
74
		<war.name>genesys2</war.name>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
75
76
77
78
79
80
81
82
83
84
85
86
	</properties>

	<repositories>
		<repository>
			<id>JBOSS</id>
			<url>http://repository.jboss.org/nexus/content/groups/public</url>
		</repository>
		<repository>
			<id>ibiblio.mirrors</id>
			<name>ibiblio.mirrors</name>
			<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
		</repository>
87
88
89
90
91
92
93
94
95
96
97
98
99
100
		<repository>
			<id>spring-social-google</id>
			<name>Spring Social Google</name>
			<url>http://gabiaxel.github.io/maven/</url>
		</repository>
		<repository>
			<id>sonatype-oss</id>
			<url>https://oss.sonatype.org/content/groups/public</url>
		</repository>
		<repository>
			<id>releases</id>
			<name>Releases</name>
			<url>https://oss.sonatype.org/content/repositories/releases</url>
		</repository>
101
102
103
104
		<repository>
			<id>sonatype mirror</id>
			<url>http://search.maven.org/remotecontent?filepath=</url>
		</repository>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
105
106
	</repositories>

107
108
109
110
111
112
	<pluginRepositories>
		<pluginRepository>
			<id>sonatype mirror</id>
			<url>http://search.maven.org/remotecontent?filepath=</url>
		</pluginRepository>
	</pluginRepositories>
Nick Martynenko's avatar
CSRF  
Nick Martynenko committed
113

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
114
	<dependencies>
115
116
117
118

        <dependency>
            <groupId>org.genesys2</groupId>
            <artifactId>transifex-client</artifactId>
Matija Obreza's avatar
Matija Obreza committed
119
            <version>0.1-SNAPSHOT</version>
120
121
        </dependency>

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
122
123
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
		<!--Test dependencies -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>

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

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

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>jstl</artifactId>
			<version>${jstl.version}</version>
204
			<scope>provided</scope>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
		</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
226
227
228
229
230
231
		
		<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
232
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

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

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

		<!-- Hibernate dependencies -->
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
284
285
286
287
288
289
290
291
292
293
294
295


		<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>
296
			<scope>test</scope>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
		</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
314
315
316
317
318
319
320
321
322
323
		<dependency>
		<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>
        </dependency>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338

		<!--Jetty -->


		<dependency>
			<groupId>net.tanesha.recaptcha4j</groupId>
			<artifactId>recaptcha4j</artifactId>
			<version>0.0.7</version>
		</dependency>

		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<version>4.2.5</version>
		</dependency>
339

Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
340
341
342
343
344
		<dependency>
			<groupId>net.sf.opencsv</groupId>
			<artifactId>opencsv</artifactId>
			<version>2.3</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
345
346
347
348
349
		<dependency>
			<groupId>org.sitemesh</groupId>
			<artifactId>sitemesh</artifactId>
			<version>3.0-alpha-2</version>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
350
351
352
353
354
		<dependency>
			<groupId>org.apache.tomcat</groupId>
			<artifactId>tomcat-jdbc</artifactId>
			<version>7.0.42</version>
		</dependency>
355
356
357
358
359
		<dependency>
			<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
			<artifactId>owasp-java-html-sanitizer</artifactId>
			<version>r209</version>
		</dependency>
360
		<dependency>
361
362
363
			<groupId>org.springframework.security.oauth</groupId>
			<artifactId>spring-security-oauth2</artifactId>
			<version>${spring.security.oauth2.version}</version>
364
		</dependency>
365
366
367
368
369
		<dependency>
			<groupId>joda-time</groupId>
			<artifactId>joda-time</artifactId>
			<version>2.3</version>
		</dependency>
370
371
372
373
374
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-collections4</artifactId>
			<version>4.0</version>
		</dependency>
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
		<dependency>
			<groupId>javax.mail</groupId>
			<artifactId>mail</artifactId>
			<version>1.5.0-b01</version>
		</dependency>
		<dependency>
			<groupId>com.google.api-client</groupId>
			<artifactId>google-api-client</artifactId>
			<version>1.17.0-rc</version>
		</dependency>
		<dependency>
			<groupId>org.apache.velocity</groupId>
			<artifactId>velocity</artifactId>
			<version>1.7</version>
		</dependency>
390
391
392
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-spring</artifactId>
Matija Obreza's avatar
Matija Obreza committed
393
			<version>3.1.7</version>
394
395
396
397
		</dependency>
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-cloud</artifactId>
Matija Obreza's avatar
Matija Obreza committed
398
			<version>3.1.7</version>
399
400
401
402
		</dependency>
		<dependency>
			<groupId>com.hazelcast</groupId>
			<artifactId>hazelcast-wm</artifactId>
Matija Obreza's avatar
Matija Obreza committed
403
			<version>3.1.7</version>
404
		</dependency>
405

406
407
408
409
410
411
		<dependency>
			<groupId>org.apache.jena</groupId>
			<artifactId>apache-jena-libs</artifactId>
			<type>pom</type>
			<version>2.10.1</version>
		</dependency>
412

413
414
415
		<dependency>
			<groupId>org.bioversityinternational</groupId>
			<artifactId>org.bioversityinternational.ontology</artifactId>
416
			<version>0.6.2</version>
417
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
418
		
419
420
421
422
423
424
		<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
425
426
427
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-servlets</artifactId>
Matija Obreza's avatar
Matija Obreza committed
428
			<version>${jetty.version}</version>
Matija Obreza's avatar
Matija Obreza committed
429
430
			<scope>runtime</scope>
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
431
432
433
434
435
436
437
		
		<dependency>
			<groupId>org.elasticsearch</groupId>
			<artifactId>elasticsearch</artifactId>
			<version>1.3.2</version>
		</dependency>
		
Matija Obreza's avatar
Matija Obreza committed
438
439
440
		<dependency>
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-elasticsearch</artifactId>
441
			<version>1.0.4.RELEASE</version>
Matija Obreza's avatar
Matija Obreza committed
442
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
443
		
Matija Obreza's avatar
Matija Obreza committed
444
		<dependency>
Matija Obreza's avatar
Matija Obreza committed
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
			<groupId>com.jayway.jsonpath</groupId>
			<artifactId>json-path</artifactId>
			<version>${jsonpath.version}</version>
		</dependency>

		<dependency>
			<groupId>com.jayway.jsonpath</groupId>
			<artifactId>json-path-assert</artifactId>
			<version>${jsonpath.version}</version>
			<scope>test</scope>
		</dependency>

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

		<dependency>
			<groupId>com.google.oauth-client</groupId>
			<artifactId>google-oauth-client-servlet</artifactId>
			<version>1.17.0-rc</version>
			<exclusions>
				<exclusion>
					<artifactId>servlet-api</artifactId>
					<groupId>javax.servlet</groupId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>com.googlecode.googleplus</groupId>
			<artifactId>google-plus-java-api</artifactId>
			<exclusions>
				<exclusion>
					<groupId>org.codehaus.jackson</groupId>
					<artifactId>jackson-core-asl</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.codehaus.jackson</groupId>
					<artifactId>jackson-mapper-asl</artifactId>
				</exclusion>
			</exclusions>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>

		<dependency>
			<groupId>com.google.api.client</groupId>
			<artifactId>google-api-client</artifactId>
			<exclusions>
				<exclusion>
					<groupId>org.codehaus.jackson</groupId>
					<artifactId>jackson-core-asl</artifactId>
				</exclusion>
			</exclusions>
			<version>1.3.1-alpha</version>
Matija Obreza's avatar
Matija Obreza committed
513
		</dependency>
Matija Obreza's avatar
Matija Obreza committed
514
515
516
517
518
519

		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<version>1.4.01</version>
		</dependency>
520
521
522
523
524
		<dependency>
			<groupId>org.tuckey</groupId>
			<artifactId>urlrewritefilter</artifactId>
			<version>4.0.4</version>
		</dependency>
525
526
527
528
529
530
531
532
533
534
535
536
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.3.2</version>
        </dependency>

        <!--dom4j-->
        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <version>1.6.1</version>
        </dependency>
537
538
539
540
541
        <dependency>
            <groupId>com.googlecode.json-simple</groupId>
            <artifactId>json-simple</artifactId>
            <version>1.1</version>
        </dependency>
542
543

    </dependencies>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
544
545
546
547
548
549
550
551
552

	<build>
		<plugins>
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.6</version>
				<configuration>
					<encoding>UTF-8</encoding>
553
					<detail>true</detail>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
554
555
				</configuration>
			</plugin>
556
557
558
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>buildnumber-maven-plugin</artifactId>
559
				<version>1.3</version>
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
				<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
575
576
577
			<plugin>
				<inherited>true</inherited>
				<artifactId>maven-compiler-plugin</artifactId>
578
				<version>3.1</version>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
579
580
581
582
583
584
585
586
				<configuration>
					<source>${jdk.source}</source>
					<target>${jdk.target}</target>
					<optimize>true</optimize>
					<showDeprecation>${show.deprecations}</showDeprecation>
					<showWarnings>true</showWarnings>
				</configuration>
			</plugin>
587
			<plugin>
588
589
590
591
592
593
594
595
596
597
				<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>
598
599
600
601
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-maven-plugin</artifactId>
				<version>${jetty.version}</version>
			</plugin>
602
603
604
605
606
607
608
609
610
611
612
613
614
615
			<plugin>
				<groupId>net.alchim31.maven</groupId>
				<artifactId>yuicompressor-maven-plugin</artifactId>
				<version>1.4.0</version>
				<executions>
					<execution>
						<goals>
							<goal>compress</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<jswarn>false</jswarn>
					<force>true</force>
616
					<gzip>true</gzip>
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
					<suffix>.min</suffix>
					<excludes>
						<exclude>**/*.min.js</exclude>
						<exclude>**/*.min.css</exclude>
					</excludes>
					<aggregations>
						<aggregation>
							<insertNewLine>true</insertNewLine>
							<output>${project.build.directory}/${project.build.finalName}/html/js/genesys.js</output>
							<includes>
								<include>${basedir}/src/main/webapp/html/js/tab.js</include>
								<include>${basedir}/src/main/webapp/html/js/crophub.js</include>
							</includes>
						</aggregation>
						<aggregation>
							<insertNewLine>true</insertNewLine>
							<output>${project.build.directory}/${project.build.finalName}/html/js/genesys.min.js</output>
							<includes>
								<include>tab.min.js</include>
								<include>crophub.min.js</include>
							</includes>
						</aggregation>
639
640
641
642
						<aggregation>
							<insertNewLine>true</insertNewLine>
							<output>${project.build.directory}/${project.build.finalName}/html/js/all.min.js</output>
							<includes>
643
								<include>jquery.min.js</include>
644
								<include>jquery-ui.min.js</include>
645
								<include>bootstrap.min.js</include>
646
								<include>tab.min.js</include>
647
648
								<include>leaflet.min.js</include>
								<include>leaflet.locationfilter.min.js</include>
649
								<include>crophub.min.js</include>
650
								<include>syronex-colorpicker.min.js</include>								
igoshin's avatar
igoshin committed
651
652
								<include>jquery.flot.min.js</include>
								<include>jquery.flot.pie.min.js</include>
653
654
							</includes>
						</aggregation>
655
656
657
658
659
660
661

						<aggregation>
							<insertNewLine>true</insertNewLine>
							<output>${project.build.directory}/${project.build.finalName}/html/css/genesys.css</output>
							<includes>
								<include>${basedir}/src/main/webapp/html/css/custom.css</include>
								<include>${basedir}/src/main/webapp/html/css/responsive.css</include>
662
								<include>${basedir}/src/main/webapp/html/css/forza.css</include>
663
664
665
666
667
668
669
670
							</includes>
						</aggregation>
						<aggregation>
							<insertNewLine>true</insertNewLine>
							<output>${project.build.directory}/${project.build.finalName}/html/css/genesys.min.css</output>
							<includes>
								<include>custom.min.css</include>
								<include>responsive.min.css</include>
671
672
673
674
675
676
677
								<include>forza.min.css</include>
							</includes>
						</aggregation>
						<aggregation>
							<insertNewLine>true</insertNewLine>
							<output>${project.build.directory}/${project.build.finalName}/html/css/all.min.css</output>
							<includes>
678
679
								<include>bootstrap.min.css</include>
								<include>jquery-ui.min.css</include>
680
								<include>leaflet.min.css</include>
681
								<include>leaflet.locationfilter.min.css</include>
682
								<include>syronex-colorpicker.min.css</include>
683
684
685
								<include>custom.min.css</include>
								<include>responsive.min.css</include>
								<include>forza.min.css</include>
686
687
688
689
690
							</includes>
						</aggregation>
					</aggregations>
				</configuration>
			</plugin>
Matija Obreza's avatar
mvn 1.7  
Matija Obreza committed
691
		</plugins>
692
693
694
695
696
697
698
699
700
701
702
703
704
705

		<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
706
707
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
740
		<pluginManagement>
			<plugins>
				<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
				<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
741
742
	</build>

743
	<version>0.9.1</version>
Matija Obreza's avatar
Matija Obreza committed
744
745
746
747
748
749
750
	<url>http://genesys-pgr.org</url>
	<description>Genesys 2 Server</description>
	<organization>
		<name>Global Crop Diversity Trust</name>
		<url>https://www.croptrust.org</url>
	</organization>
	<scm>
751
		<connection>scm:git:git@bitbucket.org:genesys2/genesys2-server.git</connection>
Matija Obreza's avatar
Matija Obreza committed
752
753
754
755
756
		<url>git@bitbucket.org:genesys2/genesys2-server.git</url>
	</scm>
	<issueManagement>
		<url>https://bitbucket.org/genesys2/genesys2-server/issues</url>
	</issueManagement>
Matija Obreza's avatar
Matija Obreza committed
757
</project>