forked from gbif/ipt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
704 lines (659 loc) · 23.2 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
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
277
278
279
280
281
282
283
284
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
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
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
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
513
514
515
516
517
518
519
520
521
522
523
524
525
526
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
554
555
556
557
558
559
560
561
562
563
564
565
566
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
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gbif</groupId>
<artifactId>motherpom</artifactId>
<version>37</version>
</parent>
<artifactId>ipt</artifactId>
<version>2.3.5-SNAPSHOT</version>
<packaging>war</packaging>
<name>IPT</name>
<description>The GBIF Integrated Publishing Toolkit</description>
<url>https://github.com/gbif/${project.artifactId}</url>
<!--
Default settings used mainly for development.
To build a release please use -P release
-->
<properties>
<!--
maven treats properties as strings only, so we cannot negate a boolean devMode value.
Therefore we keep both available - make sure they are always negated in all profiles!
-->
<devMode>true</devMode>
<devModeNegated>false</devModeNegated>
<jetty.port>7001</jetty.port>
<analytics.key />
<ipt.frontPageImageURL />
<google.maps.key />
<ipt.baseURL />
<!-- The datadir for tests that use a guice injected DataDir object -->
<test.datadir>/tmp/test-datadir</test.datadir>
<jdkLevel>1.6</jdkLevel>
<apache-poi.version>3.15</apache-poi.version>
<commons-digester.version>2.1</commons-digester.version>
<commons-lang3.version>3.5</commons-lang3.version>
<commons-io.version>2.5</commons-io.version>
<commons-validator.version>1.5.1</commons-validator.version>
<validation-api.version>1.1.0.Final</validation-api.version>
<dwca-io.version>1.27</dwca-io.version>
<gbif-api.version>0.47</gbif-api.version>
<gbif-parsers.version>0.29</gbif-parsers.version>
<gbif-registry.version>2.59</gbif-registry.version>
<metrics-ws-client.version>0.26</metrics-ws-client.version>
<gbif-common-ws.version>0.37</gbif-common-ws.version>
<gbif-metadata-profile.version>1.1.1</gbif-metadata-profile.version>
<gbif-common.version>0.28</gbif-common.version>
<gbif-doi.version>1.5</gbif-doi.version>
<dwc-api.version>1.16</dwc-api.version>
<checklistbank-ws-client.version>2.45</checklistbank-ws-client.version>
<guava.version>18.0</guava.version>
<freemarker.version>2.3.25-incubating</freemarker.version>
<gson.version>2.7</gson.version>
<guice.version>3.0</guice.version>
<httpclient.version>4.3.6</httpclient.version>
<httpcore.version>4.3.3</httpcore.version>
<itext.version>2.1.7</itext.version>
<javassist.version>3.12.1.GA</javassist.version>
<jetty-maven-plugin.version>7.6.12.v20130726</jetty-maven-plugin.version>
<jsp-api.version>2.0</jsp-api.version>
<jtds.version>1.3.1</jtds.version>
<junit.version>4.12</junit.version>
<log4j.version>1.2.17</log4j.version>
<mockito-all.version>1.10.19</mockito-all.version>
<!-- warning!! Connector/J 6.0 does not work with Java6, read http://dev.mysql.com/doc/connector-j/6.0/en/connector-j-versions.html -->
<mysql-connector-java.version>5.1.40</mysql-connector-java.version>
<ojdbc.version>14</ojdbc.version>
<!-- warning!! 9.4.1211.jre7 does not work with Java6, read https://jdbc.postgresql.org/download.html -->
<postgresql.version>9.4.1211.jre6</postgresql.version>
<javax.mail.version>1.4.7</javax.mail.version>
<servlet-api.version>2.5</servlet-api.version>
<slf4j.version>1.7.21</slf4j.version>
<struts2.version>2.3.32</struts2.version>
<xstream.version>1.4.8</xstream.version>
<jsr305.version>3.0.1</jsr305.version>
<httputils.version>0.10</httputils.version>
<jackson2.version>2.8.4</jackson2.version>
<jersey.version>1.18.3</jersey.version>
</properties>
<developers>
<developer>
<name>Tim Robertson</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Markus Döring</name>
<email>[email protected]</email>
</developer>
<developer>
<name>Kyle Braak</name>
<email>[email protected]</email>
</developer>
</developers>
<mailingLists>
<mailingList>
<name>IPT User & Developer List</name>
<post>[email protected]</post>
<subscribe>[email protected]</subscribe>
<unsubscribe>[email protected]</unsubscribe>
<archive>http://lists.gbif.org/pipermail/ipt/</archive>
</mailingList>
</mailingLists>
<scm>
<connection>scm:git:[email protected]:gbif/${project.artifactId}.git</connection>
<url>https://github.com/gbif/${project.artifactId}</url>
<developerConnection>scm:git:[email protected]:gbif/${project.artifactId}.git</developerConnection>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/gbif/ipt/issues</url>
</issueManagement>
<ciManagement>
<url>http://builds.gbif.org/job/ipt/</url>
<system>jenkins</system>
</ciManagement>
<repositories>
<repository>
<id>gbif-all</id>
<url>http://repository.gbif.org/content/groups/gbif</url>
</repository>
<repository>
<id>gbif-thirdparty</id>
<url>http://repository.gbif.org/content/repositories/thirdparty</url>
</repository>
</repositories>
<build>
<finalName>ipt-${project.version}-r${buildNumber}</finalName>
<defaultGoal>jetty:run</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<useReleaseProfile>false</useReleaseProfile>
<arguments>-Pgbif-release,release</arguments>
</configuration>
</plugin>
<!--
To simplify development, allows developers to use "mvn jetty:run"
Change the port on commandline with -D jetty.port=8080
-->
<plugin>
<!--
http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin
-->
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty-maven-plugin.version}</version>
<configuration>
<webAppConfig>
<contextPath>/</contextPath>
</webAppConfig>
<!-- no scan, don't detect changed classes -->
<scanIntervalSeconds>0</scanIntervalSeconds>
<stopKey>stop</stopKey>
<stopPort>9362</stopPort>
<systemProperties>
<systemProperty>
<name>servername</name>
<value>http://localhost:${jetty.port}</value>
</systemProperty>
</systemProperties>
</configuration>
</plugin>
<!--
small plugin that allows to access the projects SVN revision number.
Useful to keep the pom ipt version at 1.x-SNAPSHOT while still having a unique build number
See: http://mojo.codehaus.org/buildnumber-maven-plugin/usage.html
-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<shortRevisionLength>7</shortRevisionLength>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
<additionalBuildcommands>
<buildcommand>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</buildcommand>
</additionalBuildcommands>
<additionalConfig>
<file>
<name>.checkstyle</name>
<url>http://rs.gbif.org/conventions/java-style-config.xml</url>
</file>
</additionalConfig>
</configuration>
</plugin>
<!-- commented out only to perform release: runs integration tests (*IT) during verify -->
<!--<plugin>-->
<!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-failsafe-plugin</artifactId>-->
<!--</plugin>-->
</plugins>
<resources>
<!-- The default resources will all be filtered, i.e. maven variables ${xyz} will be replaced by maven -->
<resource>
<directory>src/main/resources</directory>
<!-- exclude the following files, as they use the same ${} syntax for non maven variables -->
<excludes>
<exclude>ApplicationResources*.properties</exclude>
<exclude>struts*.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
<resource>
<!-- finally include the excluded files again without filtering -->
<directory>src/main/resources</directory>
<includes>
<include>ApplicationResources*.properties</include>
<include>struts*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<testResources>
<!-- with filtering copying big test files becomes VERY slow -->
<testResource>
<directory>src/test/resources</directory>
<excludes>
<exclude>*.properties</exclude>
</excludes>
<filtering>false</filtering>
</testResource>
<!-- filtering needed for example to populate .yaml file properties from maven variables -->
<testResource>
<directory>src/test/resources</directory>
<includes>
<include>*.properties</include>
<include>*.yaml</include>
</includes>
<filtering>true</filtering>
</testResource>
</testResources>
</build>
<dependencies>
<!-- GBIF libs -->
<dependency>
<groupId>org.gbif</groupId>
<artifactId>dwca-io</artifactId>
<version>${dwca-io.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-metadata-profile</artifactId>
<version>${gbif-metadata-profile.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>dwc-api</artifactId>
<version>${dwc-api.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-common</artifactId>
<version>${gbif-common.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-httputils</artifactId>
<version>${httputils.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-api</artifactId>
<version>${gbif-api.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-parsers</artifactId>
<version>${gbif-parsers.version}</version>
</dependency>
<dependency>
<groupId>org.gbif.registry</groupId>
<artifactId>registry-ws-client</artifactId>
<version>${gbif-registry.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.gbif.metrics</groupId>
<artifactId>metrics-ws-client</artifactId>
<version>${metrics-ws-client.version}</version>
<scope>test</scope>
</dependency>
<!-- XSS filtering -->
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-common-ws</artifactId>
<version>${gbif-common-ws.version}</version>
</dependency>
<dependency>
<groupId>org.gbif</groupId>
<artifactId>gbif-doi</artifactId>
<version>${gbif-doi.version}</version>
</dependency>
<dependency>
<groupId>org.gbif.checklistbank</groupId>
<artifactId>checklistbank-ws-client</artifactId>
<version>${checklistbank-ws-client.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<!-- To redirect calls to SLF4J from dwca-reader & gbif-common to Log4J -->
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
<scope>runtime</scope>
</dependency>
<!--
Struts2:
The 2.3.x series of the Apache Struts framework has a minimum
requirement of the following specification versions: Servlet API 2.4,
JSP API 2.0, and Java 6.
-->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>${struts2.version}</version>
<exclusions>
<!-- not needed - we use guice -->
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- serializes actions into JSON, and used for inventory -->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-json-plugin</artifactId>
<version>${struts2.version}</version>
</dependency>
<!-- required by OGNL/struts2 since version 2.2.x -->
<dependency>
<groupId>javassist</groupId>
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>${freemarker.version}</version>
</dependency>
<dependency>
<groupId>org.apache.struts.xwork</groupId>
<artifactId>xwork-core</artifactId>
<version>${struts2.version}</version>
</dependency>
<!-- Guice provides the code based (not XML based) injection dependency framework -->
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>${guice.version}</version>
<exclusions>
<!-- superceded by guava and causing exceptions under tomcat6 -->
<!--
java.lang.NoSuchMethodError com.google.common.collect.ImmutableList.copyOf(Ljava/util/Collection;)
-->
<exclusion>
<groupId>com.google.code.google-collections</groupId>
<artifactId>google-collect</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- connector to use guice natively with struts2 -->
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-struts2</artifactId>
<version>${guice.version}</version>
<scope>compile</scope>
<exclusions>
<!-- clashes with newer version included in struts2.1.6 -->
<exclusion>
<groupId>opensymphony</groupId>
<artifactId>xwork</artifactId>
</exclusion>
<exclusion>
<groupId>ognl</groupId>
<artifactId>ognl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-assistedinject</artifactId>
<version>${guice.version}</version>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-servlet</artifactId>
<version>${guice.version}</version>
</dependency>
<!-- Used to validate email addresses -->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>${javax.mail.version}</version>
</dependency>
<!-- Used for the SimpleTextProvider in Struts2 -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<!--
need it for standalone, embedded jetty
<scope>provided</scope>
-->
<version>${jsp-api.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>${servlet-api.version}</version>
<scope>provided</scope>
</dependency>
<!--
Warning!! Guava is highly fragile so be very sure that all environments are tested thoroughly before changing.
-->
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<!-- Accessing different external databases to suck in data alternatively to text files -->
<!-- JDBC driver to support a variety of external datasources -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>${jtds.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>ojdbc</groupId>
<artifactId>ojdbc</artifactId>
<version>${ojdbc.version}</version>
<scope>runtime</scope>
</dependency>
<!-- excel parsing -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>${apache-poi.version}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${apache-poi.version}</version>
<exclusions>
<exclusion>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--
Log4j used directly
PLEASE DON'T USE COMMONS-LOGGING !!!
there are some know classloader issues when used with tomcat
-->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- Commons lang provides utilities for (e.g.) simple hashcode building -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<!-- URL validation -->
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>${commons-validator.version}</version>
</dependency>
<!-- native java io cannot handle redirects -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<version>${httpcore.version}</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>${validation-api.version}</version>
</dependency>
<!-- Simple XML Parsing -->
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>${commons-digester.version}</version>
</dependency>
<!--
XStream for resource config data persistency (could be replaced by JAXB in the future)
Version frozen at 1.4.8 - do not upgrade! See issue #1297
-->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>${xstream.version}</version>
</dependency>
<!-- file utils -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<!--
RTF generation.
Version frozen at 2.1.7 - do not upgrade!
RTF writing is no longer supported in itext v5.
Warning itext v4 cannot be used either because it has a distribution relocation to v5 in its POM.
-->
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext</artifactId>
<version>${itext.version}</version>
</dependency>
<dependency>
<groupId>com.lowagie</groupId>
<artifactId>itext-rtf</artifactId>
<version>${itext.version}</version>
</dependency>
<!-- UriBuilder -->
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
<version>${jersey.version}</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-client</artifactId>
<version>${jersey.version}</version>
</dependency>
<!-- testing -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>${mockito-all.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson2.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson2.version}</version>
<scope>test</scope>
</dependency>
<!-- JSON representation -->
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<!-- Annotations -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${jsr305.version}</version>
</dependency>
</dependencies>
<profiles>
<!-- Settings used for an IPT release -->
<profile>
<id>release</id>
<properties>
<devMode>false</devMode>
<devModeNegated>true</devModeNegated>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<!-- don't bundle local datadir.location file with generated war -->
<excludes>**/datadir.location</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Settings used for the Staging IPT installation -->
<!-- Bundles datadir.location in war so Staging IPT doesn't have to reconfigure datadir on each redeploy -->
<profile>
<id>staging</id>
<properties>
<devMode>true</devMode>
<devModeNegated>false</devModeNegated>
<staging.datadir>/var/lib/tomcat/ipt-data</staging.datadir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<filtering>true</filtering>
<targetPath>WEB-INF</targetPath>
<directory>src/main/webapp/WEB-INF</directory>
<includes>
<include>datadir.location</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>