Project

General

Profile

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

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

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

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

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

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

    
1503

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

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