1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<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">
|
3
|
|
4
|
<modelVersion>4.0.0</modelVersion>
|
5
|
<groupId>eu.etaxonomy</groupId>
|
6
|
<artifactId>cdm-server</artifactId>
|
7
|
<version>4.0.0-SNAPSHOT</version>
|
8
|
<packaging>jar</packaging>
|
9
|
<name>CDM Community Standalone Server</name>
|
10
|
|
11
|
<properties>
|
12
|
<jetty-version>9.2.9.v20150224</jetty-version>
|
13
|
</properties>
|
14
|
|
15
|
<scm>
|
16
|
<!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html
|
17
|
for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
|
18
|
<connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</connection>
|
19
|
<developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</developerConnection>
|
20
|
<url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdm-server</url>
|
21
|
</scm>
|
22
|
|
23
|
<prerequisites>
|
24
|
<maven>3.0.5</maven>
|
25
|
</prerequisites>
|
26
|
|
27
|
<mailingLists>
|
28
|
<mailingList>
|
29
|
<name>EDIT Platform Developers</name>
|
30
|
<subscribe>
|
31
|
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
|
32
|
</subscribe>
|
33
|
<unsubscribe>
|
34
|
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
|
35
|
</unsubscribe>
|
36
|
</mailingList>
|
37
|
<mailingList>
|
38
|
<name>EDIT User</name>
|
39
|
<subscribe>
|
40
|
https://lists.fu-berlin.de/listinfo/edituser#subscribe
|
41
|
</subscribe>
|
42
|
<unsubscribe>
|
43
|
https://lists.fu-berlin.de/listinfo/edituser#options
|
44
|
</unsubscribe>
|
45
|
</mailingList>
|
46
|
</mailingLists>
|
47
|
<licenses>
|
48
|
<license>
|
49
|
<name>Mozilla Public License Version 1.1</name>
|
50
|
<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
|
51
|
<distribution>repo</distribution>
|
52
|
</license>
|
53
|
</licenses>
|
54
|
<developers>
|
55
|
<developer>
|
56
|
<!-- your SVN account id please! -->
|
57
|
<id>a.kohlbecker</id>
|
58
|
<name>
|
59
|
Andreas Kohlbecker
|
60
|
</name>
|
61
|
<email>a.kohlbecker [at] bgbm.org</email>
|
62
|
<organization>
|
63
|
Botanical Garden Botanical Museum Berlin
|
64
|
</organization>
|
65
|
<organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
|
66
|
<timezone>+1</timezone>
|
67
|
<roles>
|
68
|
<role>Developer</role>
|
69
|
</roles>
|
70
|
<url />
|
71
|
</developer>
|
72
|
</developers>
|
73
|
|
74
|
<!-- contributors> <contributor> <name>Test-Contributor</name> </contributor>
|
75
|
</contributors -->
|
76
|
<issueManagement>
|
77
|
<system>Trac</system>
|
78
|
<url>http://dev.e-taxonomy.eu/trac/</url>
|
79
|
</issueManagement>
|
80
|
<ciManagement>
|
81
|
<system>Jenkins</system>
|
82
|
<url>http://160.45.63.201/jenkins</url>
|
83
|
</ciManagement>
|
84
|
<!-- **** REPOSITORIES **** -->
|
85
|
<profiles>
|
86
|
<profile>
|
87
|
<id>local-repository</id>
|
88
|
<activation>
|
89
|
<property>
|
90
|
<name>localrepo</name>
|
91
|
</property>
|
92
|
</activation>
|
93
|
<repositories>
|
94
|
<repository>
|
95
|
<id>EditLocalRepository</id>
|
96
|
<url>file://${localrepo}/eu/etaxonomy/</url>
|
97
|
<releases>
|
98
|
<enabled>false</enabled>
|
99
|
<updatePolicy>always</updatePolicy>
|
100
|
</releases>
|
101
|
<snapshots>
|
102
|
<enabled>true</enabled>
|
103
|
<updatePolicy>always</updatePolicy>
|
104
|
</snapshots>
|
105
|
</repository>
|
106
|
</repositories>
|
107
|
</profile>
|
108
|
</profiles>
|
109
|
<repositories>
|
110
|
<!-- sun repository -->
|
111
|
<repository>
|
112
|
<id>java.net-Public</id>
|
113
|
<name>Maven Java Net Snapshots and Releases</name>
|
114
|
<url>https://maven.java.net/content/groups/public/</url>
|
115
|
</repository>
|
116
|
<!-- the localhost Maven Repository -->
|
117
|
<repository>
|
118
|
<id>EditLocalRepository</id>
|
119
|
<!-- disable the local repo to let maven always retrieve the latest
|
120
|
cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository
|
121
|
in MAVEN 3 -->
|
122
|
<url>file://${user.home}/.m2/repository/eu/etaxonomy/</url>
|
123
|
<releases>
|
124
|
<enabled>false</enabled>
|
125
|
<updatePolicy>always</updatePolicy>
|
126
|
</releases>
|
127
|
<snapshots>
|
128
|
<enabled>false</enabled>
|
129
|
<updatePolicy>always</updatePolicy>
|
130
|
</snapshots>
|
131
|
</repository>
|
132
|
<!-- the EDIT Maven Repository -->
|
133
|
<repository>
|
134
|
<id>EditRepository</id>
|
135
|
<url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
|
136
|
<releases>
|
137
|
<enabled>true</enabled>
|
138
|
<updatePolicy>always</updatePolicy>
|
139
|
</releases>
|
140
|
<snapshots>
|
141
|
<enabled>true</enabled>
|
142
|
<updatePolicy>always</updatePolicy>
|
143
|
</snapshots>
|
144
|
</repository>
|
145
|
<!-- apache incubating repository -->
|
146
|
<repository>
|
147
|
<id>ApacheIncubating</id>
|
148
|
<url>http://people.apache.org/repo/m2-incubating-repository/</url>
|
149
|
</repository>
|
150
|
</repositories>
|
151
|
|
152
|
<!-- **** PLUGINS **** -->
|
153
|
<build>
|
154
|
<resources>
|
155
|
<!-- ${basedir}/src/main/resources -->
|
156
|
<resource>
|
157
|
<!-- replace the project-version placeholder in the version.properties
|
158
|
file. This property can then be used to retrieve the version number in the
|
159
|
Bootloader -->
|
160
|
<targetPath>${project.build.directory}/classes</targetPath>
|
161
|
<filtering>true</filtering>
|
162
|
<directory>${basedir}/src/main/resources</directory>
|
163
|
<includes>
|
164
|
<include>version.properties</include>
|
165
|
</includes>
|
166
|
</resource>
|
167
|
<resource>
|
168
|
<!-- all other files in classes -->
|
169
|
<targetPath>${project.build.directory}/classes</targetPath>
|
170
|
<directory>${basedir}/src/main/resources</directory>
|
171
|
<excludes>
|
172
|
<exclude>version.properties</exclude>
|
173
|
</excludes>
|
174
|
</resource>
|
175
|
<!-- ${basedir}/src/main/installer/win32 -->
|
176
|
<resource>
|
177
|
<targetPath>${project.build.directory}/installer</targetPath>
|
178
|
<filtering>true</filtering>
|
179
|
<directory>${basedir}/src/main/installer</directory>
|
180
|
<includes>
|
181
|
<include>win32/program-folder/etc/CDMServer.conf</include>
|
182
|
<include>win32/setup.nsi</include>
|
183
|
</includes>
|
184
|
</resource>
|
185
|
<resource>
|
186
|
<targetPath>${project.build.directory}/installer</targetPath>
|
187
|
<directory>${basedir}/src/main/installer</directory>
|
188
|
<excludes>
|
189
|
<exclude>win32/program-folder/etc/CDMServer.conf</exclude>
|
190
|
<exclude>win32/setup.nsi</exclude>
|
191
|
</excludes>
|
192
|
</resource>
|
193
|
</resources>
|
194
|
<plugins>
|
195
|
<!-- ====== IDE ====== -->
|
196
|
<plugin>
|
197
|
<groupId>org.apache.maven.plugins</groupId>
|
198
|
<artifactId>maven-eclipse-plugin</artifactId>
|
199
|
<version>2.9</version>
|
200
|
<configuration>
|
201
|
<downloadSources>true</downloadSources>
|
202
|
<downloadJavadocs>true</downloadJavadocs>
|
203
|
</configuration>
|
204
|
</plugin>
|
205
|
|
206
|
<plugin>
|
207
|
<!-- only needed for testing the svn credentials credentials are
|
208
|
usually stored by svn automatically unless not configured differently in
|
209
|
{user.home}\.subversion\config So in order to use a specific svn account
|
210
|
with maven firts to a commit manually by svn ci -m "commit message" and answer
|
211
|
the question wether to store the credential with yes. There is no specific
|
212
|
maven configuration required for svn to work with maven! -->
|
213
|
<groupId>org.apache.maven.plugins</groupId>
|
214
|
<artifactId>maven-scm-plugin</artifactId>
|
215
|
<version>1.9.2</version>
|
216
|
<configuration>
|
217
|
<connectionType>developerConnection</connectionType>
|
218
|
</configuration>
|
219
|
</plugin>
|
220
|
<!-- ====== CREATE ====== -->
|
221
|
<plugin>
|
222
|
<groupId>org.apache.maven.plugins</groupId>
|
223
|
<artifactId>maven-resources-plugin</artifactId>
|
224
|
<version>2.7</version>
|
225
|
</plugin>
|
226
|
<plugin>
|
227
|
<groupId>org.apache.maven.plugins</groupId>
|
228
|
<artifactId>maven-compiler-plugin</artifactId>
|
229
|
<version>3.2</version>
|
230
|
<configuration>
|
231
|
<source>1.6</source>
|
232
|
<target>1.6</target>
|
233
|
</configuration>
|
234
|
</plugin>
|
235
|
<plugin>
|
236
|
<groupId>org.apache.maven.plugins</groupId>
|
237
|
<artifactId>maven-surefire-plugin</artifactId>
|
238
|
<version>2.18.1</version>
|
239
|
<configuration>
|
240
|
<argLine>-Xmx512M</argLine>
|
241
|
<includes>
|
242
|
<include>**/*Test.java</include>
|
243
|
</includes>
|
244
|
<systemProperties>
|
245
|
<property>
|
246
|
<name>hibernate.connection.driver_class</name>
|
247
|
<value>${hibernate.connection.driver_class}</value>
|
248
|
</property>
|
249
|
<property>
|
250
|
<name>hibernate.connection.url</name>
|
251
|
<value>${hibernate.connection.url}</value>
|
252
|
</property>
|
253
|
<property>
|
254
|
<name>hibernate.connection.username</name>
|
255
|
<value>${hibernate.connection.username}</value>
|
256
|
</property>
|
257
|
<property>
|
258
|
<name>hibernate.connection.password</name>
|
259
|
<value>${hibernate.connection.password}</value>
|
260
|
</property>
|
261
|
</systemProperties>
|
262
|
</configuration>
|
263
|
</plugin>
|
264
|
<!-- ====== CREATE ====== -->
|
265
|
<plugin>
|
266
|
<groupId>org.codehaus.mojo</groupId>
|
267
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
268
|
<version>1.3</version>
|
269
|
<executions>
|
270
|
<execution>
|
271
|
<!--<phase>deploy</phase> -->
|
272
|
<goals>
|
273
|
<goal>create</goal>
|
274
|
</goals>
|
275
|
</execution>
|
276
|
</executions>
|
277
|
<configuration>
|
278
|
<doCheck>false</doCheck>
|
279
|
<!-- Only create the build number if there are no local modifications -->
|
280
|
<doUpdate>false</doUpdate>
|
281
|
<!-- automatically update the local svn copy -->
|
282
|
</configuration>
|
283
|
</plugin>
|
284
|
<plugin>
|
285
|
<groupId>org.apache.maven.plugins</groupId>
|
286
|
<artifactId>maven-site-plugin</artifactId>
|
287
|
<version>3.4</version>
|
288
|
<configuration>
|
289
|
<locales>en</locales>
|
290
|
<outputEncoding>UTF-8</outputEncoding>
|
291
|
<chmod>false</chmod>
|
292
|
</configuration>
|
293
|
</plugin>
|
294
|
<!-- ====== VERIFY ====== -->
|
295
|
<plugin>
|
296
|
<groupId>org.apache.maven.plugins</groupId>
|
297
|
<artifactId>maven-source-plugin</artifactId>
|
298
|
<version>2.4</version>
|
299
|
<executions>
|
300
|
<execution>
|
301
|
<id>attach-sources</id>
|
302
|
<phase>verify</phase>
|
303
|
<goals>
|
304
|
<goal>jar</goal>
|
305
|
</goals>
|
306
|
</execution>
|
307
|
</executions>
|
308
|
</plugin>
|
309
|
<plugin>
|
310
|
<groupId>org.apache.maven.plugins</groupId>
|
311
|
<artifactId>maven-javadoc-plugin</artifactId>
|
312
|
<version>2.10.2</version>
|
313
|
<configuration>
|
314
|
<aggregate>true</aggregate>
|
315
|
<stylesheet>maven</stylesheet>
|
316
|
</configuration>
|
317
|
</plugin>
|
318
|
|
319
|
<!-- ====== PROCESS-SOURCES ====== -->
|
320
|
<plugin>
|
321
|
<groupId>org.apache.maven.plugins</groupId>
|
322
|
<artifactId>maven-dependency-plugin</artifactId>
|
323
|
<version>2.10</version>
|
324
|
<executions>
|
325
|
<execution>
|
326
|
<id>copy</id>
|
327
|
<goals>
|
328
|
<goal>copy</goal>
|
329
|
</goals>
|
330
|
<configuration>
|
331
|
<silent>flase</silent>
|
332
|
<stripVersion>true</stripVersion>
|
333
|
<overWriteSnapshots>true</overWriteSnapshots>
|
334
|
<overWriteIfNewer>true</overWriteIfNewer>
|
335
|
<overWriteReleases>true</overWriteReleases>
|
336
|
<artifactItems>
|
337
|
<artifactItem>
|
338
|
<!-- copy the cdm-webapp-${project.version}.war
|
339
|
to the build dir -->
|
340
|
<groupId>eu.etaxonomy</groupId>
|
341
|
<artifactId>cdm-webapp</artifactId>
|
342
|
<version>${project.version}</version>
|
343
|
<type>war</type>
|
344
|
<!-- <classifier> [classifier - optional] </classifier> -->
|
345
|
<overWrite>true</overWrite>
|
346
|
<destFileName>cdm-webapp-${project.version}.war</destFileName>
|
347
|
<outputDirectory>
|
348
|
${project.build.directory}
|
349
|
</outputDirectory>
|
350
|
</artifactItem>
|
351
|
</artifactItems>
|
352
|
</configuration>
|
353
|
</execution>
|
354
|
</executions>
|
355
|
</plugin>
|
356
|
|
357
|
<!-- ====== PACKAGE ====== -->
|
358
|
<!-- package the default webapp, // (and also add the cdm-webapp.war)
|
359
|
test with: mvn war:war -->
|
360
|
<plugin>
|
361
|
<groupId>org.apache.maven.plugins</groupId>
|
362
|
<artifactId>maven-war-plugin</artifactId>
|
363
|
<version>2.6</version>
|
364
|
<configuration>
|
365
|
<warName>default-webapp</warName>
|
366
|
<packagingExcludes>
|
367
|
cdm-webapp-*.war
|
368
|
</packagingExcludes>
|
369
|
<!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId>
|
370
|
<!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay
|
371
|
- -> </overlay> </overlays> -->
|
372
|
</configuration>
|
373
|
<executions>
|
374
|
<execution>
|
375
|
<phase>package</phase>
|
376
|
<goals>
|
377
|
<goal>war</goal>
|
378
|
</goals>
|
379
|
</execution>
|
380
|
</executions>
|
381
|
</plugin>
|
382
|
<!-- ====== INSTALL ====== -->
|
383
|
<plugin>
|
384
|
<!-- Assemble the runnable server jar test with: mvn assembly:single -->
|
385
|
<groupId>org.apache.maven.plugins</groupId>
|
386
|
<artifactId>maven-assembly-plugin</artifactId>
|
387
|
<version>2.5.3</version>
|
388
|
<configuration>
|
389
|
<appendAssemblyId>false</appendAssemblyId>
|
390
|
<descriptors>
|
391
|
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
392
|
</descriptors>
|
393
|
<archive>
|
394
|
<manifest>
|
395
|
<mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
|
396
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
397
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
398
|
</manifest>
|
399
|
</archive>
|
400
|
</configuration>
|
401
|
<executions>
|
402
|
<execution>
|
403
|
<id>make-assembly</id>
|
404
|
<phase>install</phase>
|
405
|
<goals>
|
406
|
<goal>attached</goal>
|
407
|
</goals>
|
408
|
</execution>
|
409
|
</executions>
|
410
|
</plugin>
|
411
|
<plugin>
|
412
|
<!-- Build a Debian package -->
|
413
|
<groupId>org.apache.maven.plugins</groupId>
|
414
|
<artifactId>maven-antrun-plugin</artifactId>
|
415
|
<version>1.8</version>
|
416
|
<executions>
|
417
|
<execution>
|
418
|
<phase>install</phase>
|
419
|
<configuration>
|
420
|
<tasks>
|
421
|
<property name="project.fullversionstring" value="${project.version}" />
|
422
|
<property name="project.version" value="${project.version}" />
|
423
|
<ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
|
424
|
</tasks>
|
425
|
</configuration>
|
426
|
<goals>
|
427
|
<goal>run</goal>
|
428
|
</goals>
|
429
|
</execution>
|
430
|
</executions>
|
431
|
</plugin>
|
432
|
<!-- Build windows installer -->
|
433
|
<plugin>
|
434
|
<groupId>org.codehaus.mojo</groupId>
|
435
|
<artifactId>exec-maven-plugin</artifactId>
|
436
|
<version>1.3.2</version>
|
437
|
<executions>
|
438
|
<execution>
|
439
|
<phase>install</phase>
|
440
|
<goals>
|
441
|
<goal>exec</goal>
|
442
|
</goals>
|
443
|
</execution>
|
444
|
</executions>
|
445
|
<configuration>
|
446
|
<executable>makensis</executable>
|
447
|
<!-- optional -->
|
448
|
<workingDirectory>/tmp</workingDirectory>
|
449
|
<arguments>
|
450
|
<!-- <argument>-V3</argument> -->
|
451
|
<argument>${project.basedir}/target/installer/win32/setup.nsi</argument>
|
452
|
</arguments>
|
453
|
</configuration>
|
454
|
</plugin>
|
455
|
<!-- ====== DEPLOY ====== -->
|
456
|
<plugin>
|
457
|
<groupId>org.apache.maven.plugins</groupId>
|
458
|
<artifactId>maven-deploy-plugin</artifactId>
|
459
|
<version>2.8.2</version>
|
460
|
</plugin>
|
461
|
<plugin>
|
462
|
<groupId>external.atlassian.jgitflow</groupId>
|
463
|
<artifactId>jgitflow-maven-plugin</artifactId>
|
464
|
<version>1.0-m6</version>
|
465
|
<configuration>
|
466
|
<pushHotfixes>true</pushHotfixes>
|
467
|
<pushReleases>true</pushReleases>
|
468
|
<enableSshAgent>true</enableSshAgent>
|
469
|
<allowSnapshots>true</allowSnapshots>
|
470
|
<allowUntracked>true</allowUntracked>
|
471
|
</configuration>
|
472
|
<dependencies>
|
473
|
<!--
|
474
|
upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
|
475
|
in order have ssl key exchange algorithms compatible with openssh 6.7
|
476
|
-->
|
477
|
<dependency>
|
478
|
<groupId>com.jcraft</groupId>
|
479
|
<artifactId>jsch</artifactId>
|
480
|
<version>0.1.53</version>
|
481
|
</dependency>
|
482
|
</dependencies>
|
483
|
</plugin>
|
484
|
<plugin>
|
485
|
<groupId>org.codehaus.mojo</groupId>
|
486
|
<artifactId>wagon-maven-plugin</artifactId>
|
487
|
<version>1.0</version>
|
488
|
<!-- Problems with the wagon-maven-plugin have been encounterd on
|
489
|
Windows, it should work properly on linux though. -->
|
490
|
<executions>
|
491
|
<execution>
|
492
|
<phase>deploy</phase>
|
493
|
<goals>
|
494
|
<goal>upload</goal>
|
495
|
</goals>
|
496
|
</execution>
|
497
|
</executions>
|
498
|
<configuration>
|
499
|
<fromDir>target</fromDir>
|
500
|
<includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
|
501
|
<url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
|
502
|
<serverId>wp5.e-taxonomy.eu</serverId>
|
503
|
</configuration>
|
504
|
</plugin>
|
505
|
</plugins>
|
506
|
<!-- EXTENSIONS -->
|
507
|
<extensions>
|
508
|
<extension>
|
509
|
<groupId>org.apache.maven.wagon</groupId>
|
510
|
<artifactId>wagon-scm</artifactId>
|
511
|
<version>1.0-beta-6</version>
|
512
|
</extension>
|
513
|
<extension>
|
514
|
<groupId>org.apache.maven.wagon</groupId>
|
515
|
<artifactId>wagon-ssh</artifactId>
|
516
|
<version>1.0-beta-6</version>
|
517
|
</extension>
|
518
|
<extension>
|
519
|
<groupId>org.apache.maven.wagon</groupId>
|
520
|
<artifactId>wagon-ssh-external</artifactId>
|
521
|
<version>1.0-beta-6</version>
|
522
|
</extension>
|
523
|
<extension>
|
524
|
<groupId>org.apache.maven.scm</groupId>
|
525
|
<artifactId>maven-scm-manager-plexus</artifactId>
|
526
|
<version>1.0</version>
|
527
|
</extension>
|
528
|
<extension>
|
529
|
<groupId>org.apache.maven.scm</groupId>
|
530
|
<artifactId>maven-scm-provider-svnexe</artifactId>
|
531
|
<version>1.0</version>
|
532
|
</extension>
|
533
|
<!-- WebDAV plugin to upload snapshots -->
|
534
|
<extension>
|
535
|
<groupId>org.apache.maven.wagon</groupId>
|
536
|
<artifactId>wagon-webdav</artifactId>
|
537
|
<version>1.0-beta-2</version>
|
538
|
</extension>
|
539
|
</extensions>
|
540
|
</build>
|
541
|
|
542
|
<reporting>
|
543
|
<plugins>
|
544
|
<plugin>
|
545
|
<!-- you will want to start by publishing your classes' Javadocs -->
|
546
|
<groupId>org.apache.maven.plugins</groupId>
|
547
|
<artifactId>maven-javadoc-plugin</artifactId>
|
548
|
<configuration>
|
549
|
<links>
|
550
|
<link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
|
551
|
<!-- more libraries? -->
|
552
|
</links>
|
553
|
</configuration>
|
554
|
</plugin>
|
555
|
<plugin>
|
556
|
<!-- this will generate an indexed and cross-referenced HTML version
|
557
|
of your source code -->
|
558
|
<groupId>org.apache.maven.plugins</groupId>
|
559
|
<artifactId>maven-jxr-plugin</artifactId>
|
560
|
<version>2.5</version>
|
561
|
</plugin>
|
562
|
<plugin>
|
563
|
<!-- if you use @todo tags to remind you of things to be done (which
|
564
|
is a good coding practice), the taglist report will generate a list of all
|
565
|
the items marked @todo or TODO -->
|
566
|
<groupId>org.codehaus.mojo</groupId>
|
567
|
<artifactId>taglist-maven-plugin</artifactId>
|
568
|
<version>2.4</version>
|
569
|
</plugin>
|
570
|
<plugin>
|
571
|
<!-- Test coverage can be a useful indication of the quality of your
|
572
|
unit tests. It basically tells you how much of your code is actually run
|
573
|
by your unit tests, which, in turn, can give you a good idea of the tests'
|
574
|
quality -->
|
575
|
<groupId>org.codehaus.mojo</groupId>
|
576
|
<artifactId>cobertura-maven-plugin</artifactId>
|
577
|
<version>2.7</version>
|
578
|
</plugin>
|
579
|
|
580
|
|
581
|
</plugins>
|
582
|
</reporting>
|
583
|
<!-- DISTRIBUTION MANAGEMENT -->
|
584
|
<distributionManagement>
|
585
|
<site>
|
586
|
<id>wp5.e-taxonomy.eu</id>
|
587
|
<url>
|
588
|
scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server
|
589
|
</url>
|
590
|
</site>
|
591
|
<repository>
|
592
|
<uniqueVersion>false</uniqueVersion>
|
593
|
<id>wp5.e-taxonomy.eu</id>
|
594
|
<name>Edit Maven Repository</name>
|
595
|
<url>
|
596
|
scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
|
597
|
</url>
|
598
|
</repository>
|
599
|
</distributionManagement>
|
600
|
|
601
|
<dependencies>
|
602
|
<!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts.
|
603
|
The cdm-server Bootlader however relies on a specific name of the cdm-webapp
|
604
|
war file. In order to achieve this with maven 3 the below dependency is now
|
605
|
handled more explicitely by utilizing the dependency:copy-dependencies gloal
|
606
|
in the build/plugins section -->
|
607
|
<!-- <dependency> -->
|
608
|
<!-- <groupId>eu.etaxonomy</groupId> -->
|
609
|
<!-- <artifactId>cdm-webapp</artifactId> -->
|
610
|
<!-- <version>${project.version}</version> -->
|
611
|
<!-- <type>war</type> -->
|
612
|
<!-- </dependency> -->
|
613
|
|
614
|
<!-- JETTY -->
|
615
|
<dependency>
|
616
|
<groupId>org.eclipse.jetty</groupId>
|
617
|
<artifactId>jetty-webapp</artifactId>
|
618
|
<version>${jetty-version}</version>
|
619
|
</dependency>
|
620
|
<dependency>
|
621
|
<groupId>org.eclipse.jetty</groupId>
|
622
|
<artifactId>jetty-plus</artifactId>
|
623
|
<version>${jetty-version}</version>
|
624
|
</dependency>
|
625
|
<dependency>
|
626
|
<groupId>org.eclipse.jetty</groupId>
|
627
|
<artifactId>jetty-jmx</artifactId>
|
628
|
<version>${jetty-version}</version>
|
629
|
</dependency>
|
630
|
<dependency>
|
631
|
<groupId>org.eclipse.jetty</groupId>
|
632
|
<artifactId>jetty-security</artifactId>
|
633
|
<version>${jetty-version}</version>
|
634
|
</dependency>
|
635
|
<dependency>
|
636
|
<groupId>org.eclipse.jetty</groupId>
|
637
|
<artifactId>jetty-annotations</artifactId>
|
638
|
<version>${jetty-version}</version>
|
639
|
</dependency>
|
640
|
<dependency>
|
641
|
<groupId>org.eclipse.jetty</groupId>
|
642
|
<artifactId>apache-jsp</artifactId>
|
643
|
<version>${jetty-version}</version>
|
644
|
<type>jar</type>
|
645
|
</dependency>
|
646
|
<dependency>
|
647
|
<groupId>org.eclipse.jetty</groupId>
|
648
|
<artifactId>apache-jstl</artifactId>
|
649
|
<version>${jetty-version}</version>
|
650
|
<type>pom</type>
|
651
|
</dependency>
|
652
|
<dependency>
|
653
|
<groupId>javax.el</groupId>
|
654
|
<artifactId>el-api</artifactId>
|
655
|
<version>2.2</version>
|
656
|
</dependency>
|
657
|
<dependency>
|
658
|
<groupId>el-impl</groupId>
|
659
|
<artifactId>el-impl</artifactId>
|
660
|
<version>1.0</version>
|
661
|
</dependency>
|
662
|
<dependency>
|
663
|
<groupId>javax.transaction</groupId>
|
664
|
<artifactId>jta</artifactId>
|
665
|
<version>1.1</version>
|
666
|
</dependency>
|
667
|
<!-- JSON -->
|
668
|
<dependency>
|
669
|
<groupId>org.codehaus.jackson</groupId>
|
670
|
<artifactId>jackson-mapper-asl</artifactId>
|
671
|
<version>1.9.11</version>
|
672
|
</dependency>
|
673
|
<!-- windows service -->
|
674
|
<dependency>
|
675
|
<groupId>tanukisoft</groupId>
|
676
|
<artifactId>wrapper</artifactId>
|
677
|
<version>3.2.3</version>
|
678
|
</dependency>
|
679
|
|
680
|
<!-- Logging -->
|
681
|
<dependency>
|
682
|
<groupId>org.slf4j</groupId>
|
683
|
<artifactId>slf4j-api</artifactId>
|
684
|
<version>1.7.13</version>
|
685
|
</dependency>
|
686
|
<dependency>
|
687
|
<groupId>org.slf4j</groupId>
|
688
|
<artifactId>slf4j-log4j12</artifactId>
|
689
|
<version>1.7.13</version>
|
690
|
</dependency>
|
691
|
<dependency>
|
692
|
<groupId>commons-cli</groupId>
|
693
|
<artifactId>commons-cli</artifactId>
|
694
|
<version>1.3.1</version>
|
695
|
</dependency>
|
696
|
<dependency>
|
697
|
<groupId>commons-io</groupId>
|
698
|
<artifactId>commons-io</artifactId>
|
699
|
<version>2.4</version>
|
700
|
</dependency>
|
701
|
<dependency>
|
702
|
<groupId>commons-collections</groupId>
|
703
|
<artifactId>commons-collections</artifactId>
|
704
|
<version>3.2.1</version>
|
705
|
</dependency>
|
706
|
<dependency>
|
707
|
<groupId>net.sf.jopt-simple</groupId>
|
708
|
<artifactId>jopt-simple</artifactId>
|
709
|
<version>4.9</version>
|
710
|
</dependency>
|
711
|
<dependency>
|
712
|
<groupId>com.mchange</groupId>
|
713
|
<artifactId>c3p0</artifactId>
|
714
|
<!--
|
715
|
IMPORTANT!!!
|
716
|
this must exactly match the version as set in
|
717
|
cdmlib-parent pom.xml otherwise the connection
|
718
|
through jndi will not work
|
719
|
-->
|
720
|
<version>0.9.5.2</version>
|
721
|
</dependency>
|
722
|
<!-- DATABASE DRIVER -->
|
723
|
<dependency>
|
724
|
<groupId>mysql</groupId>
|
725
|
<artifactId>mysql-connector-java</artifactId>
|
726
|
<version>5.1.38</version>
|
727
|
</dependency>
|
728
|
</dependencies>
|
729
|
|
730
|
</project>
|