Project

General

Profile

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

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

    
1013
      <dependency>
1014
        <groupId>net.sf.ezmorph</groupId>
1015
        <artifactId>ezmorph</artifactId>
1016
        <version>1.0.6</version>
1017
      </dependency>
1018
      <dependency>
1019
        <groupId>commons-beanutils</groupId>
1020
        <artifactId>commons-beanutils</artifactId>
1021
        <version>1.9.4</version>
1022
      </dependency>
1023
      <dependency>
1024
        <groupId>net.sf.json-lib</groupId>
1025
        <artifactId>json-lib</artifactId>
1026
        <version>2.4</version>
1027
        <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
1028
        <classifier>jdk15</classifier>
1029
      </dependency>
1030
      <!-- media  -->
1031
      <dependency>
1032
        <groupId>org.devlib.schmidt</groupId>
1033
        <artifactId>imageinfo</artifactId>
1034
        <version>1.9</version>
1035
      </dependency>
1036
       <dependency>
1037
        <groupId>de.digitalcollections.iiif</groupId>
1038
        <artifactId>iiif-apis</artifactId>
1039
        <version>0.3.9</version>
1040
      </dependency>
1041
<!--       <dependency> -->
1042
<!--         only for version management iterators depends in different versions from -->
1043
<!--               de.digitalcollections.iiif:iiif-apis:0.3.9 -->
1044
<!--       	<groupId>org.dmfs</groupId> -->
1045
<!--       	<artifactId>iterators</artifactId> -->
1046
<!--       	<version>1.5</version> -->
1047
<!--       </dependency> -->
1048
      <!--         -->
1049
      <dependency>
1050
        <groupId>org.apache.poi</groupId>
1051
        <artifactId>poi</artifactId>
1052
        <version>${poi.version}</version>
1053
      </dependency>
1054
      <dependency>
1055
        <groupId>org.apache.poi</groupId>
1056
        <artifactId>poi-ooxml</artifactId>
1057
        <version>${poi.version}</version>
1058
      </dependency>
1059
      <dependency>
1060
        <groupId>org.apache.poi</groupId>
1061
        <artifactId>poi-ooxml-lite</artifactId>
1062
        <version>${poi.version}</version>
1063
      </dependency>
1064
      <dependency>
1065
        <groupId>org.apache.poi</groupId>
1066
        <artifactId>poi-ooxml-full</artifactId>
1067
        <version>${poi.version}</version>
1068
      </dependency>
1069
      <dependency>
1070
        <!-- indirect poi-schema and doxia dependency -->
1071
        <groupId>org.codehaus.plexus</groupId>
1072
        <artifactId>plexus-classworlds</artifactId>
1073
        <version>2.6.0</version>
1074
      </dependency>
1075
      <dependency>
1076
        <groupId>org.codehaus.plexus</groupId>
1077
        <artifactId>plexus-component-annotations</artifactId>
1078
        <version>2.1.1</version>
1079
      </dependency>
1080
      <!--       <dependency> -->
1081
<!-- 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  -->
1082
<!--         <groupId>org.apache.poi</groupId> -->
1083
<!--         <artifactId>ooxml-schemas</artifactId> -->
1084
<!--         <version>1.4</version> -->
1085
<!--       </dependency> -->
1086
      <dependency>
1087
      	<groupId>org.apache.xmlbeans</groupId>
1088
      	<artifactId>xmlbeans</artifactId>
1089
      	<version>5.0.3</version>
1090
        <!-- checked 2020-08 -->
1091
      </dependency>
1092
      <dependency>
1093
        <groupId>org.docx4j</groupId>
1094
        <artifactId>docx4j-JAXB-Internal</artifactId>
1095
        <version>8.3.7</version>
1096
      </dependency>
1097
      <dependency>
1098
        <!-- dependency of guava and docx4j -->
1099
        <groupId>com.google.errorprone</groupId>
1100
        <artifactId>error_prone_annotations</artifactId>
1101
        <version>2.14.0</version>
1102
      </dependency>
1103
      <dependency>
1104
        <!-- only for version management xalan depends in different versions from 
