Project

General

Profile

Download (61.1 KB) Statistics
| Branch: | Tag: | Revision:
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/maven-v4_0_0.xsd">
3
  <modelVersion>4.0.0</modelVersion>
4
  <groupId>eu.etaxonomy</groupId>
5
  <artifactId>cdmlib-parent</artifactId>
6
  <version>5.29.0-SNAPSHOT</version>
7
  <name>CDM Library</name>
8
  <description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.</description>
9
  <url>http://cybertaxonomy.eu/cdmlib/</url>
10
  <inceptionYear>2007</inceptionYear>
11
  <packaging>pom</packaging>
12
  <modules>
13
    <module>cdmlib-commons</module>
14
    <module>cdmlib-model</module>
15
	<module>cdmlib-api</module>
16
    <module>cdmlib-db</module>
17
    <module>cdmlib-test</module>
18
    <module>cdmlib-persistence</module>
19
    <module>cdmlib-services</module>
20
    <module>cdmlib-ext</module>
21
    <module>cdmlib-io</module>
22
    <module>cdmlib-remote</module>
23
    <module>cdmlib-print</module>
24
    <module>cdmlib-remote-webapp</module>
25
    <module>cdmlib-cache</module>
26
  </modules>
27
  <properties>    
28
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
30
    <java.codelevel>1.8</java.codelevel>
31
    <spring.version>4.3.30.RELEASE</spring.version>                                 <!-- checked 2020-08, further upgrade possible -->
32
    <spring-security.version>4.2.20.RELEASE</spring-security.version>               <!-- checked 2020-08, further upgrade possible -->
33
    <spring-security-oauth2.version>2.5.1.RELEASE</spring-security-oauth2.version>  <!-- checked 2020-08 -->
34
    <spring-cloud.version>1.1.3.RELEASE</spring-cloud.version>
35
	<hibernate.version>5.1.17.Final</hibernate.version>
36
	<hibernate-validator.version>6.1.5.Final</hibernate-validator.version>          <!-- checked 2020-08 -->
37
    <hibernate-search.version>5.5.2.Final</hibernate-search.version>
38
    <lucene.version>5.4.1</lucene.version>
39
	<unitils.version>3.4.6</unitils.version>
40
    <hsqldb.version>2.6.1</hsqldb.version>
41
    <httpcomponents.version>4.5.13</httpcomponents.version>
42
    <doxia.version>1.11.1</doxia.version>                <!-- checked 2021-12 -->
43
    <poi.version>4.1.2</poi.version>                    <!-- checked 2020-08 -->
44
    <jackson.version>2.13.1</jackson.version>           <!-- checked 2021-12 -->
45
	<commons-logging.version>1.2</commons-logging.version> <!-- checked 2020-08 -->
46
	<slf4j.version>1.7.30</slf4j.version>               <!-- checked 2020-08 -->
47
	<jaxb.version>2.3.3</jaxb.version>                 <!-- checked 2020-08, there is a newer version 3.0.0-MX, not checked if compatible -->
48
	<cglib.version>3.3.0</cglib.version>
49
	<aspectj.version>1.9.6</aspectj.version>            <!-- checked 2020-08 -->
50
	<geotools.version>23.2</geotools.version>           <!-- checked 2020-08 -->
51
    <dozer.version>6.5.2</dozer.version>                <!-- checked 2021-02 -->
52
    <javax.mail.version>1.5.6</javax.mail.version>      <!-- compatible to the one in spring-context-support/4.3.28.RELEASE -->
53
    <javadoc.opts>-Xdoclint:none</javadoc.opts>         
54
  </properties>
55
  
56
  <scm>
57
    <connection>scm:git:https://dev.e-taxonomy.eu/git/cdmlib.git</connection>
58
    <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdmlib.git</developerConnection>
59
    <url>https://dev.e-taxonomy.eu/gitweb/cdmlib.git/tree</url>
60
  </scm>
61
  
62
  <prerequisites>
63
    <maven>3.2.3</maven>
64
  </prerequisites>
65
  
66
    <mailingLists>
67
        <mailingList>
68
            <name>EDIT Platform Developers</name>
69
            <subscribe>
70
                https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
71
            </subscribe>
72
            <unsubscribe>
73
                https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
74
            </unsubscribe>
75
        </mailingList>
76
        <mailingList>
77
            <name>EDIT User</name>
78
            <subscribe>
79
                https://lists.fu-berlin.de/listinfo/edituser#subscribe
80
            </subscribe>
81
            <unsubscribe>
82
                https://lists.fu-berlin.de/listinfo/edituser#options
83
            </unsubscribe>
84
        </mailingList>
85
    </mailingLists>
86
  <licenses>
87
    <license>
88
      <name>Mozilla Public License Version 1.1</name>
89
      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
90
      <distribution>repo</distribution>
91
    </license>
92
  </licenses>
93
  <organization>
94
    <name>EDIT</name>
95
    <url>https://cybertaxonomy.eu/</url>
96
  </organization>
97
  <developers>
98
    <developer>
99
      <id>a.kohlbecker</id>
100
      <name>Andreas Kohlbecker</name>
101
      <email>a.kohlbecker [at] bgbm.org</email>
102
      <organization>Botanical Garden Botanical Museum Berlin</organization>
103
      <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
104
      <timezone>+1</timezone>
105
      <roles>
106
        <role>Architect</role>
107
        <role>Java Developer</role>
108
        <role>Release Manager</role>
109
      </roles>
110
      <url />
111
    </developer>
112
    <developer>
113
      <id>k.luther</id>
114
      <name>Katja Luther</name>
115
      <email>k.luther [at] bgbm.org</email>
116
      <organization>Botanical Garden Botanical Museum Berlin</organization>
117
      <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
118
      <timezone>+1</timezone>
119
      <roles>
120
        <role>Java Developer</role>
121
      </roles>
122
      <url />
123
    </developer>
124
    <developer>
125
      <id>a.mueller</id>
126
      <name>Andreas Müller</name>
127
      <email>a.mueller [at] bgbm.org</email>
128
      <organization>Botanical Garden Botanical Museum Berlin</organization>
129
      <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
130
      <timezone>+1</timezone>
131
      <roles>
132
        <role>Architect</role>
133
        <role>Java Developer</role>
134
        <role>Release Manager</role>
135
      </roles>
136
      <url />
137
    </developer>
138
  </developers>
139
  <!--contributors> <contributor> <name>Test-Contributor</name> </contributor> 
140
    </contributors -->
141
  <issueManagement>
142
    <system>Redmine</system>
143
    <url>https://dev.e-taxonomy.eu/redmine/projects/edit</url>
144
  </issueManagement>
145
  <ciManagement>
146
    <system>Jenkins</system>
147
    <url>https://int.e-taxonomy.eu/jenkins</url>
148
  </ciManagement>
149
  <!-- **** REPOSITORIES **** -->
150
  <profiles>
151
    <profile>
152
      <id>local-repository</id>
153
      <activation>
154
        <property>
155
          <name>localrepo</name>
156
        </property>
157
      </activation>
158
      <repositories>
159
        <repository>
160
          <id>EditLocalRepository</id>
161
          <url>file://${localrepo}/eu/etaxonomy/</url>
162
          <releases>
163
            <enabled>false</enabled>
164
            <updatePolicy>always</updatePolicy>
165
          </releases>
166
          <snapshots>
167
            <enabled>true</enabled>
168
            <updatePolicy>always</updatePolicy>
169
          </snapshots>
170
        </repository>
171
      </repositories>
172
    </profile>
173
  </profiles>
174
  <repositories>
175
    <!-- the cdm internal repository -->
176
    <repository>
177
      <id>EditRepository</id>
178
      <url>https://cybertaxonomy.eu/mavenrepo/</url>
179
    </repository>
180
    <!-- apache incubating repository -->
181
    <repository>
182
      <id>ApacheIncubating</id>
183
      <url>https://people.apache.org/repo/m2-incubating-repository/</url>
184
    </repository>
185
    <!-- Neccessary for hibernate-envers -->
186
    <repository>
187
  <!--    <releases>
188
        <enabled>true</enabled>
189
        <updatePolicy>always</updatePolicy>
190
        <checksumPolicy>warn</checksumPolicy>
191
      </releases>
192
      <snapshots>
193
        <enabled>false</enabled>
194
        <updatePolicy>never</updatePolicy>
195
        <checksumPolicy>fail</checksumPolicy>
196
      </snapshots>   -->
197
      <id>jboss-repository</id>
198
      <name>JBoss Repository</name>
199
      <url>https://repository.jboss.org</url>
200
    </repository>
201
    <repository>
202
    	<id>OSGeo Repository</id>
203
    	<url>https://repo.osgeo.org/repository/release/</url>
204
    </repository>
205
  </repositories>
206
  <!-- **** PLUGINS **** -->
207
  <build>
208
    <plugins>
209
      <plugin>
