Project

General

Profile

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

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

    
995
      <dependency>
996
        <groupId>net.sf.ezmorph</groupId>
997
        <artifactId>ezmorph</artifactId>
998
        <version>1.0.6</version>
999
      </dependency>
1000
      <dependency>
1001
        <groupId>commons-beanutils</groupId>
1002
        <artifactId>commons-beanutils</artifactId>
1003
        <version>1.9.4</version>
1004
      </dependency>
1005
      <dependency>
1006
        <groupId>net.sf.json-lib</groupId>
1007
        <artifactId>json-lib</artifactId>
1008
        <version>2.4</version>
1009
        <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
1010
        <classifier>jdk15</classifier>
1011
      </dependency>
1012
      <!-- media  -->
1013
      <dependency>
1014
        <groupId>org.devlib.schmidt</groupId>
1015
        <artifactId>imageinfo</artifactId>
1016
        <version>1.9</version>
1017
      </dependency>
1018
       <dependency>
1019
        <groupId>de.digitalcollections.iiif</groupId>
1020
        <artifactId>iiif-apis</artifactId>
1021
        <version>0.3.9</version>
1022
      </dependency>
1023
<!--       <dependency> -->
1024
<!--         only for version management iterators depends in different versions from -->
1025
<!--               de.digitalcollections.iiif:iiif-apis:0.3.9 -->
1026
<!--       	<groupId>org.dmfs</groupId> -->
1027
<!--       	<artifactId>iterators</artifactId> -->
1028
<!--       	<version>1.5</version> -->
1029
<!--       </dependency> -->
1030
      <!--         -->
1031
      <dependency>
1032
        <groupId>org.apache.poi</groupId>
1033
        <artifactId>poi</artifactId>
1034
        <version>${poi.version}</version>
1035
      </dependency>
1036
      <dependency>
1037
        <groupId>org.apache.poi</groupId>
1038
        <artifactId>poi-ooxml-schemas</artifactId>
1039
        <version>${poi.version}</version>
1040
      </dependency>
1041
      <dependency>
1042
        <groupId>org.apache.poi</groupId>
1043
        <artifactId>poi-ooxml</artifactId>
1044
        <version>${poi.version}</version>
1045
      </dependency>
1046
      <dependency>
1047
        <groupId>org.apache.poi</groupId>
1048
        <artifactId>ooxml-schemas</artifactId>
1049
        <version>1.4</version>
1050
      </dependency>
1051
      <!--       <dependency> -->
1052
<!-- 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  -->
1053
<!--         <groupId>org.apache.poi</groupId> -->
1054
<!--         <artifactId>ooxml-schemas</artifactId> -->
1055
<!--         <version>1.4</version> -->
1056
<!--       </dependency> -->
1057
      <dependency>
1058
     	<!-- only for version management xmlbeans depends in different versions from 
1059
        org.apache.poi:poi-ooxml-schemas:3.13 and org.apache.poi:ooxml-schemas:1.4 -->
1060
      	<groupId>org.apache.xmlbeans</groupId>
1061
      	<artifactId>xmlbeans</artifactId>
1062
      	<version>3.1.0</version>
1063
        <!-- checked 2020-08 -->
1064
      </dependency>
1065
      <dependency>
1066
        <groupId>org.docx4j</groupId>
1067
        <artifactId>docx4j</artifactId>
1068
        <version>6.1.2</version>
1069
      </dependency>
1070
      <dependency>
1071
        <!-- only for version management xalan depends in different versions from 
1072
        org.docx4j:docx4j:6.0.1 and xom:xom:1.2.5 -->
1073
      	<groupId>xalan</groupId>
1074
      	<artifactId>xalan</artifactId>
1075
      	<version>2.7.2</version>
1076
      </dependency>
1077
      <dependency>
1078
        <!-- only for version management org.apache.xmlgraphics:xmlgraphics-commons depends in different versions from 