1105
        org.docx4j:docx4j:6.0.1 and xom:xom:1.2.5 -->
1106
      	<groupId>xalan</groupId>
1107
      	<artifactId>xalan</artifactId>
1108
      	<version>2.7.2</version>
1109
      </dependency>
1110
      <dependency>
1111
        <!-- only for version management org.apache.xmlgraphics:xmlgraphics-commons depends in different versions from 
1112
        org.docx4j:docx4j:6.0.1 and org.apache.xmlgraphics:fop:1.1 -->
1113
      	<groupId>org.apache.xmlgraphics</groupId>
1114
      	<artifactId>xmlgraphics-commons</artifactId>
1115
      	<version>2.7</version>
1116
      </dependency>
1117
      <dependency>
1118
        <groupId>org.apache.commons</groupId>
1119
        <artifactId>commons-imaging</artifactId>
1120
        <version>1.0-alpha3</version>
1121
      </dependency>
1122
      <dependency>
1123
        <groupId>org.cybertaxonomy.media</groupId>
1124
        <artifactId>media-info-model</artifactId>
1125
        <version>1.2.0</version>
1126
      </dependency>
1127
      <!-- joda-time -->
1128
      <dependency>
1129
        <groupId>joda-time</groupId>
1130
        <artifactId>joda-time</artifactId>
1131
        <version>2.10.14</version>
1132
      </dependency>
1133
      <dependency>
1134
        <groupId>org.jadira.usertype</groupId>
1135
        <artifactId>usertype.core</artifactId>
1136
        <version>7.0.0.CR1</version>
1137
      </dependency>
1138
      <!-- dependency of jadira usertype -->
1139
      <dependency>
1140
        <groupId>javax.enterprise</groupId>
1141
        <artifactId>cdi-api</artifactId>
1142
        <version>2.0.SP1</version>
1143
      </dependency>
1144

    
1145
      <dependency>
1146
        <groupId>org.apache.lucene</groupId>
1147
        <artifactId>lucene-core</artifactId>
1148
        <version>${lucene.version}</version>
1149
      </dependency>
1150
	  <dependency>
1151
		<groupId>org.apache.lucene</groupId>
1152
		<artifactId>lucene-suggest</artifactId>
1153
		<version>${lucene.version}</version>
1154
	  </dependency>
1155
	  <dependency>
1156
		<groupId>org.apache.lucene</groupId>
1157
		<artifactId>lucene-analyzers-common</artifactId>
1158
		<version>${lucene.version}</version>
1159
	  </dependency>
1160
	  <dependency>
1161
        <groupId>org.apache.lucene</groupId>
1162
        <artifactId>lucene-queryparser</artifactId>
1163
        <version>${lucene.version}</version>
1164
      </dependency>
1165
      <dependency>
1166
        <groupId>org.apache.lucene</groupId>
1167
        <artifactId>lucene-highlighter</artifactId>
1168
        <version>${lucene.version}</version>
1169
      </dependency>
1170
      <dependency>
1171
        <groupId>org.apache.lucene</groupId>
1172
        <artifactId>lucene-grouping</artifactId>
1173
        <version>${lucene.version}</version>
1174
      </dependency>
1175
      <dependency>
1176
        <groupId>org.apache.lucene</groupId>
1177
        <artifactId>lucene-join</artifactId>
1178
        <version>${lucene.version}</version>
1179
      </dependency>
1180
      <dependency>
1181
        <groupId>org.apache.lucene</groupId>
1182
        <artifactId>lucene-backward-codecs</artifactId>
1183
        <version>${lucene.version}</version>
1184
      </dependency>
1185
      <dependency>
1186
        <groupId>org.apache.lucene</groupId>
1187
        <artifactId>lucene-misc</artifactId>
1188
        <version>${lucene.version}</version>
1189
      </dependency>
1190
      <dependency>
1191
        <groupId>org.apache.lucene</groupId>
1192
        <artifactId>lucene-facet</artifactId>
1193
        <version>${lucene.version}</version>
1194
      </dependency>
1195
      <dependency>