210
        <groupId>org.apache.maven.plugins</groupId>
211
        <artifactId>maven-compiler-plugin</artifactId>
212
		<version>2.3.2</version> 
213
        <configuration>
214
          <source>${java.codelevel}</source>
215
          <target>${java.codelevel}</target>
216
          <encoding>${project.build.sourceEncoding}</encoding>  <!-- necessary? should be covered by project. properties source encoding -->
217
		  <!-- to increase stacksize see #6404 -->
218
        </configuration>
219
      </plugin>
220
      <plugin>
221
        <groupId>org.apache.maven.plugins</groupId>
222
        <artifactId>maven-surefire-plugin</artifactId>
223
        <version>3.0.0-M5</version>  <!-- updated 2020-09 -->
224
        <configuration>
225
          <argLine>-Xmx512M -Dfile.encoding=${project.build.sourceEncoding}</argLine>
226
          <runOrder>alphabetical</runOrder>
227
          <includes>
228
            <include>**/*Test.java</include>
229
          </includes>
230
        </configuration>
231
      </plugin>
232
      <plugin>
233
          <groupId>org.apache.maven.plugins</groupId>
234
          <artifactId>maven-resources-plugin</artifactId>
235
          <version>3.0.2</version>
236
          <configuration>
237
              <encoding>${project.build.sourceEncoding}</encoding>
238
          </configuration>
239
      </plugin>
240
      <plugin>
241
        <groupId>org.codehaus.mojo</groupId>
242
        <artifactId>buildnumber-maven-plugin</artifactId>
243
        <version>1.0-beta-3</version>
244
        <executions>
245
          <execution>
246
            <!--<phase>deploy</phase> -->
247
            <goals>
248
              <goal>create</goal>
249
            </goals>
250
          </execution>
251
        </executions>
252
        <configuration>
253
          <doCheck>false</doCheck>
254
          <!-- Only create the build number if there are no local modifications -->
255
          <doUpdate>false</doUpdate>
256
          <!-- automatically update the local svn copy -->
257
        </configuration>
258
      </plugin>
259
      <plugin>
260
        <groupId>org.apache.maven.plugins</groupId>
261
        <artifactId>maven-site-plugin</artifactId>
262
        <version>3.3</version>
263
        <configuration>
264
          <locales>en</locales>
265
          <outputEncoding>UTF-8</outputEncoding><!-- necessary? should be covered by project. properties output encoding -->
266
          <!-- chmod: not not use chmod, rather adapt the umask of the user 
267
            at the server to which the site is deployed -->
268
          <chmod>false</chmod>
269
        </configuration>
270
      </plugin>
271
      <plugin>
272
        <groupId>org.apache.maven.plugins</groupId>
273
        <artifactId>maven-source-plugin</artifactId>
274
        <version>2.1.2</version>
275
        <executions>
276
          <execution>
277
            <id>attach-sources</id>
278
            <phase>verify</phase>
279
            <goals>
280
              <goal>jar</goal>
281
            </goals>
282
          </execution>
283
        </executions>
284
      </plugin>
285
      <plugin>
286
        <groupId>org.apache.maven.plugins</groupId>
287
        <artifactId>maven-javadoc-plugin</artifactId>
288
        <version>2.7</version>
289
        <configuration>
290
          <stylesheet>maven</stylesheet>
291
          <quiet>true</quiet>
292
          <detectLinks>true</detectLinks>
293
          <failOnError>false</failOnError>
294
          <additionalparam>${javadoc.opts}</additionalparam>
295
        </configuration>
296
        <executions>
297
          <execution>
298
            <id>aggregate</id>
299
            <goals>
300
              <goal>aggregate</goal>
301
            </goals>
302
            <phase>site</phase>
303
          </execution>
304
        </executions>
305
      </plugin>
306
      <plugin>
307
        <groupId>org.apache.maven.plugins</groupId>
308
        <artifactId>maven-eclipse-plugin</artifactId>
309
        <version>2.9</version>
310
        <configuration>
311
          <downloadSources>true</downloadSources>
312
          <downloadJavadocs>true</downloadJavadocs>
313
        </configuration>
314
      </plugin>
315
      <plugin>
316
        <groupId>com.agilejava.docbkx</groupId>
317
        <artifactId>docbkx-maven-plugin</artifactId>
318
        <version>2.0.9</version>
319
        <executions>
320
          <execution>
321
            <goals>
322
              <goal>generate-html</goal>
323
              <goal>generate-pdf</goal>
324
            </goals>
325
            <phase>pre-site</phase>
326
          </execution>
327
        </executions>
328
        <dependencies>
329
          <dependency>
330
            <groupId>org.docbook</groupId>
331
            <artifactId>docbook-xml</artifactId>
332
            <version>4.4</version>
333
            <scope>runtime</scope>
334
          </dependency>
335
        </dependencies>
336
        <configuration>
337
          <includes>ReferenceDocumentation.xml</includes>
338
          <chunkedOutput>true</chunkedOutput>
339
          <htmlStylesheet>resources/css/html.css</htmlStylesheet>
340
          <xincludeSupported>true</xincludeSupported>
341
          <!--<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization> -->
342
          <!-- if anyone can get the xsl-fo customization to work properly, 
343
            then by all means use it <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization> -->
344
          <entities>
345
            <entity>
346
              <name>version</name>
347
              <value>${project.version}</value>
348
            </entity>
349
          </entities>
350
          <!--We want the final documentation and the required resources 
351
            to end up in the right place -->
352
          <postProcess>
353
            <copy todir="target/site/reference">
354
              <fileset dir="target/docbkx">
355
                <include name="**/*.html" />
356
                <include name="**/*.pdf" />
357
              </fileset>
358
            </copy>
359
            <copy todir="target/site/reference/html">
360
              <fileset dir="src/docbkx">
361
                <include name="**/*.css" />
362
                <include name="**/*.png" />
363
                <include name="**/*.gif" />
364
                <include name="**/*.jpg" />
365
              </fileset>
366
            </copy>
367
          </postProcess>
368
        </configuration>
369
      </plugin>
370
      <plugin>
371
        <groupId>org.codehaus.mojo</groupId>
372
        <artifactId>wagon-maven-plugin</artifactId>
373
        <version>1.0-beta-3</version>
374
        <configuration>
375
          <fromDir>${project.build.directory}/docbkx/</fromDir>