1079
        org.docx4j:docx4j:6.0.1 and org.apache.xmlgraphics:fop:1.1 -->
1080
      	<groupId>org.apache.xmlgraphics</groupId>
1081
      	<artifactId>xmlgraphics-commons</artifactId>
1082
      	<version>2.7</version>
1083
      </dependency>
1084
      <dependency>
1085
        <groupId>org.apache.commons</groupId>
1086
        <artifactId>commons-imaging</artifactId>
1087
        <version>1.0-alpha3</version>
1088
      </dependency>
1089
      <dependency>
1090
        <groupId>org.cybertaxonomy.media</groupId>
1091
        <artifactId>media-info-model</artifactId>
1092
        <version>1.2.0</version>
1093
      </dependency>
1094
      <!-- joda-time -->
1095
      <dependency>
1096
        <groupId>joda-time</groupId>
1097
        <artifactId>joda-time</artifactId>
1098
        <version>2.10.14</version>
1099
      </dependency>
1100
      <dependency>
1101
        <groupId>org.jadira.usertype</groupId>
1102
        <artifactId>usertype.core</artifactId>
1103
        <version>7.0.0.CR1</version>
1104
      </dependency>
1105
      <!-- dependency of jadira usertype -->
1106
      <dependency>
1107
        <groupId>javax.enterprise</groupId>
1108
        <artifactId>cdi-api</artifactId>
1109
        <version>2.0.SP1</version>
1110
      </dependency>
1111

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

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

    
1484
      <!-- ******* SERVLET/JSP/JSF ******* -->
1485
      <dependency>
1486
        <groupId>javax.servlet</groupId>
1487
        <artifactId>javax.servlet-api</artifactId>
1488
        <version>4.0.1</version>
1489
        <!-- checked 2020-08 -->
1490
      </dependency>
1491
      <dependency>
1492
          <!-- management needed for some older dependencies -->
1493
          <!-- TODO check if possible to use exclusions -->
1494
          <groupId>javax.servlet</groupId>
1495
          <artifactId>servlet-api</artifactId>
1496
          <version>2.5</version>
1497
      </dependency>
1498

    
1499

    
1500
      <!-- yourkit profiler api controller (used in ..) -->
1501
      <dependency>
1502
        <groupId>com.yourkit</groupId>
1503
        <artifactId>yjp-controller-api-redist</artifactId>
1504
        <version>2015-build-15086</version>
1505
        <scope>test</scope>
1506
      </dependency>
1507
      <!-- For Validation -->
1508
      <dependency>
1509
        <groupId>javax.validation</groupId>
1510
        <artifactId>validation-api</artifactId>
1511
        <version>2.0.1.Final</version>
1512
        <!-- checked 2020-08 -->
1513
      </dependency>
1514
      <dependency>
1515
        <groupId>org.hibernate.validator</groupId>
1516
        <artifactId>hibernate-validator</artifactId>
1517
        <version>${hibernate-validator.version}</version>
1518
      </dependency>
1519
      <dependency>
1520
        <groupId>com.fasterxml</groupId>
1521
        <artifactId>classmate</artifactId>
1522
        <version>1.5.1</version>     
1523
        <!-- checked 2020-08 -->
1524
      </dependency>
1525
	  <dependency>
1526
        <groupId>javax.el</groupId>
1527
        <artifactId>javax.el-api</artifactId>
1528
        <version>3.0.0</version>
1529
        <!-- checked 2020-08 -->
1530
	  </dependency>
1531
      <dependency>
1532
          <groupId>jakarta.validation</groupId>
1533
          <artifactId>jakarta.validation-api</artifactId>
1534
          <version>3.0.2</version>
1535
          <!-- checked 2022-06 -->
1536
      </dependency>
1537
	  <dependency>
1538
		 <groupId>org.glassfish.web</groupId>
1539
		 <artifactId>javax.el</artifactId>
1540
		 <version>2.2.6</version>
1541
	  </dependency>