1196
        <groupId>org.apache.lucene</groupId>
1197
        <artifactId>lucene-sandbox</artifactId>
1198
        <version>${lucene.version}</version>
1199
      </dependency>
1200
            
1201
      <dependency>
1202
        <groupId>com.ibm.lsid</groupId>
1203
        <artifactId>lsid-client</artifactId>
1204
        <version>1.1.2</version>
1205
      </dependency>
1206
      <dependency>
1207
        <groupId>com.ibm.lsid</groupId>
1208
        <artifactId>lsid-server</artifactId>
1209
        <version>1.1.2</version>
1210
      </dependency>
1211
      <dependency>
1212
        <groupId>wsdl4j</groupId>
1213
        <artifactId>wsdl4j</artifactId>
1214
        <version>1.6.3</version>
1215
      </dependency>
1216
<!--       <dependency> -->
1217
<!--         <groupId>net.sf.dozer</groupId> -->
1218
<!--         <artifactId>dozer</artifactId> -->
1219
<!--         <version>5.5.1</version> -->
1220
<!--       </dependency> -->
1221
      <dependency>
1222
          <groupId>com.github.dozermapper</groupId>
1223
          <artifactId>dozer-core</artifactId>
1224
          <version>${dozer.version}</version>
1225
      </dependency>
1226
      <dependency>
1227
        <groupId>com.github.dozermapper</groupId>
1228
        <artifactId>dozer-spring4</artifactId>
1229
        <version>${dozer.version}</version>
1230
      </dependency>
1231
      <dependency>
1232
        <groupId>net.sf.ehcache</groupId>
1233
        <artifactId>ehcache</artifactId>
1234
        <version>2.10.6</version>
1235
      </dependency>
1236
      <!-- ******* XML ******* -->
1237
      <dependency>
1238
<!--        xml-apis seems to be ALMOST fully included in java8 but ElementTraversal seems to be missing, therefore SDDDocumentBuilder does not compile -->
1239
        <groupId>xml-apis</groupId>
1240
        <artifactId>xml-apis</artifactId>
1241
<!--             WARNING: do not upgrade to later versions 2.0.x of xml-apis -->
1242
<!--             since these are effectivly reloaded to the early beta version -->
1243
<!--             1.0.b2 -->
1244
        <version>1.4.01</version>
1245
      </dependency>
1246
      <dependency>
1247
        <groupId>xerces</groupId>
1248
        <artifactId>xercesImpl</artifactId>
1249
        <version>2.12.2</version>
1250
        <!-- checked 2022-06 -->
1251
      </dependency>
1252
      <!-- >batik-ext required by Xerces 2.11.0 for class ElementTraversal, 
1253
        as this is not included anymore in xml-apis 2.x -->
1254
<!--       <dependency> -->
1255
<!--         <groupId>org.apache.xmlgraphics</groupId> -->
1256
<!--         <artifactId>batik-ext</artifactId> -->
1257
<!--         <version>1.13</version> -->
1258
<!--       </dependency> -->
1259
      <dependency> <!-- required by cdmlib-print -->
1260
        <groupId>org.apache.xmlgraphics</groupId>
1261
        <artifactId>fop</artifactId>
1262
        <version>2.7</version>
1263
      </dependency>
1264
      <dependency>
1265
        <groupId>org.odftoolkit</groupId>
1266
        <artifactId>odfdom-java</artifactId>
1267
        <version>0.8.7</version>
1268
      </dependency>
1269
      <dependency>
1270
          <!-- used in eu.etaxonomy.cdm.io.markup and for swagger -->
1271
          <groupId>com.google.guava</groupId>
1272
          <artifactId>guava</artifactId>
1273
          <version>31.1-jre</version>
1274
      </dependency>
1275
	  <dependency>
1276
	      <groupId>com.google.code.findbugs</groupId>
1277
	      <artifactId>jsr305</artifactId>
1278
	      <version>3.0.2</version>
1279
	  </dependency>
1280
      <!-- last jdom 1.x version -->
1281
	  <dependency>
1282
        <groupId>org.jdom</groupId>