376
          <includes>**/*</includes>
377
          <excludes />
378
          <url>scpexe://cybertaxonomy.eu</url>
379
          <serverId>cybertaxonomy.eu</serverId>
380
          <toDir>var/www/wp5.e-taxonomy.eu/cdmlib/reference/${project.version}</toDir>
381
        </configuration>
382
        <executions>
383
          <execution>
384
            <id>upload-reference-documentation</id>
385
            <phase>site-deploy</phase>
386
            <goals>
387
              <goal>upload</goal>
388
            </goals>
389
          </execution>
390
        </executions>
391
      </plugin>
392
      <plugin>
393
        <groupId>org.apache.maven.plugins</groupId>
394
        <artifactId>maven-release-plugin</artifactId>
395
        <version>2.1</version>
396
        <configuration>
397
          <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
398
          <autoVersionSubmodules>true</autoVersionSubmodules>
399
          <preparationGoals>clean verify install</preparationGoals>
400
          <goals>deploy</goals><!-- skipping site-deploy by explicitly configuring 
401
            the goal here -->
402
          <tagBase>http://dev.e-taxonomy.eu/svn/tags/cdmlib</tagBase>
403
        </configuration>
404
      </plugin>
405
      <plugin>
406
        <groupId>external.atlassian.jgitflow</groupId>
407
        <artifactId>jgitflow-maven-plugin</artifactId>
408
        <version>1.0-m6</version>
409
        <configuration>
410
          <pushHotfixes>true</pushHotfixes>
411
          <pushReleases>true</pushReleases> 
412
          <enableSshAgent>true</enableSshAgent>
413
          <allowSnapshots>true</allowSnapshots>
414
          <allowUntracked>true</allowUntracked>
415
        </configuration>
416
        <dependencies>
417
          <!-- 
418
                upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53 
419
                in order have ssl key exchange algorithms compatible with openssh 6.7 
420
             -->
421
          <dependency>
422
            <groupId>com.jcraft</groupId>
423
            <artifactId>jsch</artifactId>
424
            <version>0.1.53</version>
425
          </dependency>
426
        </dependencies>
427
      </plugin>
428
      <plugin>
429
        <groupId>org.apache.maven.plugins</groupId>
430
        <artifactId>maven-enforcer-plugin</artifactId>
431
        <version>3.0.0-M2</version>
432
        <executions>
433
          <execution>
434
            <id>enforce</id>
435
            <configuration>
436
              <fail>true</fail>
437
              <skip>false</skip>
438
              <rules>
439
                <dependencyConvergence />                
440
				<requireMavenVersion>
441
                  <version>[3.6.0,)</version>
442
                </requireMavenVersion>
443
              </rules>
444
            </configuration>
445
            <goals>
446
              <goal>enforce</goal>
447
              <!-- Binds by default to the lifecycle phase: validate -->
448
            </goals>
449
          </execution>
450
        </executions>
451
      </plugin>
452
    </plugins>
453
    <extensions>
454
      <extension>
455
        <groupId>org.apache.maven.wagon</groupId>
456
        <artifactId>wagon-scm</artifactId>
457
        <version>1.0-beta-6</version>
458
      </extension>
459
      <extension>
460
        <groupId>org.apache.maven.wagon</groupId>
461
        <artifactId>wagon-ssh</artifactId>
462
        <version>1.0-beta-6</version>
463
      </extension>
464
      <extension>
465
        <groupId>org.apache.maven.wagon</groupId>
466
        <artifactId>wagon-ssh-external</artifactId>
467
        <version>1.0-beta-6</version>
468
      </extension>
469
      <extension>
470
        <groupId>org.apache.maven.scm</groupId>
471
        <artifactId>maven-scm-manager-plexus</artifactId>
472
        <version>1.0</version>
473
      </extension>
474
      <extension>
475
        <groupId>org.apache.maven.scm</groupId>
476
        <artifactId>maven-scm-provider-svnexe</artifactId>
477
        <version>1.0</version>
478
      </extension>
479
      <!-- WebDAV plugin to upload snapshots -->
480
      <extension>
481
        <groupId>org.apache.maven.wagon</groupId>
482
        <artifactId>wagon-webdav</artifactId>
483
        <version>1.0-beta-2</version>
484
      </extension>
485
    </extensions>
486
    <pluginManagement>
487
      <plugins>
488
        <plugin>
489
          <groupId>org.apache.maven.plugins</groupId>
490
          <artifactId>maven-antrun-plugin</artifactId>
491
          <version>3.0.0</version>
492
        </plugin>
493
      </plugins>  
494
    </pluginManagement>
495
  </build>
496
  <reporting>
497
    <plugins>
498
      <plugin>
499
        <!-- you will want to start by publishing your classes' Javadocs -->
500
        <groupId>org.apache.maven.plugins</groupId>
501
        <artifactId>maven-javadoc-plugin</artifactId>
502
        <version>2.7</version>
503
        <configuration>
504
          <detectLinks>true</detectLinks>
505
          <additionalparam>${javadoc.opts}</additionalparam>
506
        </configuration>
507
      </plugin>
508
      <plugin>
509
        <!-- this will generate an indexed and cross-referenced HTML version 
510
          of your source code -->
511
        <groupId>org.apache.maven.plugins</groupId>
512
        <artifactId>maven-jxr-plugin</artifactId>
513
        <version>2.2</version>
514
      </plugin>
515
      <plugin>
516
        <!-- if you use @todo tags to remind you of things to be done (which 
517
          is a good coding practice), the taglist report will generate a list of all 
518
          the items marked @todo or TODO -->
519
        <groupId>org.codehaus.mojo</groupId>
520
        <artifactId>taglist-maven-plugin</artifactId>
521
        <version>2.4</version>
522
      </plugin>
523
      <plugin>
524
        <!-- Test coverage can be a useful indication of the quality of your 
525
          unit tests. It basically tells you how much of your code is actually run 
526
          by your unit tests, which, in turn, can give you a good idea of the tests' 
527
          quality -->
528
        <groupId>org.codehaus.mojo</groupId>
529
        <artifactId>cobertura-maven-plugin</artifactId>
530
        <version>2.4</version>
531
        <!-- <executions> <execution> <id>clean</id> <phase>clean</phase> 
532
          <goals> <goal>clean</goal> </goals> </execution> </executions> -->
533
      </plugin>
534
      <!-- -->
535
      <plugin>
536
        <groupId>org.apache.maven.plugins</groupId>
537
        <artifactId>maven-project-info-reports-plugin</artifactId>
538
        <version>2.8</version>
539
        <configuration>
540
          <!-- when the dependencyLocations option is enabled maven will 
541
            determine if resources are located within a given repository. If that repository 
542
            doesn’t exist anyomore or is just terribly slow and will produce tons of 
543
            line in the log starting with: '[ERROR] Unable to determine if resource ...' 
544
            This will slow down site build drastically, therefore we disable this option 
545
            here. -->
546
          <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
547
        </configuration>
548
        <!-- just the deafault <reportSets> <reportSet> <reports> <report>dependencies</report> 
549
          <report>project-team</report> <report>mailing-list</report> <report>cim</report> 
550
          <report>issue-tracking</report> <report>license</report> <report>scm</report> 
551
          </reports> </reportSet> </reportSets> -->
552
      </plugin>
553
      <!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml) 
554
        to track releases and changes in each release -->
555
      <plugin>
556
        <groupId>org.apache.maven.plugins</groupId>
557
        <artifactId>maven-changes-plugin</artifactId>
558
        <version>2.3</version>
559
        <configuration>
560
          <issueLinkTemplatePerSystem>
561
            <default>%URL%/ticket/%ISSUE%</default>
562
          </issueLinkTemplatePerSystem>
563
        </configuration>
564
        <reportSets>
565
          <reportSet>
566
            <reports>
567
              <report>changes-report</report>
568
            </reports>
569
          </reportSet>
570
        </reportSets>
571
      </plugin>
572
      <!-- The changelog plug-in generates a nice report describing which 
573
        files have been changed and by whom -->
574
      <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>changelog-maven-plugin</artifactId> 
575
        </plugin> -->
576
    </plugins>
577

    
578
  </reporting>
579
  <!-- DISTRIBUTION MANAGEMENT -->
580
  <distributionManagement>
581
    <site>
582
      <id>cybertaxonomy.eu</id>
583
      <name>CDM Library Website</name>
584
      <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/cdmlib/</url>
585
    </site>
586
    <repository>
587
      <uniqueVersion>false</uniqueVersion>
588
      <id>cybertaxonomy.eu</id>
589
      <name>Edit Maven Repository</name>
590
      <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
591
      <layout>default</layout>
592
    </repository>
593
  </distributionManagement>
594
  <!-- **** DEPENDENCIES **** -->
595
  <dependencies>
596
    <dependency>
597
      <!-- junit is required for all module tests, also those not depending on cdmlib-test, so it is added here on parent level with test scope -->
598
      <groupId>junit</groupId>
599
      <artifactId>junit</artifactId>
600
      <scope>test</scope>
601
    </dependency>
602
  </dependencies>
603
  <dependencyManagement>
604
    <dependencies>
605
      <dependency>
606
        <groupId>eu.etaxonomy</groupId>
607
        <artifactId>cdmlib-commons</artifactId>
608
        <version>${project.version}</version>
609
      </dependency>
610
      <dependency>
611
        <groupId>eu.etaxonomy</groupId>
612
        <artifactId>cdmlib-model</artifactId>
613
        <version>${project.version}</version>
614
      </dependency>
615
      <dependency>
616
        <groupId>eu.etaxonomy</groupId>
617
        <artifactId>cdmlib-api</artifactId>
618
        <version>${project.version}</version>
619
      </dependency>
620
      <dependency>
621
        <groupId>eu.etaxonomy</groupId>
622
        <artifactId>cdmlib-persistence</artifactId>
623
        <version>${project.version}</version>
624
      </dependency>
625
      <dependency>
626
        <groupId>eu.etaxonomy</groupId>
627
        <artifactId>cdmlib-services</artifactId>
628
        <version>${project.version}</version>
629
      </dependency>
630
      <dependency>
631
        <groupId>eu.etaxonomy</groupId>
632
        <artifactId>cdmlib-io</artifactId>
633
        <version>${project.version}</version>
634
      </dependency>
635
      <dependency>
636
        <groupId>eu.etaxonomy</groupId>
637
        <artifactId>cdmlib-remote</artifactId>
638
        <version>${project.version}</version>
639
      </dependency>
640
      <dependency>
641
        <groupId>eu.etaxonomy</groupId>
642
        <artifactId>cdmlib-remote-webapp</artifactId>
643
        <version>${project.version}</version>
644
      </dependency>
645
      <dependency>
646
        <groupId>eu.etaxonomy</groupId>
647
        <artifactId>cdm-server</artifactId>
648
        <version>${project.version}</version>
649
      </dependency>
650
      <dependency>
651
        <groupId>eu.etaxonomy</groupId>
652
        <artifactId>cdmlib-ext</artifactId>
653
        <version>${project.version}</version>
654
      </dependency>
655
      <dependency>
656
        <groupId>eu.etaxonomy</groupId>
657
        <artifactId>cdmlib-print</artifactId>
658
        <version>${project.version}</version>
659
      </dependency>
660
      
661
      <!--*********** JAXB********* -->
662
      <dependency>
663
        <groupId>jakarta.xml.bind</groupId>
664
        <artifactId>jakarta.xml.bind-api</artifactId>
665
        <version>${jaxb.version}</version>  <!-- not sure if jaxb.version is always the same -->
666
      </dependency>
667
<!--       <dependency> -->
668
<!--         replaced by jakarta.xml.bind-api -->
669
<!--         <groupId>javax.xml.bind</groupId> -->
670
<!--         <artifactId>jaxb-api</artifactId> -->
671
<!--         <version>2.3.1</version> -->
672
<!--         checked 2020-08 -->
673
<!--       </dependency> -->
674
      <dependency>
675
         <!-- dependency for jaxb-api -->
676
         <groupId>javax.activation</groupId>
677
         <artifactId>javax.activation-api</artifactId>
678
         <version>1.2.0</version>
679
         <!-- checked 2020-08 -->
680
      </dependency>
681
 	  <dependency>
682
		<groupId>org.glassfish.jaxb</groupId>
683
		<artifactId>jaxb-runtime</artifactId>
684
		<version>${jaxb.version}</version>
685
	  </dependency>
686
	  <dependency>
687
		<groupId>org.glassfish.jaxb</groupId>
688
		<artifactId>jaxb-jxc</artifactId>
689
		<version>${jaxb.version}</version>
690
	  </dependency>
691
      <dependency>
692
          <!-- currently required as xsom references older version -->
693
          <groupId>com.sun.xml.bind.external</groupId>
694
          <artifactId>relaxng-datatype</artifactId>
695
          <version>${jaxb.version}</version>
696
      </dependency>
697
      <dependency>
698
          <!-- jaxb-runtime dependency -->
699
          <groupId>jakarta.activation</groupId>
700
          <artifactId>jakarta.activation-api</artifactId>
701
          <version>1.2.2</version>
702
      </dependency>
703
      <!--  JAB END -->
704
      
705
	  <dependency>
706
	    <!-- only for version management org.apache.ant:ant depends in different versions from 
707
             org.unitils:unitils-easymock:3.4.2 and org.glassfish.jaxb:jaxb-jxc:2.2.11 -->
708
	    <groupId>org.apache.ant</groupId>
709
	    <artifactId>ant</artifactId>
710
	    <version>1.10.12</version>
711
	  </dependency>
712
      <!-- ******* hibernate uses slf4j ******* -->
713
      <dependency>
714
        <groupId>org.slf4j</groupId>
715
        <artifactId>slf4j-api</artifactId>
716
        <version>${slf4j.version}</version>
717
      </dependency>
718
      <dependency>
719
        <groupId>org.slf4j</groupId>
720
        <artifactId>slf4j-log4j12</artifactId>
721
        <version>${slf4j.version}</version>
722
      </dependency>
723
	  <dependency>
724
        <!-- try to generally exclude -nop as we try to use log4j12, this is done already for unitils -->
725
        <groupId>org.slf4j</groupId>
726
        <artifactId>slf4j-nop</artifactId>
727
        <version>${slf4j.version}</version>
728
      </dependency>
729
      <!-- ******* testing ******* -->
730
      <dependency>
731
        <groupId>junit</groupId>
732
        <artifactId>junit</artifactId>
733
        <version>4.13.2</version>
734
        <scope>test</scope>
735
      </dependency>
736
      <dependency>
737
        <groupId>com.carrotsearch</groupId>
738
        <artifactId>junit-benchmarks</artifactId>
739
        <version>0.7.2</version>
740
        <scope>test</scope>
741
      </dependency>
742
      <dependency>
743
        <groupId>org.unitils</groupId>
744
        <artifactId>unitils-core</artifactId>
745
        <version>${unitils.version}</version>
746
        <!-- <scope>test</scope> unscoped since we need this dependency at 
747
          compile time in persistence for H2DbSupport.java -->
748
      </dependency>
749
      <dependency>
750
        <groupId>org.unitils</groupId>
751
        <artifactId>unitils-database</artifactId>
752
        <version>${unitils.version}</version>
753
     <!--    <scope>test</scope>  -->
754
        <exclusions>
755
          <exclusion>
756
            <groupId>org.springframework</groupId>
757
            <artifactId>spring-jdbc</artifactId>
758
          </exclusion>
759
        </exclusions>
760
      </dependency>
761
      <dependency>
762
        <groupId>org.unitils</groupId>
763
        <artifactId>unitils-dbmaintainer</artifactId>
764
        <version>${unitils.version}</version>
765
     <!--    <scope>test</scope>  -->
766
        <exclusions>
767
          <exclusion>
768
            <groupId>org.hibernate</groupId>
769
            <artifactId>hibernate</artifactId>
770
          </exclusion>
771
          <exclusion>
772
            <groupId>org.slf4j</groupId>
773
            <artifactId>slf4j-nop</artifactId>
774
          </exclusion>
775
        </exclusions>
776
      </dependency>
777
      <dependency>
778
        <groupId>org.objenesis</groupId>
779
        <artifactId>objenesis</artifactId>
780
        <version>3.2</version>
781
      </dependency>
782
      <dependency>
783
        <groupId>org.unitils</groupId>
784
        <artifactId>unitils-dbunit</artifactId>
785
        <version>${unitils.version}</version>
786
     <!--    <scope>test</scope>  -->
787
      </dependency>
788
      <dependency>
789
        <groupId>org.unitils</groupId>
790
        <artifactId>unitils-easymock</artifactId>
791
        <version>${unitils.version}</version>
792
     <!--    <scope>test</scope>  -->
793
      </dependency>
794
      <dependency>
795
        <groupId>org.unitils</groupId>
796
        <artifactId>unitils-mock</artifactId>
797
        <version>${unitils.version}</version>
798
     <!--    <scope>test</scope>  -->
799
      </dependency>
800
      <dependency>
801
        <groupId>org.unitils</groupId>
802
        <artifactId>unitils-inject</artifactId>
803
        <version>${unitils.version}</version>
804
     <!--    <scope>test</scope>  -->
805
      </dependency>
806
      <dependency>
807
        <groupId>org.unitils</groupId>
808
        <artifactId>unitils-orm</artifactId>
809
        <version>${unitils.version}</version>
810
     <!--    <scope>test</scope>  -->
811
        <exclusions>
812
          <exclusion>
813
            <groupId>javax.persistence</groupId>
814
            <artifactId>persistence-api</artifactId>
815
          </exclusion>
816
        </exclusions>
817
      </dependency>
818
      <dependency>
819
        <groupId>org.unitils</groupId>
820
        <artifactId>unitils-spring</artifactId>
821
        <version>${unitils.version}</version>
822
     <!--    <scope>test</scope>  -->
823
      </dependency>
824
      <dependency>
825
        <groupId>xmlunit</groupId>
826
        <artifactId>xmlunit</artifactId>
827
        <version>1.6</version>
828
     <!--    <scope>test</scope>  -->
829
      </dependency>
830
  <!--    <dependency>
831
        <groupId>org.dbunit</groupId>
832
        <artifactId>dbunit</artifactId>
833
        <version>2.4.9</version>  -->
834
     <!--    <scope>test</scope>  -->
835
  <!--    </dependency>   -->
836
      <!-- dependency of unitils-database, but with lower number there , 
837
        higher number needed for compatibility with current hibernate and Java 1.6 
838
        PreparedStatement -->
839
      <dependency>
840
        <groupId>commons-dbcp</groupId>
841
        <artifactId>commons-dbcp</artifactId>
842
        <version>1.4</version>
843
        <!-- <scope>test</scope> -->
844
      </dependency>
845
	  <dependency>
846
		<groupId>eu.etaxonomy</groupId>
847
		<artifactId>cdmlib-test</artifactId>
848
     <!--    <scope>test</scope>  -->
849
		<version>${project.version}</version>
850
	  </dependency>
851
      <dependency>
852
        <!-- used in cdmlib-services for the EmailSendTest -->
853
        <groupId>org.subethamail</groupId>
854
        <artifactId>subethasmtp</artifactId>
855
        <version>3.1.7</version>
856
        <scope>test</scope>
857
      </dependency>
858
      <dependency>
859
        <groupId>javax.activation</groupId>
860
        <artifactId>activation</artifactId>
861
        <version>1.1.1</version>
862
      </dependency>
863
      <!-- ******* aspect ******* -->
864
      <dependency>
865
        <!-- not really needed as long as aspectjweaver is on classpath which is a superset of aspectjrt -->
866
        <groupId>org.aspectj</groupId>
867
        <artifactId>aspectjrt</artifactId>
868
        <version>${aspectj.version}</version>
869
      </dependency>
870
      <dependency>
871
        <groupId>org.aspectj</groupId>
872
        <artifactId>aspectjweaver</artifactId>
873
        <version>${aspectj.version}</version>
874
      </dependency>
875
      <!-- ******* VARIOUS ******* -->
876
      <dependency>
877
        <groupId>xml-resolver</groupId>
878
        <artifactId>xml-resolver</artifactId>
879
        <version>1.2</version>
880
        <!-- checked 2020-08 -->
881
      </dependency>
882
      
883
      <dependency>
884
        <groupId>log4j</groupId>
885
        <artifactId>log4j</artifactId>
886
        <version>1.2.17</version>
887
      </dependency>
888
      <dependency>
889
        <groupId>net.sf.opencsv</groupId>
890
        <artifactId>opencsv</artifactId>
891
        <version>2.3</version>
892
      </dependency>
893
      <dependency>
894
        <groupId>org.osgi</groupId>
895
        <artifactId>osgi.core</artifactId>
896
        <version>7.0.0</version>
897
      </dependency>
898
      <dependency>
899
        <groupId>cglib</groupId>
900
        <artifactId>cglib-nodep</artifactId>
901
        <version>${cglib.version}</version>
902
      </dependency>
903
      <!-- <dependency> -->
904
      <!-- we try to have only dependencies to cglib-nodep to reduce size and to avoid
905
           having 2 similar libraries. #9206  -->
906
<!--         <groupId>cglib</groupId> -->
907
<!--         <artifactId>cglib</artifactId> -->
908
<!--         <version>${cglib.version}</version> -->
909
<!--       </dependency> -->
910
      <dependency>
911
        <groupId>commons-lang</groupId>
912
        <artifactId>commons-lang</artifactId>
913
        <version>2.6</version>
914
      </dependency>
915
      <dependency>
916
        <groupId>org.apache.commons</groupId>
917
        <artifactId>commons-lang3</artifactId>
918
        <version>3.12.0</version>
919
      </dependency>
920
      <dependency>
921
        <groupId>commons-collections</groupId>
922
        <artifactId>commons-collections</artifactId>
923
        <version>3.2.2</version>
924
      </dependency>
925
      <dependency>
926
        <groupId>org.apache.httpcomponents</groupId>
927
        <artifactId>httpclient</artifactId>
928
        <version>${httpcomponents.version}</version>
929
      </dependency>
930
      <dependency>
931
        <groupId>org.apache.httpcomponents</groupId>
932
        <artifactId>httpcore</artifactId>
933
        <!-- Note: version differs from default httpcomponents version -->
934
        <version>4.4.15</version>
935
      </dependency>
936
      <dependency>
937
        <groupId>commons-io</groupId>
938
        <artifactId>commons-io</artifactId>
939
        <version>2.11.0</version>
940
      </dependency>
941
      <dependency>
942
          <groupId>org.apache.commons</groupId>
943
          <artifactId>commons-compress</artifactId>
944
          <version>1.21</version>
945
      </dependency>
946
      <dependency>
947
          <groupId>org.checkerframework</groupId>
948
          <artifactId>checker-qual</artifactId>
949
          <version>3.6.0</version>
950
      </dependency>
951
      <!-- only for version management, poi currently requires 1.6, commons-logging 
952
        1.1.1 requires 1.6, so we update here to the latest version -->
953
      <dependency>
954
        <groupId>commons-codec</groupId>
955
        <artifactId>commons-codec</artifactId>
956
        <version>1.15</version>
957
      </dependency>
958
      <!-- only for version management, httpcore:4.2.4, commons-beanutils:1.8.3, 
959
        commons-collections:3.2.1 currently require 1.1.1 , httpclient:4.2.3, spring-modules-cache 
960
        require 1.1 and batik-ext requires 1.0.4, so we update here to the latest 
961
        version 1.1.2, poi and springframework require 1.1.3 -->
962
      <dependency>
963
        <groupId>commons-logging</groupId>
964
        <artifactId>commons-logging</artifactId>
965
        <version>${commons-logging.version}</version>
966
      </dependency>
967
      <!-- only for version management, hibernate-commons-annotations:4.0.1.Final 
968
        requires 3.1.0.CR2 , so we update 
969
        here to the latest version 3.4.1.Final -->
970
      <dependency>
971
        <groupId>org.jboss.logging</groupId>
972
        <artifactId>jboss-logging</artifactId>
973
        <version>3.4.1.Final</version>
974
        <!-- checked 2020-08 -->
975
      </dependency>
976
<!-- 	  <dependency> -->
977
<!-- 	    see note in cdmib-persistence pom  -->
978
<!--         <groupId>javax.transaction</groupId> -->
979
<!--         <artifactId>jta</artifactId> -->
980
<!--         <version>1.1</version> -->
981
<!--       </dependency>   -->
982
		
983
      <!-- TODO xerces xmlParserAPIs duplicates many classes from jre and 
984
        xml-apis. It is a dependency that comes with xom:xom -->
985
      <dependency>
986
        <groupId>org.apache.jena</groupId>
987
        <artifactId>jena-tdb</artifactId>
988
        <version>1.1.2</version>
989
      </dependency>
990

    
991
      <dependency>
992
        <groupId>net.sf.ezmorph</groupId>
993
        <artifactId>ezmorph</artifactId>
994
        <version>1.0.6</version>
995
      </dependency>
996
      <dependency>
997
        <groupId>commons-beanutils</groupId>
998
        <artifactId>commons-beanutils</artifactId>
999
        <version>1.9.4</version>
1000
      </dependency>
1001
      <dependency>
1002
        <groupId>net.sf.json-lib</groupId>
1003
        <artifactId>json-lib</artifactId>
1004
        <version>2.4</version>
1005
        <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
1006
        <classifier>jdk15</classifier>
1007
      </dependency>
1008
      <!-- media  -->
1009
      <dependency>
1010
        <groupId>org.devlib.schmidt</groupId>
1011
        <artifactId>imageinfo</artifactId>
1012
        <version>1.9</version>
1013
      </dependency>
1014
       <dependency>
1015
        <groupId>de.digitalcollections.iiif</groupId>
1016
        <artifactId>iiif-apis</artifactId>
1017
        <version>0.3.9</version>
1018
      </dependency>
1019
<!--       <dependency> -->
1020
<!--         only for version management iterators depends in different versions from -->
1021
<!--               de.digitalcollections.iiif:iiif-apis:0.3.9 -->
1022
<!--       	<groupId>org.dmfs</groupId> -->
1023
<!--       	<artifactId>iterators</artifactId> -->
1024
<!--       	<version>1.5</version> -->
1025
<!--       </dependency> -->
1026
      <!--         -->
1027
      <dependency>
1028
        <groupId>org.apache.poi</groupId>
1029
        <artifactId>poi</artifactId>
1030
        <version>${poi.version}</version>
1031
      </dependency>
1032
      <dependency>
1033
        <groupId>org.apache.poi</groupId>
1034
        <artifactId>poi-ooxml-schemas</artifactId>
1035
        <version>${poi.version}</version>
1036
      </dependency>
1037
      <dependency>
1038
        <groupId>org.apache.poi</groupId>
1039
        <artifactId>poi-ooxml</artifactId>
1040
        <version>${poi.version}</version>
1041
      </dependency>
1042
      <dependency>
1043
        <groupId>org.apache.poi</groupId>
1044
        <artifactId>ooxml-schemas</artifactId>
1045
        <version>1.4</version>
1046
      </dependency>
1047
      <!--       <dependency> -->
1048
<!-- maybe needed in cdmlib-io, see https://poi.apache.org/help/faq.html  question 3 on when to use ooxml-schemas and when poi-ooxml-schemas  -->
1049
<!--         <groupId>org.apache.poi</groupId> -->
1050
<!--         <artifactId>ooxml-schemas</artifactId> -->
1051
<!--         <version>1.4</version> -->
1052
<!--       </dependency> -->
1053
      <dependency>
1054
     	<!-- only for version management xmlbeans depends in different versions from 
1055
        org.apache.poi:poi-ooxml-schemas:3.13 and org.apache.poi:ooxml-schemas:1.4 -->
1056
      	<groupId>org.apache.xmlbeans</groupId>
1057
      	<artifactId>xmlbeans</artifactId>
1058
      	<version>3.1.0</version>
1059
        <!-- checked 2020-08 -->
1060
      </dependency>
1061
      <dependency>
1062
        <groupId>org.docx4j</groupId>
1063
        <artifactId>docx4j</artifactId>
1064
        <version>6.1.2</version>
1065
      </dependency>
1066
      <dependency>
1067
        <!-- only for version management jcl-over-slf4j depends in different versions from 
1068
        org.docx4j:docx4j:6.0.1 and org.apache.jena:jjena-tdb:1.1.2 -->
1069
        <groupId>org.slf4j</groupId>
1070
        <artifactId>jcl-over-slf4j</artifactId>
1071
        <version>1.7.25</version>
1072
      </dependency>
1073
      <dependency>
1074
        <!-- only for version management xalan depends in different versions from 
1075
        org.docx4j:docx4j:6.0.1 and xom:xom:1.2.5 -->
1076
      	<groupId>xalan</groupId>
1077
      	<artifactId>xalan</artifactId>
1078
      	<version>2.7.2</version>
1079
      </dependency>
1080
      <dependency>
1081
        <!-- only for version management org.apache.xmlgraphics:xmlgraphics-commons depends in different versions from 
1082
        org.docx4j:docx4j:6.0.1 and org.apache.xmlgraphics:fop:1.1 -->
1083
      	<groupId>org.apache.xmlgraphics</groupId>
1084
      	<artifactId>xmlgraphics-commons</artifactId>
1085
      	<version>2.6</version>
1086
      </dependency>
1087
      <dependency>
1088
        <groupId>org.apache.commons</groupId>
1089
        <artifactId>commons-imaging</artifactId>
1090
        <version>1.0-alpha2</version>
1091
      </dependency>
1092
      <dependency>
1093
        <groupId>org.cybertaxonomy.media</groupId>
1094
        <artifactId>media-info-model</artifactId>
1095
        <version>1.2.0</version>
1096
      </dependency>
1097
      <!-- joda-time -->
1098
      <dependency>
1099
        <groupId>joda-time</groupId>
1100
        <artifactId>joda-time</artifactId>
1101
        <version>2.10.13</version>
1102
      </dependency>
1103
	  <!-- maybe replaced by usertype.core -->
1104
      <dependency>
1105
        <groupId>org.jadira.usertype</groupId>
1106
        <artifactId>usertype.jodatime</artifactId>
1107
        <version>2.0.1</version>
1108
      </dependency>
1109
      <dependency>
1110
        <groupId>org.apache.lucene</groupId>
1111
        <artifactId>lucene-core</artifactId>
1112
        <version>${lucene.version}</version>
1113
      </dependency>
1114
	  <dependency>
1115
		<groupId>org.apache.lucene</groupId>
1116
		<artifactId>lucene-suggest</artifactId>
1117
		<version>${lucene.version}</version>
1118
	  </dependency>
1119
	  <dependency>
1120
		<groupId>org.apache.lucene</groupId>
1121
		<artifactId>lucene-analyzers-common</artifactId>
1122
		<version>${lucene.version}</version>
1123
	  </dependency>
1124
	  <dependency>
1125
        <groupId>org.apache.lucene</groupId>
1126
        <artifactId>lucene-queryparser</artifactId>
1127
        <version>${lucene.version}</version>
1128
      </dependency>
1129
      <dependency>
1130
        <groupId>org.apache.lucene</groupId>
1131
        <artifactId>lucene-highlighter</artifactId>
1132
        <version>${lucene.version}</version>
1133
      </dependency>
1134
      <dependency>
1135
        <groupId>org.apache.lucene</groupId>
1136
        <artifactId>lucene-grouping</artifactId>
1137
        <version>${lucene.version}</version>
1138
      </dependency>
1139
      <dependency>
1140
        <groupId>org.apache.lucene</groupId>
1141
        <artifactId>lucene-join</artifactId>
1142
        <version>${lucene.version}</version>
1143
      </dependency>
1144
      <dependency>
1145
        <groupId>org.apache.lucene</groupId>
1146
        <artifactId>lucene-backward-codecs</artifactId>
1147
        <version>${lucene.version}</version>
1148
      </dependency>
1149
      <dependency>
1150
        <groupId>org.apache.lucene</groupId>
1151
        <artifactId>lucene-misc</artifactId>
1152
        <version>${lucene.version}</version>
1153
      </dependency>
1154
      <dependency>
1155
        <groupId>org.apache.lucene</groupId>
1156
        <artifactId>lucene-facet</artifactId>
1157
        <version>${lucene.version}</version>
1158
      </dependency>
1159
            
1160
      <dependency>
1161
        <groupId>com.ibm.lsid</groupId>
1162
        <artifactId>lsid-client</artifactId>
1163
        <version>1.1.2</version>
1164
      </dependency>
1165
      <dependency>
1166
        <groupId>com.ibm.lsid</groupId>
1167
        <artifactId>lsid-server</artifactId>
1168
        <version>1.1.2</version>
1169
      </dependency>
1170
      <dependency>
1171
        <groupId>wsdl4j</groupId>
1172
        <artifactId>wsdl4j</artifactId>
1173
        <version>1.6.3</version>
1174
      </dependency>
1175
<!--       <dependency> -->
1176
<!--         <groupId>net.sf.dozer</groupId> -->
1177
<!--         <artifactId>dozer</artifactId> -->
1178
<!--         <version>5.5.1</version> -->
1179
<!--       </dependency> -->
1180
      <dependency>
1181
          <groupId>com.github.dozermapper</groupId>
1182
          <artifactId>dozer-core</artifactId>
1183
          <version>${dozer.version}</version>
1184
      </dependency>
1185
      <dependency>
1186
        <groupId>com.github.dozermapper</groupId>
1187
        <artifactId>dozer-spring4</artifactId>
1188
        <version>${dozer.version}</version>
1189
      </dependency>
1190
      <dependency>
1191
        <groupId>net.sf.ehcache</groupId>
1192
        <artifactId>ehcache</artifactId>
1193
        <version>2.10.6</version>
1194
      </dependency>
1195
      <!-- ******* XML ******* -->
1196
      <dependency>
1197
<!--        xml-apis seems to be ALMOST fully included in java8 but ElementTraversal seems to be missing, therefore SDDDocumentBuilder does not compile -->
1198
        <groupId>xml-apis</groupId>
1199
        <artifactId>xml-apis</artifactId>
1200
<!--             WARNING: do not upgrade to later versions 2.0.x of xml-apis -->
1201
<!--             since these are effectivly reloaded to the early beta version -->
1202
<!--             1.0.b2 -->
1203
        <version>1.4.01</version>
1204
      </dependency>
1205
      <dependency>
1206
        <groupId>xerces</groupId>
1207
        <artifactId>xercesImpl</artifactId>
1208
        <version>2.12.1</version>
1209
        <!-- checked 2021-12 -->
1210
      </dependency>
1211
      <!-- >batik-ext required by Xerces 2.11.0 for class ElementTraversal, 
1212
        as this is not included anymore in xml-apis 2.x -->
1213
<!--       <dependency> -->
1214
<!--         <groupId>org.apache.xmlgraphics</groupId> -->
1215
<!--         <artifactId>batik-ext</artifactId> -->
1216
<!--         <version>1.13</version> -->
1217
<!--       </dependency> -->
1218
      <dependency> <!-- required by cdmlib-print -->
1219
        <groupId>org.apache.xmlgraphics</groupId>
1220
        <artifactId>fop</artifactId>
1221
        <version>2.6</version>
1222
      </dependency>
1223
      <dependency>
1224
        <groupId>org.odftoolkit</groupId>
1225
        <artifactId>odfdom-java</artifactId>
1226
        <version>0.8.7</version>
1227
      </dependency>
1228
      <dependency>
1229
          <!-- used in eu.etaxonomy.cdm.io.markup and for swagger -->
1230
          <groupId>com.google.guava</groupId>
1231
          <artifactId>guava</artifactId>
1232
          <version>31.0.1-jre</version>
1233
      </dependency>
1234
      <!-- last jdom 1.x version -->
1235
	  <dependency>
1236
        <groupId>org.jdom</groupId>
1237
        <artifactId>jdom</artifactId>
1238
        <version>1.1.3</version>
1239
      </dependency>
1240
	  <!-- jdom2 may exist in parallel to jdom(1) as it uses a different package structure -->
1241
	  <dependency>
1242
		 <groupId>org.jdom</groupId>
1243
		 <artifactId>jdom2</artifactId>
1244
		 <version>2.0.6</version>
1245
	  </dependency>
1246
      <dependency>
1247
        <groupId>com.thoughtworks.xstream</groupId>
1248
        <artifactId>xstream</artifactId>
1249
        <version>1.4.14</version>
1250
      </dependency>
1251
      <dependency>
1252
      <groupId>xmlpull</groupId>
1253
        <artifactId>xmlpull</artifactId>
1254
        <version>1.2.0</version>
1255
      </dependency>
1256
      <dependency>
1257
        <groupId>xpp3</groupId>
1258
        <artifactId>xpp3</artifactId>
1259
        <version>1.1.4c</version>
1260
      </dependency>
1261
<!--       <dependency> -->
1262
<!--        stax is part of java8 and therefore not needed anymore -->
1263
<!--         <groupId>stax</groupId> -->
1264
<!--         <artifactId>stax</artifactId> -->
1265
<!--         <version>1.2.0</version> -->
1266
<!--       </dependency> -->
1267
      <dependency>
1268
        <groupId>xom</groupId>
1269
        <artifactId>xom</artifactId>
1270
        <version>1.3.7</version>
1271
        <exclusions>
1272
          <!-- need to exclude com.ibm.icu:icu4j since it contains an invalid 
1273
            file which causes the jetty-maven-plugin to fail see http://stackoverflow.com/questions/3026956/javassist-failure-in-hibernate-invalid-constant-type-60 -->
1274
          <exclusion>
1275
            <groupId>com.ibm.icu</groupId>
1276
            <artifactId>icu4j</artifactId>
1277
          </exclusion>
1278
        </exclusions>
1279
      </dependency>
1280
      <!-- ******* SAXON (ViBRANT)******* -->
1281
      <dependency>
1282
        <groupId>net.sf.saxon</groupId>
1283
        <artifactId>Saxon-HE</artifactId>
1284
        <version>10.6</version>
1285
      </dependency>
1286
      <!-- ******* http components (ViBRANT)******* -->
1287
      <dependency>
1288
        <groupId>org.apache.httpcomponents</groupId>
1289
        <artifactId>httpmime</artifactId>
1290
        <version>${httpcomponents.version}</version>
1291
      </dependency>
1292
      <!-- ***** json ******************** -->
1293
      <dependency>
1294
        <groupId>org.json</groupId>
1295
        <artifactId>json</artifactId>
1296
        <version>20200518</version>
1297
      </dependency>
1298
      <!-- ******* HIBERNATE / EJB3 ******* -->
1299
      <dependency>
1300
        <groupId>org.hibernate.javax.persistence</groupId>
1301
        <artifactId>hibernate-jpa-2.1-api</artifactId>
1302
        <version>1.0.2.Final</version>
1303
      </dependency>
1304
      <dependency>
1305
        <groupId>org.hibernate</groupId>
1306
        <artifactId>hibernate-core</artifactId>
1307
        <version>${hibernate.version}</version>
1308
      </dependency>
1309
      <dependency>
1310
        <groupId>org.hibernate</groupId>
1311
        <artifactId>hibernate-entitymanager</artifactId>
1312
        <version>${hibernate.version}</version>
1313
      </dependency>
1314
      <dependency>
1315
        <groupId>org.hibernate</groupId>
1316
        <artifactId>hibernate-envers</artifactId>
1317
        <version>${hibernate.version}</version>
1318
      </dependency>
1319
      <dependency>
1320
        <groupId>org.hibernate</groupId>
1321
        <artifactId>hibernate-c3p0</artifactId>
1322
        <version>${hibernate.version}</version>
1323
      </dependency>
1324
      <dependency>
1325
        <groupId>com.mchange</groupId>
1326
        <artifactId>c3p0</artifactId>
1327
        <!-- 
1328
          IMPORTANT!!!
1329
          when changing the version of this artifact, the 
1330
          version in cdm-server pom.xml must be changed 
1331
          the same otherwise db connections through jndi 
1332
          will not work!
1333
		  NOTE: not so critical anymore as we use cdmlib-db
1334
		  now for both projects
1335
        -->
1336
        <version>0.9.5.2</version>
1337
      </dependency>
1338
      <dependency>
1339
        <groupId>com.mchange</groupId>
1340
        <artifactId>mchange-commons-java</artifactId>
1341
        <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
1342
        <version>0.2.11</version>
1343
      </dependency>
1344
      <dependency>
1345
        <groupId>org.hibernate.common</groupId>
1346
        <artifactId>hibernate-commons-annotations</artifactId>
1347
        <version>5.1.0.Final</version>
1348
      </dependency>
1349
      <dependency>
1350
        <groupId>org.hibernate</groupId>
1351
        <artifactId>hibernate-search-orm</artifactId>
1352
        <version>${hibernate-search.version}</version>
1353
      </dependency>
1354
      <dependency>
1355
        <groupId>org.hibernate</groupId>
1356
        <artifactId>hibernate-search-engine</artifactId>
1357
        <version>${hibernate-search.version}</version>
1358
      </dependency>
1359
      <dependency>
1360
        <groupId>org.javassist</groupId>
1361
        <artifactId>javassist</artifactId>
1362
        <version>3.28.0-GA</version>
1363
      </dependency>
1364

    
1365
      <!-- ******* SPRING ******* -->
1366
      <dependency>
1367
        <groupId>org.springframework</groupId>
1368
        <artifactId>spring-core</artifactId>
1369
        <version>${spring.version}</version>
1370
      </dependency>
1371
      <dependency>
1372
        <groupId>org.springframework</groupId>
1373
        <artifactId>spring-context</artifactId>
1374
        <version>${spring.version}</version>
1375
      </dependency>
1376
      <dependency>
1377
        <groupId>org.springframework</groupId>
1378
        <artifactId>spring-beans</artifactId>
1379
        <version>${spring.version}</version>
1380
      </dependency>
1381
      <dependency>
1382
        <groupId>org.springframework</groupId>
1383
        <artifactId>spring-orm</artifactId>
1384
        <version>${spring.version}</version>
1385
      </dependency>
1386
      <dependency>
1387
        <groupId>org.springframework</groupId>
1388
        <artifactId>spring-jdbc</artifactId>
1389
        <version>${spring.version}</version>
1390
      </dependency>
1391
      <dependency>
1392
        <groupId>org.springframework</groupId>
1393
        <artifactId>spring-tx</artifactId>
1394
        <version>${spring.version}</version>
1395
      </dependency>
1396
      <dependency>
1397
        <groupId>org.springframework</groupId>
1398
        <artifactId>spring-test</artifactId>
1399
        <version>${spring.version}</version>
1400
      </dependency>
1401
      <dependency>
1402
        <groupId>org.springframework</groupId>
1403
        <artifactId>spring-web</artifactId>
1404
        <version>${spring.version}</version>
1405
      </dependency>
1406
	  <dependency>
1407
      	<groupId>org.springframework</groupId>
1408
        <artifactId>spring-webmvc</artifactId>
1409
        <version>${spring.version}</version>
1410
      </dependency>
1411
      <dependency>
1412
        <groupId>org.springframework</groupId>
1413
        <artifactId>spring-aop</artifactId>
1414
        <version>${spring.version}</version>
1415
      </dependency>
1416
      <dependency>
1417
        <groupId>org.springframework</groupId>
1418
        <artifactId>spring-aspects</artifactId>
1419
        <version>${spring.version}</version>
1420
      </dependency>
1421
      <dependency>
1422
        <groupId>org.springframework</groupId>
1423
        <artifactId>spring-expression</artifactId>
1424
        <version>${spring.version}</version>
1425
      </dependency>
1426
      <dependency>
1427
        <groupId>org.springframework</groupId>
1428
        <artifactId>spring-context-support</artifactId>
1429
        <version>${spring.version}</version>
1430
      </dependency>
1431
      <dependency>
1432
        <groupId>org.springframework</groupId>
1433
        <artifactId>spring-oxm</artifactId>
1434
        <version>${spring.version}</version>
1435
      </dependency>
1436
      <dependency>
1437
        <groupId>org.springframework.security</groupId>
1438
        <artifactId>spring-security-core</artifactId>
1439
        <version>${spring-security.version}</version>
1440
      </dependency>
1441
      <dependency>
1442
        <groupId>org.springframework.security</groupId>
1443
        <artifactId>spring-security-config</artifactId>
1444
        <version>${spring-security.version}</version>
1445
      </dependency>
1446
      <dependency>
1447
        <groupId>org.springframework.security</groupId>
1448
        <artifactId>spring-security-web</artifactId>
1449
        <version>${spring-security.version}</version>
1450
      </dependency>
1451
      <dependency>
1452
        <groupId>org.springframework.security.oauth</groupId>
1453
        <artifactId>spring-security-oauth2</artifactId>
1454
        <version>${spring-security-oauth2.version}</version>
1455
      </dependency>
1456
      <dependency>
1457
        <groupId>org.springframework.cloud</groupId>
1458
        <artifactId>spring-cloud-security</artifactId>
1459
        <version>${spring-security.version}</version>
1460
      </dependency>
1461
      <dependency>
1462
        <!-- required by spring security core, but not needed anymore in spring security 5.x  -->
1463
        <groupId>aopalliance</groupId>
1464
        <artifactId>aopalliance</artifactId>
1465
        <version>1.0</version>
1466
      </dependency>
1467

    
1468
      <!-- ******* SERVLET/JSP/JSF ******* -->
1469
      <dependency>
1470
        <groupId>javax.servlet</groupId>
1471
        <artifactId>javax.servlet-api</artifactId>
1472
        <version>4.0.1</version>
1473
        <!-- checked 2020-08 -->
1474
      </dependency>
1475

    
1476
      <!-- yourkit profiler api controller (used in ..) -->
1477
      <dependency>
1478
        <groupId>com.yourkit</groupId>
1479
        <artifactId>yjp-controller-api-redist</artifactId>
1480
        <version>2015-build-15086</version>
1481
        <scope>test</scope>
1482
      </dependency>
1483
      <!-- For Validation -->
1484
      <dependency>
1485
        <groupId>javax.validation</groupId>
1486
        <artifactId>validation-api</artifactId>
1487
        <version>2.0.1.Final</version>
1488
        <!-- checked 2020-08 -->
1489
      </dependency>
1490
      <dependency>
1491
        <groupId>org.hibernate.validator</groupId>
1492
        <artifactId>hibernate-validator</artifactId>
1493
        <version>${hibernate-validator.version}</version>
1494
      </dependency>
1495
      <dependency>
1496
        <groupId>com.fasterxml</groupId>
1497
        <artifactId>classmate</artifactId>
1498
        <version>1.5.1</version>     
1499
        <!-- checked 2020-08 -->
1500
      </dependency>
1501
	  <dependency>
1502
        <groupId>javax.el</groupId>
1503
        <artifactId>javax.el-api</artifactId>
1504
        <version>3.0.0</version>
1505
        <!-- checked 2020-08 -->
1506
	  </dependency>
1507
      <dependency>
1508
          <groupId>jakarta.validation</groupId>
1509
          <artifactId>jakarta.validation-api</artifactId>
1510
          <version>3.0.0</version>
1511
          <!-- checked 2020-08 -->
1512
      </dependency>
1513
	  <dependency>
1514
		 <groupId>org.glassfish.web</groupId>
1515
		 <artifactId>javax.el</artifactId>
1516
		 <version>2.2.6</version>
1517
	  </dependency>
1518
	  <dependency>
1519
	     <groupId>org.hibernate.validator</groupId>
1520
         <artifactId>hibernate-validator-cdi</artifactId>
1521
         <version>${hibernate-validator.version}</version>
1522
	  </dependency>
1523
      <dependency>
1524
         <!-- not clear if needed, but if needed v8.0 should be used to avoid problems with javax.validation.BootstrapConfiguration -->
1525
         <!-- it was a (currently excluded) transitiv dependency from org.geotools/gt-referencing  used in cdmlib-ext -->
1526
         <groupId>javax</groupId>
1527
         <artifactId>javaee-api</artifactId>
1528
         <version>8.0.1</version>
1529
      </dependency>
1530
	  
1531
      <!-- for ikey-plus -->
1532
      <dependency>
1533
        <groupId>identificationKeyAPI</groupId>
1534
        <artifactId>identificationKeyAPI</artifactId>
1535
        <version>1.0</version>   <!-- was <version>1.0-SNAPSHOT</version> -->
1536
      </dependency>
1537
      <dependency>
1538
        <groupId>com.itextpdf</groupId>
1539
        <artifactId>itextpdf</artifactId>
1540
        <version>5.5.13.2</version>
1541
        <scope>compile</scope>
1542
      </dependency>
1543
      <!-- AptView -->
1544
      <dependency>
1545
        <groupId>org.apache.maven.doxia</groupId>
1546
        <artifactId>doxia-module-apt</artifactId>
1547
        <version>${doxia.version}</version>
1548
      </dependency>
1549
      <dependency>
1550
        <groupId>org.apache.maven.doxia</groupId>
1551
        <artifactId>doxia-module-xhtml</artifactId>
1552
        <version>${doxia.version}</version>
1553
      </dependency>
1554
      <dependency>
1555
        <!-- managing version of plexus-utils to avoid multiple versions (3.0.15, 1.4.5) of the artifact -->
1556
      	<groupId>org.codehaus.plexus</groupId>
1557
      	<artifactId>plexus-utils</artifactId>
1558
      	<version>3.4.1</version>
1559
        <!-- checked 2022-01 -->
1560
      </dependency>
1561
      <!-- swagger (rest service doc) -->
1562
      <dependency>
1563
        <groupId>io.swagger</groupId>
1564
        <artifactId>swagger-annotations</artifactId>
1565
        <!-- should match the springfox-swagger2 depends on -->
1566
        <version>1.5.10</version>
1567
      </dependency>
1568

    
1569
      <!-- dependencies for swagger-springmvc, added explicitely -->
1570
      <dependency>
1571
        <groupId>com.fasterxml.jackson.core</groupId>
1572
        <artifactId>jackson-databind</artifactId>
1573
        <version>${jackson.version}</version>
1574
      </dependency>
1575
      <dependency>
1576
        <groupId>com.fasterxml.jackson.core</groupId>
1577
        <artifactId>jackson-core</artifactId>
1578
        <version>${jackson.version}</version>
1579
      </dependency>
1580
      <dependency>
1581
        <groupId>com.fasterxml.jackson.core</groupId>
1582
        <artifactId>jackson-annotations</artifactId>
1583
        <version>${jackson.version}</version>
1584
      </dependency> 
1585
      <!-- END of dependencies for swagger-springmvc, added explicitely -->
1586
      <dependency>
1587
        <groupId>io.springfox</groupId>
1588
        <artifactId>springfox-swagger2</artifactId>
1589
        <version>2.6.1</version>
1590
      </dependency>
1591
      
1592
      <!-- ******* DATABASES DRIVER ******* -->
1593
      <dependency>
1594
        <groupId>mysql</groupId>
1595
        <artifactId>mysql-connector-java</artifactId>
1596
        <version>8.0.27</version>
1597
      </dependency>
1598
      <dependency>
1599
        <groupId>org.mariadb.jdbc</groupId>
1600
        <artifactId>mariadb-java-client</artifactId>
1601
        <version>2.6.2</version>
1602
      </dependency>
1603
      <dependency>
1604
         <groupId>org.postgresql</groupId>
1605
         <artifactId>postgresql</artifactId>
1606
         <version>42.3.1</version>
1607
      </dependency>
1608
	  <dependency>
1609
        <groupId>com.h2database</groupId>
1610
        <artifactId>h2</artifactId>
1611
        <version>1.4.190</version>
1612
      </dependency>
1613
      <!-- SQL Server -->
1614
      <dependency>
1615
        <groupId>com.microsoft.sqlserver</groupId>
1616
        <artifactId>mssql-jdbc</artifactId>
1617
        <version>9.4.1.jre8</version>
1618
      </dependency>
1619
	  <dependency>
1620
        <groupId>org.hsqldb</groupId>
1621
        <artifactId>hsqldb</artifactId>
1622
        <version>${hsqldb.version}</version>
1623
      </dependency>
1624
      <dependency>
1625
        <!-- SQL Server and Sybase -->
1626
        <groupId>net.sourceforge.jtds</groupId>
1627
        <artifactId>jtds</artifactId>
1628
        <version>1.3.1</version>
1629
      </dependency>
1630
      <dependency>
1631
        <groupId>oracle</groupId>
1632
        <artifactId>ojdbc14</artifactId>
1633
        <version>10.2.0.4.0</version>
1634
      </dependency>
1635
      <!--    <dependency>
1636
        <groupId>ojdbc</groupId>
1637
        <artifactId>ojdbc</artifactId>
1638
        <version>14</version>
1639
        </dependency>   -->      
1640
      <!-- GIS/KML -->
1641
	  <dependency>
1642
	     <groupId>de.micromata.jak</groupId>
1643
	     <artifactId>JavaAPIforKml</artifactId>
1644
	     <version>2.2.1</version>
1645
	  </dependency>
1646
	  <dependency>
1647
	    <groupId>org.geotools</groupId>
1648
	    <artifactId>gt-opengis</artifactId>
1649
	    <version>${geotools.version}</version>
1650
	  </dependency>
1651
	  <dependency>
1652
	    <groupId>org.geotools</groupId>
1653
	    <artifactId>gt-referencing</artifactId>
1654
	    <version>${geotools.version}</version>
1655
	  </dependency>
1656
	  <dependency>
1657
	    <groupId>org.geotools</groupId>
1658
	    <artifactId>gt-epsg-wkt</artifactId>
1659
	    <version>${geotools.version}</version>
1660
	  </dependency>
1661
	  <dependency>
1662
	    <groupId>org.geotools</groupId>
1663
	    <artifactId>gt-main</artifactId>
1664
	    <version>${geotools.version}</version>
1665
	  </dependency>
1666
    
1667
      <dependency>
1668
         <groupId>com.sun</groupId>
1669
         <artifactId>tools</artifactId>
1670
         <version>1.8.0</version>
1671
      </dependency>
1672
      <dependency>
1673
        <!-- Email functionality (used in cdmlib-services) -->
1674
          <groupId>com.sun.mail</groupId>
1675
          <artifactId>javax.mail</artifactId>
1676
          <version>${javax.mail.version}</version>
1677
      </dependency>
1678
      <dependency>
1679
        <!-- only needed for PasswordResetService, may be replaced by Thymeleaf -->
1680
        <groupId>org.apache.commons</groupId>
1681
        <artifactId>commons-text</artifactId>
1682
        <version>1.9</version>
1683
      </dependency>
1684
      <dependency>
1685
        <groupId>org.passay</groupId>
1686
        <artifactId>passay</artifactId>
1687
        <version>1.6.1</version>
1688
      </dependency>
1689
   </dependencies>    
1690
  </dependencyManagement>
1691
</project>
(6-6/6)