1542
	  <dependency>
1543
	     <groupId>org.hibernate.validator</groupId>
1544
         <artifactId>hibernate-validator-cdi</artifactId>
1545
         <version>${hibernate-validator.version}</version>
1546
	  </dependency>
1547
      <dependency>
1548
         <!-- not clear if needed, but if needed v8.0 should be used to avoid problems with javax.validation.BootstrapConfiguration -->
1549
         <!-- it was a (currently excluded) transitiv dependency from org.geotools/gt-referencing  used in cdmlib-ext -->
1550
         <groupId>javax</groupId>
1551
         <artifactId>javaee-api</artifactId>
1552
         <version>8.0.1</version>
1553
      </dependency>
1554
	  
1555
      <!-- for ikey-plus -->
1556
      <dependency>
1557
        <groupId>identificationKeyAPI</groupId>
1558
        <artifactId>identificationKeyAPI</artifactId>
1559
        <version>1.0</version>   <!-- was <version>1.0-SNAPSHOT</version> -->
1560
      </dependency>
1561
      <dependency>
1562
        <groupId>com.itextpdf</groupId>
1563
        <artifactId>itextpdf</artifactId>
1564
        <version>5.5.13.3</version>
1565
        <scope>compile</scope>
1566
      </dependency>
1567
      <!-- AptView -->
1568
      <dependency>
1569
        <groupId>org.apache.maven.doxia</groupId>
1570
        <artifactId>doxia-module-apt</artifactId>
1571
        <version>${doxia.version}</version>
1572
      </dependency>
1573
      <dependency>
1574
        <groupId>org.apache.maven.doxia</groupId>
1575
        <artifactId>doxia-module-xhtml</artifactId>
1576
        <version>${doxia.version}</version>
1577
      </dependency>
1578
      <dependency>
1579
        <!-- managing version of plexus-utils to avoid multiple versions (3.0.15, 1.4.5) of the artifact -->
1580
      	<groupId>org.codehaus.plexus</groupId>
1581
      	<artifactId>plexus-utils</artifactId>
1582
      	<version>3.4.1</version>
1583
        <!-- checked 2022-01 -->
1584
      </dependency>
1585
      <!-- swagger (rest service doc) -->
1586
      <dependency>
1587
        <groupId>io.swagger</groupId>
1588
        <artifactId>swagger-annotations</artifactId>
1589
        <!-- should match the springfox-swagger2 depends on -->
1590
        <version>1.5.10</version>
1591
      </dependency>
1592

    
1593
      <!-- dependencies for swagger-springmvc, added explicitely -->
1594
      <dependency>
1595
        <groupId>com.fasterxml.jackson.core</groupId>
1596
        <artifactId>jackson-databind</artifactId>
1597
        <version>${jackson.version}</version>
1598
      </dependency>
1599
      <dependency>
1600
        <groupId>com.fasterxml.jackson.core</groupId>
1601
        <artifactId>jackson-core</artifactId>
1602
        <version>${jackson.version}</version>
1603
      </dependency>
1604
      <dependency>
1605
        <groupId>com.fasterxml.jackson.core</groupId>
1606
        <artifactId>jackson-annotations</artifactId>
1607
        <version>${jackson.version}</version>
1608
      </dependency> 
1609
      <!-- END of dependencies for swagger-springmvc, added explicitely -->
1610
      <dependency>
1611
        <groupId>io.springfox</groupId>
1612
        <artifactId>springfox-swagger2</artifactId>
1613
        <version>2.6.1</version>
1614
      </dependency>
1615
      
1616
      <!-- ******* DATABASES DRIVER ******* -->
1617
      <dependency>
1618
        <groupId>mysql</groupId>
1619
        <artifactId>mysql-connector-java</artifactId>
1620
        <version>8.0.29</version>
1621
      </dependency>
1622
      <dependency>
1623
        <groupId>org.mariadb.jdbc</groupId>