1283
        <artifactId>jdom</artifactId>
1284
        <version>1.1.3</version>
1285
      </dependency>
1286
	  <!-- jdom2 may exist in parallel to jdom(1) as it uses a different package structure -->
1287
	  <dependency>
1288
		 <groupId>org.jdom</groupId>
1289
		 <artifactId>jdom2</artifactId>
1290
		 <version>2.0.6</version>
1291
	  </dependency>
1292
      <dependency>
1293
        <groupId>com.thoughtworks.xstream</groupId>
1294
        <artifactId>xstream</artifactId>
1295
        <version>1.4.19</version>
1296
      </dependency>
1297
      <dependency>
1298
        <!-- newer version exists for groupId org.ogce, need to check exclusions before moving -->
1299
        <groupId>xpp3</groupId>
1300
        <artifactId>xpp3</artifactId>
1301
        <version>1.1.4c</version>
1302
      </dependency>
1303
<!--       <dependency> -->
1304
<!--        stax is part of java8 and therefore not needed anymore -->
1305
<!--         <groupId>stax</groupId> -->
1306
<!--         <artifactId>stax</artifactId> -->
1307
<!--         <version>1.2.0</version> -->
1308
<!--       </dependency> -->
1309
      <dependency>
1310
        <groupId>xom</groupId>
1311
        <artifactId>xom</artifactId>
1312
        <version>1.3.7</version>
1313
        <exclusions>
1314
          <!-- need to exclude com.ibm.icu:icu4j since it contains an invalid 
1315
            file which causes the jetty-maven-plugin to fail see https://stackoverflow.com/questions/3026956/javassist-failure-in-hibernate-invalid-constant-type-60 -->
1316
          <exclusion>
1317
            <groupId>com.ibm.icu</groupId>
1318
            <artifactId>icu4j</artifactId>
1319
          </exclusion>
1320
        </exclusions>
1321
      </dependency>
1322
      <!-- ******* SAXON (ViBRANT)******* -->
1323
      <dependency>
1324
        <groupId>net.sf.saxon</groupId>
1325
        <artifactId>Saxon-HE</artifactId>
1326
        <version>11.3</version>
1327
      </dependency>
1328
      <!-- ******* http components (ViBRANT)******* -->
1329
      <dependency>
1330
        <groupId>org.apache.httpcomponents</groupId>
1331
        <artifactId>httpmime</artifactId>
1332
        <version>${httpcomponents.version}</version>
1333
      </dependency>
1334
      <!-- ***** json ******************** -->
1335
      <dependency>
1336
        <groupId>org.json</groupId>
1337
        <artifactId>json</artifactId>
1338
        <version>20220320</version>
1339
      </dependency>
1340
      <!-- ******* HIBERNATE / EJB3 ******* -->
1341
      <dependency>
1342
        <groupId>org.hibernate.javax.persistence</groupId>
1343
        <artifactId>hibernate-jpa-2.1-api</artifactId>
1344
        <version>1.0.2.Final</version>
1345
      </dependency>
1346
      <dependency>
1347
        <groupId>org.hibernate</groupId>
1348
        <artifactId>hibernate-core</artifactId>
1349
        <version>${hibernate.version}</version>
1350
      </dependency>
1351
      <dependency>
1352
        <groupId>org.hibernate</groupId>
1353
        <artifactId>hibernate-envers</artifactId>
1354
        <version>${hibernate.version}</version>
1355
      </dependency>
1356
      <dependency>
1357
        <groupId>org.hibernate</groupId>
1358
        <artifactId>hibernate-c3p0</artifactId>
1359
        <version>${hibernate.version}</version>
1360
      </dependency>
1361
      <dependency>
1362
        <groupId>com.mchange</groupId>
1363
        <artifactId>c3p0</artifactId>
1364
        <!-- 
1365
          IMPORTANT!!!
1366
          when changing the version of this artifact, the 
1367
          version in cdm-server pom.xml must be changed 
1368
          the same otherwise db connections through jndi 
1369
          will not work!
1370
		  NOTE: not so critical anymore as we use cdmlib-db