1624
        <artifactId>mariadb-java-client</artifactId>
1625
        <version>3.0.5</version>
1626
      </dependency>
1627
      <dependency>
1628
         <groupId>org.postgresql</groupId>
1629
         <artifactId>postgresql</artifactId>
1630
         <version>42.3.6</version>
1631
      </dependency>
1632
	  <dependency>
1633
        <groupId>com.h2database</groupId>
1634
        <artifactId>h2</artifactId>
1635
        <version>1.4.190</version>
1636
      </dependency>
1637
      <!-- SQL Server -->
1638
      <dependency>
1639
        <groupId>com.microsoft.sqlserver</groupId>
1640
        <artifactId>mssql-jdbc</artifactId>
1641
        <version>9.4.1.jre8</version>
1642
      </dependency>
1643
	  <dependency>
1644
        <groupId>org.hsqldb</groupId>
1645
        <artifactId>hsqldb</artifactId>
1646
        <version>${hsqldb.version}</version>
1647
      </dependency>
1648
      <dependency>
1649
        <!-- SQL Server and Sybase -->
1650
        <groupId>net.sourceforge.jtds</groupId>
1651
        <artifactId>jtds</artifactId>
1652
        <version>1.3.1</version>
1653
      </dependency>
1654
      <dependency>
1655
        <groupId>oracle</groupId>
1656
        <artifactId>ojdbc14</artifactId>
1657
        <version>10.2.0.4.0</version>
1658
      </dependency>
1659
      <!--    <dependency>
1660
        <groupId>ojdbc</groupId>
1661
        <artifactId>ojdbc</artifactId>
1662
        <version>14</version>
1663
        </dependency>   -->      
1664
      <!-- GIS/KML -->
1665
	  <dependency>
1666
	     <groupId>de.micromata.jak</groupId>
1667
	     <artifactId>JavaAPIforKml</artifactId>
1668
	     <version>2.2.1</version>
1669
	  </dependency>
1670
	  <dependency>
1671
	    <groupId>org.geotools</groupId>
1672
	    <artifactId>gt-opengis</artifactId>
1673
	    <version>${geotools.version}</version>
1674
	  </dependency>
1675
	  <dependency>
1676
	    <groupId>org.geotools</groupId>
1677
	    <artifactId>gt-referencing</artifactId>
1678
	    <version>${geotools.version}</version>
1679
	  </dependency>
1680
	  <dependency>
1681
	    <groupId>org.geotools</groupId>
1682
	    <artifactId>gt-epsg-wkt</artifactId>
1683
	    <version>${geotools.version}</version>
1684
	  </dependency>
1685
	  <dependency>
1686
	    <groupId>org.geotools</groupId>
1687
	    <artifactId>gt-main</artifactId>
1688
	    <version>${geotools.version}</version>
1689
	  </dependency>
1690
    
1691
      <dependency>
1692
         <groupId>com.sun</groupId>
1693
         <artifactId>tools</artifactId>
1694
         <version>1.8.0</version>
1695
      </dependency>
1696
      <dependency>
1697
        <!-- Email functionality (used in cdmlib-services) -->
1698
          <groupId>com.sun.mail</groupId>
1699
          <artifactId>javax.mail</artifactId>
1700
          <version>${javax.mail.version}</version>
1701
      </dependency>
1702
      <dependency>
1703
        <!-- only needed for PasswordResetService, may be replaced by Thymeleaf, but also needed in TaxEditor cdmlib modul -->
1704
        <groupId>org.apache.commons</groupId>
1705
        <artifactId>commons-text</artifactId>
1706
        <version>1.9</version>
1707
      </dependency>
1708
      <dependency>
1709
        <groupId>org.passay</groupId>
1710
        <artifactId>passay</artifactId>
1711
        <version>1.6.1</version>
1712
      </dependency>
1713
   </dependencies>    
1714
  </dependencyManagement>
1715
</project>
(6-6/6)