1371
		  now for both projects
1372
        -->
1373
        <version>0.9.5.2</version>
1374
      </dependency>
1375
      <dependency>
1376
        <groupId>com.mchange</groupId>
1377
        <artifactId>mchange-commons-java</artifactId>
1378
        <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
1379
        <version>0.2.11</version>
1380
      </dependency>
1381
      <dependency>
1382
        <groupId>org.hibernate.common</groupId>
1383
        <artifactId>hibernate-commons-annotations</artifactId>
1384
        <version>5.1.2.Final</version>
1385
      </dependency>
1386
      <dependency>
1387
        <groupId>org.hibernate</groupId>
1388
        <artifactId>hibernate-search-orm</artifactId>
1389
        <version>${hibernate-search.version}</version>
1390
      </dependency>
1391
      <dependency>
1392
        <groupId>org.hibernate</groupId>
1393
        <artifactId>hibernate-search-engine</artifactId>
1394
        <version>${hibernate-search.version}</version>
1395
      </dependency>
1396

    
1397
      <dependency>
1398
        <!-- used by hibernate as bytecode provider framework -->
1399
        <groupId>net.bytebuddy</groupId>
1400
        <artifactId>byte-buddy</artifactId>
1401
        <version>1.12.10</version>
1402
      </dependency>
1403
      <!-- dependency of hibernate-core -->
1404
      <dependency>
1405
        <groupId>org.jboss.spec.javax.transaction</groupId>
1406
        <artifactId>jboss-transaction-api_1.2_spec</artifactId>
1407
        <version>1.1.1.Final</version>
1408
      </dependency>
1409
      <dependency>
1410
        <!-- dependency of iiif-apis (and still by hibernate but will be removed in v5.6 as hibernate uses bytebuddy)  -->
1411
        <groupId>org.javassist</groupId>
1412
        <artifactId>javassist</artifactId>
1413
        <version>3.29.0-GA</version>
1414
      </dependency>
1415

    
1416
      <!-- ******* SPRING ******* -->
1417
      <dependency>
1418
        <groupId>org.springframework</groupId>
1419
        <artifactId>spring-core</artifactId>
1420
        <version>${spring.version}</version>
1421
      </dependency>
1422
      <dependency>
1423
        <groupId>org.springframework</groupId>
1424
        <artifactId>spring-context</artifactId>
1425
        <version>${spring.version}</version>
1426
      </dependency>
1427
      <dependency>
1428
        <groupId>org.springframework</groupId>
1429
        <artifactId>spring-beans</artifactId>
1430
        <version>${spring.version}</version>
1431
      </dependency>
1432
      <dependency>
1433
        <groupId>org.springframework</groupId>
1434
        <artifactId>spring-orm</artifactId>
1435
        <version>${spring.version}</version>
1436
      </dependency>
1437
      <dependency>
1438
        <groupId>org.springframework</groupId>
1439
        <artifactId>spring-jdbc</artifactId>
1440
        <version>${spring.version}</version>
1441
      </dependency>
1442
      <dependency>
1443
        <groupId>org.springframework</groupId>
1444
        <artifactId>spring-tx</artifactId>
1445
        <version>${spring.version}</version>
1446
      </dependency>
1447
      <dependency>
1448
        <groupId>org.springframework</groupId>
1449
        <artifactId>spring-test</artifactId>
1450
        <version>${spring.version}</version>
1451
      </dependency>
1452
      <dependency>
1453
        <groupId>org.springframework</groupId>
1454
        <artifactId>spring-web</artifactId>
1455
        <version>${spring.version}</version>
1456
      </dependency>
1457
	  <dependency>
1458
      	<groupId>org.springframework</groupId>
1459
        <artifactId>spring-webmvc</artifactId>
1460
        <version>${spring.version}</version>
1461
      </dependency>
1462
      <dependency>
1463
        <groupId>org.springframework</groupId>
1464
        <artifactId>spring-aop</artifactId>
1465
        <version>${spring.version}</version>
1466
      </dependency>
1467
      <dependency>
1468
        <groupId>org.springframework</groupId>
1469
        <artifactId>spring-aspects</artifactId>
1470
        <version>${spring.version}</version>
1471
      </dependency>
1472
      <dependency>
1473
        <groupId>org.springframework</groupId>
1474
        <artifactId>spring-expression</artifactId>
1475
        <version>${spring.version}</version>
1476
      </dependency>
1477
      <dependency>
1478
        <groupId>org.springframework</groupId>
1479
        <artifactId>spring-context-support</artifactId>
1480
        <version>${spring.version}</version>
1481
      </dependency>
1482
      <dependency>
1483
        <groupId>org.springframework</groupId>
1484
        <artifactId>spring-oxm</artifactId>
1485
        <version>${spring.version}</version>
1486
      </dependency>
1487
      <dependency>
1488
        <groupId>org.springframework.security</groupId>
1489
        <artifactId>spring-security-core</artifactId>
1490
        <version>${spring-security.version}</version>
1491
      </dependency>
1492
      <dependency>
1493
        <groupId>org.springframework.security</groupId>
1494
        <artifactId>spring-security-config</artifactId>
1495
        <version>${spring-security.version}</version>
1496
      </dependency>
1497
      <dependency>
1498
        <groupId>org.springframework.security</groupId>
1499
        <artifactId>spring-security-web</artifactId>
1500
        <version>${spring-security.version}</version>
1501
      </dependency>
1502
      <dependency>
1503
        <groupId>org.springframework.security.oauth</groupId>
1504
        <artifactId>spring-security-oauth2</artifactId>
1505
        <version>${spring-security-oauth2.version}</version>
1506
      </dependency>
1507
      <dependency>
1508
        <groupId>org.springframework.cloud</groupId>
1509
        <artifactId>spring-cloud-security</artifactId>
1510
        <version>${spring-security.version}</version>
1511
      </dependency>
1512
      <dependency>
1513
        <!-- required by spring security core, but not needed anymore in spring security 5.x  -->
1514
        <groupId>aopalliance</groupId>
1515
        <artifactId>aopalliance</artifactId>
1516
        <version>1.0</version>
1517
      </dependency>
1518

    
1519
      <!-- ******* SERVLET/JSP/JSF ******* -->
1520
      <dependency>
1521
        <groupId>javax.servlet</groupId>
1522
        <artifactId>javax.servlet-api</artifactId>
1523
        <version>4.0.1</version>
1524
        <!-- checked 2020-08 -->
1525
      </dependency>
1526
      <dependency>
1527
          <!-- management needed for some older dependencies -->
1528
          <!-- TODO check if possible to use exclusions -->
1529
          <groupId>javax.servlet</groupId>
1530
          <artifactId>servlet-api</artifactId>
1531
          <version>2.5</version>
1532
      </dependency>
1533

    
1534

    
1535
      <!-- yourkit profiler api controller (used in ..) -->
1536
      <dependency>
1537
        <groupId>com.yourkit</groupId>
1538
        <artifactId>yjp-controller-api-redist</artifactId>
1539
        <version>2015-build-15086</version>
1540
        <scope>test</scope>
1541
      </dependency>
1542
      <!-- For Validation -->
1543
      <dependency>
1544
        <groupId>javax.validation</groupId>
1545
        <artifactId>validation-api</artifactId>
1546
        <version>2.0.1.Final</version>
1547
        <!-- checked 2020-08 -->
1548
      </dependency>
1549
      <dependency>
1550
        <groupId>org.hibernate.validator</groupId>
1551
        <artifactId>hibernate-validator</artifactId>
1552
        <version>${hibernate-validator.version}</version>
1553
      </dependency>
1554
      <dependency>
1555
        <groupId>com.fasterxml</groupId>
1556
        <artifactId>classmate</artifactId>
1557
        <version>1.5.1</version>     
1558
        <!-- checked 2020-08 -->
1559
      </dependency>
1560
	  <dependency>
1561
        <groupId>javax.el</groupId>
1562
        <artifactId>javax.el-api</artifactId>
1563
        <version>3.0.0</version>
1564
        <!-- checked 2020-08 -->
1565
	  </dependency>
1566
      <dependency>
1567
          <groupId>jakarta.validation</groupId>
1568
          <artifactId>jakarta.validation-api</artifactId>
1569
          <version>3.0.2</version>
1570
          <!-- checked 2022-06 -->
1571
      </dependency>
1572
	  <dependency>
1573
		 <groupId>org.glassfish.web</groupId>
1574
		 <artifactId>javax.el</artifactId>
1575
		 <version>2.2.6</version>
1576
	  </dependency>
1577
	  <dependency>
1578
	     <groupId>org.hibernate.validator</groupId>
1579
         <artifactId>hibernate-validator-cdi</artifactId>
1580
         <version>${hibernate-validator.version}</version>
1581
	  </dependency>
1582
      <dependency>
1583
         <!-- not clear if needed, but if needed v8.0 should be used to avoid problems with javax.validation.BootstrapConfiguration -->
1584
         <!-- it was a (currently excluded) transitiv dependency from org.geotools/gt-referencing  used in cdmlib-ext -->
1585
         <groupId>javax</groupId>
1586
         <artifactId>javaee-api</artifactId>
1587
         <version>8.0.1</version>
1588
      </dependency>
1589
	  
1590
      <!-- for ikey-plus -->
1591
      <dependency>
1592
        <groupId>identificationKeyAPI</groupId>
1593
        <artifactId>identificationKeyAPI</artifactId>
1594
        <version>1.0</version>   <!-- was <version>1.0-SNAPSHOT</version> -->
1595
      </dependency>
1596
      <dependency>
1597
        <groupId>com.itextpdf</groupId>
1598
        <artifactId>itextpdf</artifactId>
1599
        <version>5.5.13.3</version>
1600
        <scope>compile</scope>
1601
      </dependency>
1602
      <!-- AptView -->
1603
      <dependency>
1604
        <groupId>org.apache.maven.doxia</groupId>
1605
        <artifactId>doxia-module-apt</artifactId>
1606
        <version>${doxia.version}</version>
1607
      </dependency>
1608
      <dependency>
1609
        <groupId>org.apache.maven.doxia</groupId>
1610
        <artifactId>doxia-module-xhtml</artifactId>
1611
        <version>${doxia.version}</version>
1612
      </dependency>
1613
      <dependency>
1614
        <!-- managing version of plexus-utils to avoid multiple versions (3.0.15, 1.4.5) of the artifact -->
1615
      	<groupId>org.codehaus.plexus</groupId>
1616
      	<artifactId>plexus-utils</artifactId>
1617
      	<version>3.4.2</version>
1618
        <!-- checked 2022-06 -->
1619
      </dependency>
1620
      <!-- swagger (rest service doc) -->
1621
      <dependency>
1622
        <groupId>io.swagger</groupId>
1623
        <artifactId>swagger-annotations</artifactId>
1624
        <!-- should match the springfox-swagger2 depends on -->
1625
        <version>1.5.10</version>
1626
      </dependency>
1627

    
1628
      <!-- dependencies for swagger-springmvc, added explicitely -->
1629
      <dependency>
1630
        <groupId>com.fasterxml.jackson.core</groupId>
1631
        <artifactId>jackson-databind</artifactId>
1632
        <version>${jackson.version}</version>
1633
      </dependency>
1634
      <dependency>
1635
        <groupId>com.fasterxml.jackson.core</groupId>
1636
        <artifactId>jackson-core</artifactId>
1637
        <version>${jackson.version}</version>
1638
      </dependency>
1639
      <dependency>
1640
        <groupId>com.fasterxml.jackson.core</groupId>
1641
        <artifactId>jackson-annotations</artifactId>
1642
        <version>${jackson.version}</version>
1643
      </dependency> 
1644
      <!-- END of dependencies for swagger-springmvc, added explicitely -->
1645
      <dependency>
1646
        <groupId>io.springfox</groupId>
1647
        <artifactId>springfox-swagger2</artifactId>
1648
        <version>2.6.1</version>
1649
      </dependency>
1650
      
1651
      <!-- ******* DATABASES DRIVER ******* -->
1652
      <dependency>
1653
        <groupId>mysql</groupId>
1654
        <artifactId>mysql-connector-java</artifactId>
1655
        <version>8.0.29</version>
1656
      </dependency>
1657
      <dependency>
1658
        <groupId>org.mariadb.jdbc</groupId>
1659
        <artifactId>mariadb-java-client</artifactId>
1660
        <version>3.0.5</version>
1661
      </dependency>
1662
      <dependency>
1663
         <groupId>org.postgresql</groupId>
1664
         <artifactId>postgresql</artifactId>
1665
         <version>42.3.6</version>
1666
      </dependency>
1667
	  <dependency>
1668
        <groupId>com.h2database</groupId>
1669
        <artifactId>h2</artifactId>
1670
        <version>1.4.190</version>
1671
      </dependency>
1672
      <!-- SQL Server -->
1673
      <dependency>
1674
        <groupId>com.microsoft.sqlserver</groupId>
1675
        <artifactId>mssql-jdbc</artifactId>
1676
        <version>9.4.1.jre8</version>
1677
      </dependency>
1678
      <dependency>
1679
        <!-- SQL Server and Sybase -->
1680
        <groupId>net.sourceforge.jtds</groupId>
1681
        <artifactId>jtds</artifactId>
1682
        <version>1.3.1</version>
1683
      </dependency>
1684
      <dependency>
1685
        <groupId>oracle</groupId>
1686
        <artifactId>ojdbc14</artifactId>
1687
        <version>10.2.0.4.0</version>
1688
      </dependency>
1689
      <!--    <dependency>
1690
        <groupId>ojdbc</groupId>
1691
        <artifactId>ojdbc</artifactId>
1692
        <version>14</version>
1693
        </dependency>   -->      
1694
      <!-- GIS/KML -->
1695
	  <dependency>
1696
	     <groupId>de.micromata.jak</groupId>
1697
	     <artifactId>JavaAPIforKml</artifactId>
1698
	     <version>2.2.1</version>
1699
	  </dependency>
1700
	  <dependency>
1701
	    <groupId>org.geotools</groupId>
1702
	    <artifactId>gt-opengis</artifactId>
1703
	    <version>${geotools.version}</version>
1704
	  </dependency>
1705
	  <dependency>
1706
	    <groupId>org.geotools</groupId>
1707
	    <artifactId>gt-referencing</artifactId>
1708
	    <version>${geotools.version}</version>
1709
	  </dependency>
1710
	  <dependency>
1711
	    <groupId>org.geotools</groupId>
1712
	    <artifactId>gt-epsg-wkt</artifactId>
1713
	    <version>${geotools.version}</version>
1714
	  </dependency>
1715
	  <dependency>
1716
	    <groupId>org.geotools</groupId>
1717
	    <artifactId>gt-main</artifactId>
1718
	    <version>${geotools.version}</version>
1719
	  </dependency>
1720
    
1721
      <dependency>
1722
         <groupId>com.sun</groupId>
1723
         <artifactId>tools</artifactId>
1724
         <version>1.8.0</version>
1725
      </dependency>
1726
      <dependency>
1727
        <!-- Email functionality (used in cdmlib-services) -->
1728
          <groupId>com.sun.mail</groupId>
1729
          <artifactId>javax.mail</artifactId>
1730
          <version>${jakarta.mail.version}</version>
1731
      </dependency>
1732
      <dependency>
1733
        <!-- only needed for PasswordResetService, may be replaced by Thymeleaf, but also needed in TaxEditor cdmlib modul -->
1734
        <groupId>org.apache.commons</groupId>
1735
        <artifactId>commons-text</artifactId>
1736
        <version>1.9</version>
1737
      </dependency>
1738
      <dependency>
1739
        <groupId>org.passay</groupId>
1740
        <artifactId>passay</artifactId>
1741
        <version>1.6.1</version>
1742
      </dependency>
1743
   </dependencies>    
1744
  </dependencyManagement>
1745
</project>
(6-6/6)