Merge branch 'release/5.42.0'
[cdmlib.git] / pom.xml
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.42.0</version>
7 <name>CDM Library</name>
8 <description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.</description>
9 <url>https://cybertaxonomy.org/cdmlib/</url>
10 <inceptionYear>2007</inceptionYear>
11 <packaging>pom</packaging>
12 <modules>
13 <module>cdmlib-commons</module>
14 <module>cdmlib-model</module>
15 <module>cdmlib-api</module>
16 <module>cdmlib-db</module>
17 <module>cdmlib-test</module>
18 <module>cdmlib-persistence</module>
19 <module>cdmlib-services</module>
20 <module>cdmlib-cache</module>
21 <module>cdmlib-ext</module>
22 <module>cdmlib-io</module>
23 <module>cdmlib-remote</module>
24 <module>cdmlib-print</module>
25 <module>cdmlib-remote-webapp</module>
26 </modules>
27 <properties>
28 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
30 <java.codelevel>1.8</java.codelevel>
31 <spring.version>4.3.30.RELEASE</spring.version> <!-- checked 2020-08, further upgrade possible -->
32 <spring-security.version>4.2.20.RELEASE</spring-security.version> <!-- checked 2020-08, further upgrade possible -->
33 <spring-security-oauth2.version>2.5.2.RELEASE</spring-security-oauth2.version> <!-- checked 2020-08 -->
34 <spring-cloud.version>1.1.3.RELEASE</spring-cloud.version>
35 <hibernate.version>5.4.33.Final</hibernate.version>
36 <hibernate-validator.version>6.2.3.Final</hibernate-validator.version> <!-- checked 2020-08 -->
37 <hibernate-search.version>5.11.10.Final</hibernate-search.version>
38 <lucene.version>5.5.5</lucene.version>
39 <unitils.version>3.4.6</unitils.version>
40 <httpcomponents.version>4.5.13</httpcomponents.version>
41 <doxia.version>1.11.1</doxia.version> <!-- checked 2021-12 -->
42 <poi.version>5.2.2</poi.version> <!-- checked 2022-06 -->
43 <jackson.version>2.13.3</jackson.version> <!-- checked 2022-05 -->
44 <!-- CAUTION when upgrading, 1.8x requires another log4j binding: https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html -->
45 <slf4j.version>1.7.36</slf4j.version> <!-- checked 2022-06 -->
46 <log4j.version>2.19.0</log4j.version>
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 <jakarta.mail.version>1.5.6</jakarta.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 <!-- required for org.geotools:gt-opengis/gt-referencing/gt-epsg-wkt/gt-main -->
177 <repository>
178 <id>OSGeo Repository</id>
179 <url>https://repo.osgeo.org/repository/release/</url>
180 </repository>
181 </repositories>
182 <!-- **** PLUGINS **** -->
183 <build>
184 <plugins>
185 <plugin>
186 <groupId>org.apache.maven.plugins</groupId>
187 <artifactId>maven-compiler-plugin</artifactId>
188 <!-- TODO #6407#9919 upgrading to 3.x leads to test failures in model etc. -->
189 <!-- <version>3.10.1</version> -->
190 <version>2.5.1</version>
191 <configuration>
192 <source>${java.codelevel}</source>
193 <target>${java.codelevel}</target>
194 <encoding>${project.build.sourceEncoding}</encoding> <!-- necessary? should be covered by project. properties source encoding -->
195 <!-- to increase stacksize see #6404 -->
196 </configuration>
197 </plugin>
198 <plugin>
199 <groupId>org.apache.maven.plugins</groupId>
200 <artifactId>maven-surefire-plugin</artifactId>
201 <version>3.0.0-M7</version> <!-- updated 2022-06 -->
202 <configuration>
203 <argLine>-Xmx512M -Dfile.encoding=${project.build.sourceEncoding}</argLine>
204 <runOrder>alphabetical</runOrder>
205 <includes>
206 <include>**/*Test.java</include>
207 </includes>
208 </configuration>
209 </plugin>
210 <plugin>
211 <groupId>org.apache.maven.plugins</groupId>
212 <artifactId>maven-resources-plugin</artifactId>
213 <version>3.1.0</version>
214 <configuration>
215 <encoding>${project.build.sourceEncoding}</encoding>
216 </configuration>
217 </plugin>
218 <plugin>
219 <groupId>org.codehaus.mojo</groupId>
220 <artifactId>buildnumber-maven-plugin</artifactId>
221 <version>1.4</version>
222 <executions>
223 <execution>
224 <!--<phase>deploy</phase> -->
225 <goals>
226 <goal>create</goal>
227 </goals>
228 </execution>
229 </executions>
230 <configuration>
231 <doCheck>false</doCheck>
232 <!-- Only create the build number if there are no local modifications -->
233 <doUpdate>false</doUpdate>
234 <!-- automatically update the local svn copy -->
235 </configuration>
236 </plugin>
237 <plugin>
238 <groupId>org.apache.maven.plugins</groupId>
239 <artifactId>maven-site-plugin</artifactId>
240 <version>3.10.0</version>
241 <configuration>
242 <locales>en</locales>
243 <outputEncoding>UTF-8</outputEncoding><!-- necessary? should be covered by project. properties output encoding -->
244 <!-- chmod: not not use chmod, rather adapt the umask of the user
245 at the server to which the site is deployed -->
246 <chmod>false</chmod>
247 </configuration>
248 </plugin>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-source-plugin</artifactId>
252 <version>3.2.1</version>
253 <executions>
254 <execution>
255 <id>attach-sources</id>
256 <phase>verify</phase>
257 <goals>
258 <goal>jar</goal>
259 </goals>
260 </execution>
261 </executions>
262 </plugin>
263 <plugin>
264 <groupId>org.apache.maven.plugins</groupId>
265 <artifactId>maven-javadoc-plugin</artifactId>
266 <version>3.3.1</version>
267 <configuration>
268 <stylesheet>maven</stylesheet>
269 <quiet>true</quiet>
270 <detectLinks>true</detectLinks>
271 <failOnError>false</failOnError>
272 <!-- TODO do more finegrained exclusions, see e.g https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javadoc.html#BEJEFABE -->
273 <doclint>${doclint}</doclint>
274 </configuration>
275 <executions>
276 <execution>
277 <id>aggregate</id>
278 <goals>
279 <goal>aggregate</goal>
280 </goals>
281 <phase>site</phase>
282 </execution>
283 </executions>
284 </plugin>
285 <plugin>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-eclipse-plugin</artifactId>
288 <version>2.10</version>
289 <configuration>
290 <downloadSources>true</downloadSources>
291 <downloadJavadocs>true</downloadJavadocs>
292 </configuration>
293 </plugin>
294 <plugin>
295 <groupId>com.agilejava.docbkx</groupId>
296 <artifactId>docbkx-maven-plugin</artifactId>
297 <version>2.0.17</version>
298 <executions>
299 <execution>
300 <goals>
301 <goal>generate-html</goal>
302 <goal>generate-pdf</goal>
303 </goals>
304 <phase>pre-site</phase>
305 </execution>
306 </executions>
307 <dependencies>
308 <dependency>
309 <groupId>net.sf.docbook</groupId>
310 <artifactId>docbook-xml</artifactId>
311 <version>5.0</version>
312 <scope>runtime</scope>
313 </dependency>
314 </dependencies>
315 <configuration>
316 <includes>ReferenceDocumentation.xml</includes>
317 <chunkedOutput>true</chunkedOutput>
318 <htmlStylesheet>resources/css/html.css</htmlStylesheet>
319 <xincludeSupported>true</xincludeSupported>
320 <!--<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization> -->
321 <!-- if anyone can get the xsl-fo customization to work properly,
322 then by all means use it <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization> -->
323 <entities>
324 <entity>
325 <name>version</name>
326 <value>${project.version}</value>
327 </entity>
328 </entities>
329 <!--We want the final documentation and the required resources
330 to end up in the right place -->
331 <postProcess>
332 <copy todir="target/site/reference">
333 <fileset dir="target/docbkx">
334 <include name="**/*.html" />
335 <include name="**/*.pdf" />
336 </fileset>
337 </copy>
338 <copy todir="target/site/reference/html">
339 <fileset dir="src/docbkx">
340 <include name="**/*.css" />
341 <include name="**/*.png" />
342 <include name="**/*.gif" />
343 <include name="**/*.jpg" />
344 </fileset>
345 </copy>
346 </postProcess>
347 </configuration>
348 </plugin>
349 <plugin>
350 <groupId>org.codehaus.mojo</groupId>
351 <artifactId>wagon-maven-plugin</artifactId>
352 <version>2.0.2</version>
353 <configuration>
354 <fromDir>${project.build.directory}/docbkx/</fromDir>
355 <includes>**/*</includes>
356 <excludes />
357 <url>scpexe://cybertaxonomy.org</url>
358 <serverId>cybertaxonomy.eu</serverId>
359 <toDir>var/www/wp5.e-taxonomy.eu/cdmlib/reference/${project.version}</toDir>
360 </configuration>
361 <executions>
362 <execution>
363 <id>upload-reference-documentation</id>
364 <phase>site-deploy</phase>
365 <goals>
366 <goal>upload</goal>
367 </goals>
368 </execution>
369 </executions>
370 </plugin>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-release-plugin</artifactId>
374 <version>2.5.3</version>
375 <configuration>
376 <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
377 <autoVersionSubmodules>true</autoVersionSubmodules>
378 <preparationGoals>clean verify install</preparationGoals>
379 <goals>deploy</goals><!-- skipping site-deploy by explicitly configuring
380 the goal here -->
381 <tagBase>https://dev.e-taxonomy.eu/gitweb/cdmlib.git/tags</tagBase>
382 </configuration>
383 </plugin>
384 <plugin>
385 <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
386 <artifactId>jgitflow-maven-plugin</artifactId>
387 <version>1.0-m8</version> -->
388 <groupId>external.atlassian.jgitflow</groupId>
389 <artifactId>jgitflow-maven-plugin</artifactId>
390 <version>1.0-m6</version>
391 <configuration>
392 <pushHotfixes>true</pushHotfixes>
393 <pushReleases>true</pushReleases>
394 <enableSshAgent>true</enableSshAgent>
395 <allowSnapshots>true</allowSnapshots>
396 <allowUntracked>true</allowUntracked>
397 </configuration>
398 <dependencies>
399 <!--
400 upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
401 in order have ssl key exchange algorithms compatible with openssh 6.7
402 -->
403 <dependency>
404 <groupId>com.jcraft</groupId>
405 <artifactId>jsch</artifactId>
406 <version>0.1.55</version>
407 </dependency>
408 </dependencies>
409 </plugin>
410 <plugin>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-enforcer-plugin</artifactId>
413 <version>3.1.0</version>
414 <executions>
415 <execution>
416 <id>enforce</id>
417 <configuration>
418 <fail>true</fail>
419 <skip>false</skip>
420 <rules>
421 <dependencyConvergence />
422 <requireMavenVersion>
423 <version>[3.6.0,)</version>
424 </requireMavenVersion>
425 </rules>
426 </configuration>
427 <goals>
428 <goal>enforce</goal>
429 <!-- Binds by default to the lifecycle phase: validate -->
430 </goals>
431 </execution>
432 </executions>
433 </plugin>
434 </plugins>
435 <extensions>
436 <extension>
437 <groupId>org.apache.maven.wagon</groupId>
438 <artifactId>wagon-scm</artifactId>
439 <version>3.5.1</version>
440 </extension>
441 <extension>
442 <groupId>org.apache.maven.wagon</groupId>
443 <artifactId>wagon-ssh</artifactId>
444 <version>3.5.1</version>
445 </extension>
446 <extension>
447 <groupId>org.apache.maven.wagon</groupId>
448 <artifactId>wagon-ssh-external</artifactId>
449 <version>3.5.1</version>
450 </extension>
451 <extension>
452 <groupId>org.apache.maven.scm</groupId>
453 <artifactId>maven-scm-manager-plexus</artifactId>
454 <version>1.12.2</version>
455 </extension>
456 <extension>
457 <groupId>org.apache.maven.scm</groupId>
458 <artifactId>maven-scm-provider-svnexe</artifactId>
459 <version>1.12.2</version>
460 </extension>
461 <!-- WebDAV plugin to upload snapshots -->
462 <extension>
463 <groupId>org.apache.maven.wagon</groupId>
464 <artifactId>wagon-webdav-jackrabbit</artifactId>
465 <version>3.5.1</version>
466 </extension>
467 </extensions>
468 <pluginManagement>
469 <plugins>
470 <plugin>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-antrun-plugin</artifactId>
473 <version>3.0.0</version>
474 </plugin>
475 </plugins>
476 </pluginManagement>
477 </build>
478 <reporting>
479 <plugins>
480 <plugin>
481 <!-- you will want to start by publishing your classes' Javadocs -->
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-javadoc-plugin</artifactId>
484 <version>3.3.1</version>
485 <configuration>
486 <detectLinks>true</detectLinks>
487 <doclint>${doclint}</doclint>
488 </configuration>
489 </plugin>
490 <plugin>
491 <!-- this will generate an indexed and cross-referenced HTML version
492 of your source code -->
493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-jxr-plugin</artifactId>
495 <version>3.3.1</version>
496 </plugin>
497 <plugin>
498 <!-- if you use @todo tags to remind you of things to be done (which
499 is a good coding practice), the taglist report will generate a list of all
500 the items marked @todo or TODO -->
501 <groupId>org.codehaus.mojo</groupId>
502 <artifactId>taglist-maven-plugin</artifactId>
503 <version>2.4</version>
504 </plugin>
505 <plugin>
506 <!-- Test coverage can be a useful indication of the quality of your
507 unit tests. It basically tells you how much of your code is actually run
508 by your unit tests, which, in turn, can give you a good idea of the tests'
509 quality -->
510 <groupId>org.codehaus.mojo</groupId>
511 <artifactId>cobertura-maven-plugin</artifactId>
512 <version>2.7</version>
513 <!-- <executions> <execution> <id>clean</id> <phase>clean</phase>
514 <goals> <goal>clean</goal> </goals> </execution> </executions> -->
515 </plugin>
516 <!-- -->
517 <plugin>
518 <groupId>org.apache.maven.plugins</groupId>
519 <artifactId>maven-project-info-reports-plugin</artifactId>
520 <version>3.1.2</version>
521 <configuration>
522 <!-- when the dependencyLocations option is enabled maven will
523 determine if resources are located within a given repository. If that repository
524 doesn’t exist anyomore or is just terribly slow and will produce tons of
525 line in the log starting with: '[ERROR] Unable to determine if resource ...'
526 This will slow down site build drastically, therefore we disable this option
527 here. -->
528 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
529 </configuration>
530 <!-- just the deafault <reportSets> <reportSet> <reports> <report>dependencies</report>
531 <report>project-team</report> <report>mailing-list</report> <report>cim</report>
532 <report>issue-tracking</report> <report>license</report> <report>scm</report>
533 </reports> </reportSet> </reportSets> -->
534 </plugin>
535 <!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml)
536 to track releases and changes in each release -->
537 <plugin>
538 <groupId>org.apache.maven.plugins</groupId>
539 <artifactId>maven-changes-plugin</artifactId>
540 <version>2.12.1</version>
541 <configuration>
542 <issueLinkTemplatePerSystem>
543 <default>%URL%/ticket/%ISSUE%</default>
544 </issueLinkTemplatePerSystem>
545 </configuration>
546 <reportSets>
547 <reportSet>
548 <reports>
549 <report>changes-report</report>
550 </reports>
551 </reportSet>
552 </reportSets>
553 </plugin>
554 <!-- The changelog plug-in generates a nice report describing which
555 files have been changed and by whom -->
556 <!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>changelog-maven-plugin</artifactId>
557 </plugin> -->
558 </plugins>
559
560 </reporting>
561 <!-- DISTRIBUTION MANAGEMENT -->
562 <distributionManagement>
563 <site>
564 <id>cybertaxonomy.eu</id>
565 <name>CDM Library Website</name>
566 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/cdmlib/</url>
567 </site>
568 <repository>
569 <uniqueVersion>false</uniqueVersion>
570 <id>cybertaxonomy.eu</id>
571 <name>Edit Maven Repository</name>
572 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
573 <layout>default</layout>
574 </repository>
575 </distributionManagement>
576 <!-- **** DEPENDENCIES **** -->
577 <dependencies>
578 <dependency>
579 <!-- 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 -->
580 <groupId>junit</groupId>
581 <artifactId>junit</artifactId>
582 <scope>test</scope>
583 </dependency>
584 </dependencies>
585 <dependencyManagement>
586 <dependencies>
587 <dependency>
588 <groupId>eu.etaxonomy</groupId>
589 <artifactId>cdmlib-commons</artifactId>
590 <version>${project.version}</version>
591 </dependency>
592 <dependency>
593 <groupId>eu.etaxonomy</groupId>
594 <artifactId>cdmlib-model</artifactId>
595 <version>${project.version}</version>
596 </dependency>
597 <dependency>
598 <groupId>eu.etaxonomy</groupId>
599 <artifactId>cdmlib-api</artifactId>
600 <version>${project.version}</version>
601 </dependency>
602 <dependency>
603 <groupId>eu.etaxonomy</groupId>
604 <artifactId>cdmlib-persistence</artifactId>
605 <version>${project.version}</version>
606 </dependency>
607 <dependency>
608 <groupId>eu.etaxonomy</groupId>
609 <artifactId>cdmlib-services</artifactId>
610 <version>${project.version}</version>
611 </dependency>
612 <dependency>
613 <groupId>eu.etaxonomy</groupId>
614 <artifactId>cdmlib-io</artifactId>
615 <version>${project.version}</version>
616 </dependency>
617 <dependency>
618 <groupId>eu.etaxonomy</groupId>
619 <artifactId>cdmlib-remote</artifactId>
620 <version>${project.version}</version>
621 </dependency>
622 <dependency>
623 <groupId>eu.etaxonomy</groupId>
624 <artifactId>cdmlib-remote-webapp</artifactId>
625 <version>${project.version}</version>
626 </dependency>
627 <dependency>
628 <groupId>eu.etaxonomy</groupId>
629 <artifactId>cdm-server</artifactId>
630 <version>${project.version}</version>
631 </dependency>
632 <dependency>
633 <groupId>eu.etaxonomy</groupId>
634 <artifactId>cdmlib-ext</artifactId>
635 <version>${project.version}</version>
636 </dependency>
637 <dependency>
638 <groupId>eu.etaxonomy</groupId>
639 <artifactId>cdmlib-print</artifactId>
640 <version>${project.version}</version>
641 </dependency>
642
643 <!--*********** JAXB********* -->
644 <dependency>
645 <groupId>jakarta.xml.bind</groupId>
646 <artifactId>jakarta.xml.bind-api</artifactId>
647 <version>${jaxb.version}</version> <!-- not sure if jaxb.version is always the same -->
648 </dependency>
649 <!-- <dependency> -->
650 <!-- replaced by jakarta.xml.bind-api -->
651 <!-- <groupId>javax.xml.bind</groupId> -->
652 <!-- <artifactId>jaxb-api</artifactId> -->
653 <!-- <version>2.3.1</version> -->
654 <!-- checked 2020-08 -->
655 <!-- </dependency> -->
656 <dependency>
657 <!-- dependency for jaxb-api -->
658 <groupId>javax.activation</groupId>
659 <artifactId>javax.activation-api</artifactId>
660 <version>1.2.0</version>
661 <!-- checked 2020-08 -->
662 </dependency>
663 <dependency>
664 <groupId>org.glassfish.jaxb</groupId>
665 <artifactId>jaxb-runtime</artifactId>
666 <version>${jaxb.version}</version>
667 </dependency>
668 <dependency>
669 <groupId>org.glassfish.jaxb</groupId>
670 <artifactId>jaxb-jxc</artifactId>
671 <version>${jaxb.version}</version>
672 </dependency>
673 <dependency>
674 <!-- currently required as xsom references older version -->
675 <groupId>com.sun.xml.bind.external</groupId>
676 <artifactId>relaxng-datatype</artifactId>
677 <version>${jaxb.version}</version>
678 </dependency>
679 <dependency>
680 <!-- jaxb-runtime dependency -->
681 <groupId>jakarta.activation</groupId>
682 <artifactId>jakarta.activation-api</artifactId>
683 <version>1.2.2</version>
684 </dependency>
685 <!-- JAXB END -->
686
687 <dependency>
688 <!-- only for version management org.apache.ant:ant depends in different versions from
689 org.unitils:unitils-easymock:3.4.2 and org.glassfish.jaxb:jaxb-jxc:2.2.11 -->
690 <groupId>org.apache.ant</groupId>
691 <artifactId>ant</artifactId>
692 <version>1.10.12</version>
693 </dependency>
694 <!-- ******* hibernate uses slf4j ******* -->
695 <dependency>
696 <groupId>org.slf4j</groupId>
697 <artifactId>slf4j-api</artifactId>
698 <version>${slf4j.version}</version>
699 </dependency>
700 <dependency>
701 <groupId>org.apache.logging.log4j</groupId>
702 <artifactId>log4j-slf4j-impl</artifactId>
703 <version>${log4j.version}</version>
704 </dependency>
705 <!-- dozer depends on jcl-over-slf4j -->
706 <dependency>
707 <groupId>org.slf4j</groupId>
708 <artifactId>jcl-over-slf4j</artifactId>
709 <version>${slf4j.version}</version>
710 </dependency>
711
712 <!-- ******* testing ******* -->
713 <dependency>
714 <groupId>junit</groupId>
715 <artifactId>junit</artifactId>
716 <version>4.13.2</version>
717 <scope>test</scope>
718 </dependency>
719 <dependency>
720 <groupId>com.carrotsearch</groupId>
721 <artifactId>junit-benchmarks</artifactId>
722 <version>0.7.2</version>
723 <scope>test</scope>
724 </dependency>
725 <dependency>
726 <groupId>org.unitils</groupId>
727 <artifactId>unitils-core</artifactId>
728 <version>${unitils.version}</version>
729 <!-- <scope>test</scope> unscoped since we need this dependency at
730 compile time in persistence for H2DbSupport.java -->
731 <exclusions>
732 <exclusion>
733 <!-- we use jcl-over-slf4j instead -->
734 <groupId>commons-logging</groupId>
735 <artifactId>commons-logging</artifactId>
736 </exclusion>
737 </exclusions>
738 </dependency>
739 <dependency>
740 <groupId>org.unitils</groupId>
741 <artifactId>unitils-database</artifactId>
742 <version>${unitils.version}</version>
743 <scope>test</scope>
744 <exclusions>
745 <exclusion>
746 <groupId>org.springframework</groupId>
747 <artifactId>spring-jdbc</artifactId>
748 </exclusion>
749 </exclusions>
750 </dependency>
751 <dependency>
752 <groupId>org.unitils</groupId>
753 <artifactId>unitils-dbmaintainer</artifactId>
754 <version>${unitils.version}</version>
755 <!-- <scope>test</scope> -->
756 <exclusions>
757 <exclusion>
758 <groupId>org.hibernate</groupId>
759 <artifactId>hibernate</artifactId>
760 </exclusion>
761 <exclusion>
762 <!-- we use log4j-slf4j-impl -->
763 <groupId>org.slf4j</groupId>
764 <artifactId>slf4j-nop</artifactId>
765 </exclusion>
766 </exclusions>
767 </dependency>
768 <dependency>
769 <groupId>org.objenesis</groupId>
770 <artifactId>objenesis</artifactId>
771 <version>3.2</version>
772 </dependency>
773 <dependency>
774 <groupId>org.unitils</groupId>
775 <artifactId>unitils-dbunit</artifactId>
776 <version>${unitils.version}</version>
777 <!-- <scope>test</scope> -->
778 </dependency>
779 <dependency>
780 <groupId>org.unitils</groupId>
781 <artifactId>unitils-easymock</artifactId>
782 <version>${unitils.version}</version>
783 <!-- <scope>test</scope> -->
784 </dependency>
785 <dependency>
786 <groupId>org.unitils</groupId>
787 <artifactId>unitils-mock</artifactId>
788 <version>${unitils.version}</version>
789 <!-- <scope>test</scope> -->
790 </dependency>
791 <dependency>
792 <groupId>org.unitils</groupId>
793 <artifactId>unitils-inject</artifactId>
794 <version>${unitils.version}</version>
795 <!-- <scope>test</scope> -->
796 </dependency>
797 <dependency>
798 <groupId>org.unitils</groupId>
799 <artifactId>unitils-orm</artifactId>
800 <version>${unitils.version}</version>
801 <!-- <scope>test</scope> -->
802 <exclusions>
803 <exclusion>
804 <groupId>javax.persistence</groupId>
805 <artifactId>persistence-api</artifactId>
806 </exclusion>
807 </exclusions>
808 </dependency>
809 <dependency>
810 <groupId>org.unitils</groupId>
811 <artifactId>unitils-spring</artifactId>
812 <version>${unitils.version}</version>
813 <!-- <scope>test</scope> -->
814 </dependency>
815 <dependency>
816 <groupId>xmlunit</groupId>
817 <artifactId>xmlunit</artifactId>
818 <version>1.6</version>
819 <!-- <scope>test</scope> -->
820 </dependency>
821 <!-- <dependency>
822 <groupId>org.dbunit</groupId>
823 <artifactId>dbunit</artifactId>
824 <version>2.4.9</version> -->
825 <!-- <scope>test</scope> -->
826 <!-- </dependency> -->
827 <!-- dependency of unitils-database, but with lower number there ,
828 higher number needed for compatibility with current hibernate and Java 1.6
829 PreparedStatement -->
830 <dependency>
831 <!-- currently still needed by cdmlib-persistence, once removed, scope should be set to test -->
832 <groupId>commons-dbcp</groupId>
833 <artifactId>commons-dbcp</artifactId>
834 <version>1.4</version>
835 <!-- <scope>test</scope> -->
836 </dependency>
837 <dependency>
838 <!-- currently still needed by cdmlib-persistence commons-dbcp dependency, once removed, scope should be set to test -->
839 <groupId>commons-pool</groupId>
840 <artifactId>commons-pool</artifactId>
841 <version>1.6</version>
842 <!-- <scope>test</scope> -->
843 </dependency>
844 <dependency>
845 <groupId>eu.etaxonomy</groupId>
846 <artifactId>cdmlib-test</artifactId>
847 <scope>test</scope>
848 <version>${project.version}</version>
849 </dependency>
850 <dependency>
851 <!-- used in cdmlib-services for the EmailSendTest -->
852 <groupId>org.subethamail</groupId>
853 <artifactId>subethasmtp</artifactId>
854 <version>3.1.7</version>
855 <scope>test</scope>
856 </dependency>
857 <dependency>
858 <groupId>javax.activation</groupId>
859 <artifactId>activation</artifactId>
860 <version>1.1.1</version>
861 </dependency>
862 <!-- ******* aspect ******* -->
863 <dependency>
864 <!-- not really needed as long as aspectjweaver is on classpath which is a superset of aspectjrt -->
865 <groupId>org.aspectj</groupId>
866 <artifactId>aspectjrt</artifactId>
867 <version>${aspectj.version}</version>
868 </dependency>
869 <dependency>
870 <groupId>org.aspectj</groupId>
871 <artifactId>aspectjweaver</artifactId>
872 <version>${aspectj.version}</version>
873 </dependency>
874 <!-- ******* VARIOUS ******* -->
875 <dependency>
876 <groupId>xml-resolver</groupId>
877 <artifactId>xml-resolver</artifactId>
878 <version>1.2</version>
879 <!-- checked 2020-08 -->
880 </dependency>
881
882 <dependency>
883 <!-- should not be in use anymore -->
884 <groupId>log4j</groupId>
885 <artifactId>log4j</artifactId>
886 <version>1.2.17</version>
887 </dependency>
888 <dependency>
889 <groupId>org.apache.logging.log4j</groupId>
890 <artifactId>log4j-core</artifactId>
891 <version>${log4j.version}</version>
892 </dependency>
893 <dependency>
894 <groupId>org.apache.logging.log4j</groupId>
895 <artifactId>log4j-api</artifactId>
896 <version>${log4j.version}</version>
897 </dependency>
898
899 <dependency>
900 <groupId>net.sf.opencsv</groupId>
901 <artifactId>opencsv</artifactId>
902 <version>2.3</version>
903 </dependency>
904 <dependency>
905 <groupId>org.osgi</groupId>
906 <artifactId>osgi.core</artifactId>
907 <version>8.0.0</version>
908 </dependency>
909 <dependency>
910 <groupId>org.osgi</groupId>
911 <!-- for those dependencies linking to the old structure
912 TODO better use exclusion but need to check if this is possible here -->
913 <artifactId>org.osgi.core</artifactId>
914 <version>6.0.0</version>
915 </dependency>
916 <dependency>
917 <groupId>cglib</groupId>
918 <artifactId>cglib-nodep</artifactId>
919 <version>${cglib.version}</version>
920 </dependency>
921 <!-- <dependency> -->
922 <!-- we try to have only dependencies to cglib-nodep to reduce size and to avoid
923 having 2 similar libraries. #9206 -->
924 <!-- <groupId>cglib</groupId> -->
925 <!-- <artifactId>cglib</artifactId> -->
926 <!-- <version>${cglib.version}</version> -->
927 <!-- </dependency> -->
928 <dependency>
929 <groupId>commons-lang</groupId>
930 <artifactId>commons-lang</artifactId>
931 <version>2.6</version>
932 </dependency>
933 <dependency>
934 <groupId>org.apache.commons</groupId>
935 <artifactId>commons-lang3</artifactId>
936 <version>3.12.0</version>
937 </dependency>
938 <dependency>
939 <groupId>commons-collections</groupId>
940 <artifactId>commons-collections</artifactId>
941 <version>3.2.2</version>
942 </dependency>
943 <dependency>
944 <groupId>org.apache.httpcomponents</groupId>
945 <artifactId>httpclient</artifactId>
946 <version>${httpcomponents.version}</version>
947 <exclusions>
948 <exclusion>
949 <!-- we use jcl-over-slf4j instead -->
950 <groupId>commons-logging</groupId>
951 <artifactId>commons-logging</artifactId>
952 </exclusion>
953 </exclusions>
954 </dependency>
955 <dependency>
956 <groupId>org.apache.httpcomponents</groupId>
957 <artifactId>httpcore</artifactId>
958 <!-- Note: version differs from default httpcomponents version -->
959 <version>4.4.15</version>
960 </dependency>
961 <dependency>
962 <groupId>commons-io</groupId>
963 <artifactId>commons-io</artifactId>
964 <version>2.11.0</version>
965 </dependency>
966 <dependency>
967 <groupId>org.apache.commons</groupId>
968 <artifactId>commons-compress</artifactId>
969 <version>1.21</version>
970 </dependency>
971 <dependency>
972 <groupId>org.checkerframework</groupId>
973 <artifactId>checker-qual</artifactId>
974 <version>3.21.1</version>
975 </dependency>
976 <dependency>
977 <groupId>commons-codec</groupId>
978 <artifactId>commons-codec</artifactId>
979 <version>1.15</version>
980 </dependency>
981 <!-- only for version management, hibernate-commons-annotations:4.0.1.Final
982 requires 3.1.0.CR2 , so we update
983 here to the latest version 3.4.1.Final -->
984 <dependency>
985 <groupId>org.jboss.logging</groupId>
986 <artifactId>jboss-logging</artifactId>
987 <!-- v3.5.0.Final requires java11 -->
988 <version>3.4.3.Final</version>
989 <!-- checked 2022-05 -->
990 </dependency>
991 <dependency>
992 <groupId>org.jboss.logging</groupId>
993 <artifactId>jboss-logging-annotations</artifactId>
994 <version>2.2.1.Final</version>
995 </dependency>
996 <dependency>
997 <groupId>org.jboss.logging</groupId>
998 <artifactId>jboss-logging-processor</artifactId>
999 <version>2.2.1.Final</version>
1000 </dependency>
1001 <!-- <dependency> -->
1002 <!-- see note in cdmib-persistence pom -->
1003 <!-- <groupId>javax.transaction</groupId> -->
1004 <!-- <artifactId>jta</artifactId> -->
1005 <!-- <version>1.1</version> -->
1006 <!-- </dependency> -->
1007
1008 <!-- TODO xerces xmlParserAPIs duplicates many classes from jre and
1009 xml-apis. It is a dependency that comes with xom:xom -->
1010 <dependency>
1011 <groupId>org.apache.jena</groupId>
1012 <artifactId>jena-tdb</artifactId>
1013 <version>1.1.2</version>
1014 </dependency>
1015
1016 <dependency>
1017 <groupId>net.sf.ezmorph</groupId>
1018 <artifactId>ezmorph</artifactId>
1019 <version>1.0.6</version>
1020 </dependency>
1021 <dependency>
1022 <groupId>commons-beanutils</groupId>
1023 <artifactId>commons-beanutils</artifactId>
1024 <version>1.9.4</version>
1025 <exclusions>
1026 <exclusion>
1027 <!-- we use jcl-over-slf4j instead -->
1028 <groupId>commons-logging</groupId>
1029 <artifactId>commons-logging</artifactId>
1030 </exclusion>
1031 </exclusions>
1032 </dependency>
1033 <dependency>
1034 <groupId>net.sf.json-lib</groupId>
1035 <artifactId>json-lib</artifactId>
1036 <version>2.4</version>
1037 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
1038 <classifier>jdk15</classifier>
1039 <exclusions>
1040 <exclusion>
1041 <!-- we use jcl-over-slf4j instead -->
1042 <groupId>commons-logging</groupId>
1043 <artifactId>commons-logging</artifactId>
1044 </exclusion>
1045 </exclusions>
1046 </dependency>
1047 <!-- media -->
1048 <dependency>
1049 <groupId>org.devlib.schmidt</groupId>
1050 <artifactId>imageinfo</artifactId>
1051 <version>1.9</version>
1052 </dependency>
1053 <dependency>
1054 <groupId>de.digitalcollections.iiif</groupId>
1055 <artifactId>iiif-apis</artifactId>
1056 <version>0.3.9</version>
1057 </dependency>
1058 <dependency>
1059 <groupId>com.fasterxml.jackson.datatype</groupId>
1060 <artifactId>jackson-datatype-jsr310</artifactId>
1061 <version>${jackson.version}</version>
1062 </dependency>
1063 <dependency>
1064 <groupId>com.fasterxml.jackson.module</groupId>
1065 <artifactId>jackson-module-parameter-names</artifactId>
1066 <version>${jackson.version}</version>
1067 </dependency>
1068 <dependency>
1069 <groupId>org.apache.poi</groupId>
1070 <artifactId>poi</artifactId>
1071 <version>${poi.version}</version>
1072 </dependency>
1073 <dependency>
1074 <groupId>org.apache.poi</groupId>
1075 <artifactId>poi-ooxml</artifactId>
1076 <version>${poi.version}</version>
1077 </dependency>
1078 <dependency>
1079 <groupId>org.apache.poi</groupId>
1080 <artifactId>poi-ooxml-lite</artifactId>
1081 <version>${poi.version}</version>
1082 </dependency>
1083 <dependency>
1084 <groupId>org.apache.poi</groupId>
1085 <artifactId>poi-ooxml-full</artifactId>
1086 <version>${poi.version}</version>
1087 </dependency>
1088 <dependency>
1089 <!-- indirect poi-schema and doxia dependency -->
1090 <groupId>org.codehaus.plexus</groupId>
1091 <artifactId>plexus-classworlds</artifactId>
1092 <version>2.6.0</version>
1093 </dependency>
1094 <dependency>
1095 <groupId>org.codehaus.plexus</groupId>
1096 <artifactId>plexus-component-annotations</artifactId>
1097 <version>2.1.1</version>
1098 </dependency>
1099 <!-- <dependency> -->
1100 <!-- 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 -->
1101 <!-- <groupId>org.apache.poi</groupId> -->
1102 <!-- <artifactId>ooxml-schemas</artifactId> -->
1103 <!-- <version>1.4</version> -->
1104 <!-- </dependency> -->
1105 <dependency>
1106 <groupId>org.apache.xmlbeans</groupId>
1107 <artifactId>xmlbeans</artifactId>
1108 <version>5.0.3</version>
1109 <!-- checked 2020-08 -->
1110 </dependency>
1111 <dependency>
1112 <groupId>org.docx4j</groupId>
1113 <artifactId>docx4j-JAXB-Internal</artifactId>
1114 <version>8.3.7</version>
1115 </dependency>
1116 <dependency>
1117 <!-- dependency of guava and docx4j -->
1118 <groupId>com.google.errorprone</groupId>
1119 <artifactId>error_prone_annotations</artifactId>
1120 <version>2.14.0</version>
1121 </dependency>
1122 <dependency>
1123 <!-- only for version management xalan depends in different versions from
1124 org.docx4j:docx4j:6.0.1 and xom:xom:1.2.5 -->
1125 <groupId>xalan</groupId>
1126 <artifactId>xalan</artifactId>
1127 <version>2.7.2</version>
1128 </dependency>
1129 <dependency>
1130 <!-- only for version management org.apache.xmlgraphics:xmlgraphics-commons depends in different versions from
1131 org.docx4j:docx4j:6.0.1 and org.apache.xmlgraphics:fop:1.1 -->
1132 <groupId>org.apache.xmlgraphics</groupId>
1133 <artifactId>xmlgraphics-commons</artifactId>
1134 <version>2.7</version>
1135 </dependency>
1136 <dependency>
1137 <groupId>org.apache.commons</groupId>
1138 <artifactId>commons-imaging</artifactId>
1139 <version>1.0-alpha3</version>
1140 </dependency>
1141 <dependency>
1142 <groupId>org.cybertaxonomy.media</groupId>
1143 <artifactId>media-info-model</artifactId>
1144 <version>1.2.0</version>
1145 </dependency>
1146 <!-- joda-time -->
1147 <dependency>
1148 <groupId>joda-time</groupId>
1149 <artifactId>joda-time</artifactId>
1150 <version>2.10.14</version>
1151 </dependency>
1152 <dependency>
1153 <groupId>org.jadira.usertype</groupId>
1154 <artifactId>usertype.core</artifactId>
1155 <version>7.0.0.CR1</version>
1156 </dependency>
1157 <!-- dependency of jadira usertype -->
1158 <dependency>
1159 <groupId>javax.enterprise</groupId>
1160 <artifactId>cdi-api</artifactId>
1161 <version>2.0.SP1</version>
1162 </dependency>
1163
1164 <dependency>
1165 <groupId>org.apache.lucene</groupId>
1166 <artifactId>lucene-core</artifactId>
1167 <version>${lucene.version}</version>
1168 </dependency>
1169 <dependency>
1170 <groupId>org.apache.lucene</groupId>
1171 <artifactId>lucene-suggest</artifactId>
1172 <version>${lucene.version}</version>
1173 </dependency>
1174 <dependency>
1175 <groupId>org.apache.lucene</groupId>
1176 <artifactId>lucene-analyzers-common</artifactId>
1177 <version>${lucene.version}</version>
1178 </dependency>
1179 <dependency>
1180 <groupId>org.apache.lucene</groupId>
1181 <artifactId>lucene-queryparser</artifactId>
1182 <version>${lucene.version}</version>
1183 </dependency>
1184 <dependency>
1185 <groupId>org.apache.lucene</groupId>
1186 <artifactId>lucene-highlighter</artifactId>
1187 <version>${lucene.version}</version>
1188 </dependency>
1189 <dependency>
1190 <groupId>org.apache.lucene</groupId>
1191 <artifactId>lucene-grouping</artifactId>
1192 <version>${lucene.version}</version>
1193 </dependency>
1194 <dependency>
1195 <groupId>org.apache.lucene</groupId>
1196 <artifactId>lucene-join</artifactId>
1197 <version>${lucene.version}</version>
1198 </dependency>
1199 <dependency>
1200 <groupId>org.apache.lucene</groupId>
1201 <artifactId>lucene-backward-codecs</artifactId>
1202 <version>${lucene.version}</version>
1203 </dependency>
1204 <dependency>
1205 <groupId>org.apache.lucene</groupId>
1206 <artifactId>lucene-misc</artifactId>
1207 <version>${lucene.version}</version>
1208 </dependency>
1209 <dependency>
1210 <groupId>org.apache.lucene</groupId>
1211 <artifactId>lucene-facet</artifactId>
1212 <version>${lucene.version}</version>
1213 </dependency>
1214 <dependency>
1215 <groupId>org.apache.lucene</groupId>
1216 <artifactId>lucene-sandbox</artifactId>
1217 <version>${lucene.version}</version>
1218 </dependency>
1219
1220 <dependency>
1221 <groupId>com.ibm.lsid</groupId>
1222 <artifactId>lsid-client</artifactId>
1223 <version>1.1.2</version>
1224 </dependency>
1225 <dependency>
1226 <groupId>com.ibm.lsid</groupId>
1227 <artifactId>lsid-server</artifactId>
1228 <version>1.1.2</version>
1229 </dependency>
1230 <dependency>
1231 <groupId>wsdl4j</groupId>
1232 <artifactId>wsdl4j</artifactId>
1233 <version>1.6.3</version>
1234 </dependency>
1235 <!-- <dependency> -->
1236 <!-- <groupId>net.sf.dozer</groupId> -->
1237 <!-- <artifactId>dozer</artifactId> -->
1238 <!-- <version>5.5.1</version> -->
1239 <!-- </dependency> -->
1240 <dependency>
1241 <groupId>com.github.dozermapper</groupId>
1242 <artifactId>dozer-core</artifactId>
1243 <version>${dozer.version}</version>
1244 </dependency>
1245 <dependency>
1246 <groupId>com.github.dozermapper</groupId>
1247 <artifactId>dozer-spring4</artifactId>
1248 <version>${dozer.version}</version>
1249 </dependency>
1250 <dependency>
1251 <groupId>net.sf.ehcache</groupId>
1252 <artifactId>ehcache</artifactId>
1253 <version>2.10.6</version>
1254 </dependency>
1255 <!-- ******* XML ******* -->
1256 <dependency>
1257 <!-- xml-apis seems to be ALMOST fully included in java8 but ElementTraversal seems to be missing, therefore SDDDocumentBuilder does not compile -->
1258 <groupId>xml-apis</groupId>
1259 <artifactId>xml-apis</artifactId>
1260 <!-- WARNING: do not upgrade to later versions 2.0.x of xml-apis -->
1261 <!-- since these are effectivly reloaded to the early beta version -->
1262 <!-- 1.0.b2 -->
1263 <version>1.4.01</version>
1264 </dependency>
1265 <dependency>
1266 <groupId>xerces</groupId>
1267 <artifactId>xercesImpl</artifactId>
1268 <version>2.12.2</version>
1269 <!-- checked 2022-06 -->
1270 </dependency>
1271 <dependency> <!-- required by cdmlib-print -->
1272 <groupId>org.apache.xmlgraphics</groupId>
1273 <artifactId>fop</artifactId>
1274 <version>2.7</version>
1275 <exclusions>
1276 <exclusion>
1277 <!-- we use jcl-over-slf4j instead -->
1278 <groupId>commons-logging</groupId>
1279 <artifactId>commons-logging</artifactId>
1280 </exclusion>
1281 </exclusions>
1282 </dependency>
1283 <dependency>
1284 <groupId>org.odftoolkit</groupId>
1285 <artifactId>odfdom-java</artifactId>
1286 <version>0.8.7</version>
1287 </dependency>
1288 <dependency>
1289 <!-- used in eu.etaxonomy.cdm.io.markup and for swagger -->
1290 <groupId>com.google.guava</groupId>
1291 <artifactId>guava</artifactId>
1292 <version>31.1-jre</version>
1293 </dependency>
1294 <dependency>
1295 <groupId>com.google.code.findbugs</groupId>
1296 <artifactId>jsr305</artifactId>
1297 <version>3.0.2</version>
1298 </dependency>
1299 <!-- last jdom 1.x version -->
1300 <dependency>
1301 <groupId>org.jdom</groupId>
1302 <artifactId>jdom</artifactId>
1303 <version>1.1.3</version>
1304 </dependency>
1305 <!-- jdom2 may exist in parallel to jdom(1) as it uses a different package structure -->
1306 <dependency>
1307 <groupId>org.jdom</groupId>
1308 <artifactId>jdom2</artifactId>
1309 <version>2.0.6</version>
1310 </dependency>
1311 <dependency>
1312 <groupId>com.thoughtworks.xstream</groupId>
1313 <artifactId>xstream</artifactId>
1314 <version>1.4.19</version>
1315 </dependency>
1316 <dependency>
1317 <!-- newer version exists for groupId org.ogce, need to check exclusions before moving -->
1318 <groupId>xpp3</groupId>
1319 <artifactId>xpp3</artifactId>
1320 <version>1.1.4c</version>
1321 </dependency>
1322 <!-- <dependency> -->
1323 <!-- stax is part of java8 and therefore not needed anymore -->
1324 <!-- <groupId>stax</groupId> -->
1325 <!-- <artifactId>stax</artifactId> -->
1326 <!-- <version>1.2.0</version> -->
1327 <!-- </dependency> -->
1328 <dependency>
1329 <groupId>xom</groupId>
1330 <artifactId>xom</artifactId>
1331 <version>1.3.7</version>
1332 <exclusions>
1333 <!-- need to exclude com.ibm.icu:icu4j since it contains an invalid
1334 file which causes the jetty-maven-plugin to fail see https://stackoverflow.com/questions/3026956/javassist-failure-in-hibernate-invalid-constant-type-60 -->
1335 <exclusion>
1336 <groupId>com.ibm.icu</groupId>
1337 <artifactId>icu4j</artifactId>
1338 </exclusion>
1339 </exclusions>
1340 </dependency>
1341 <!-- ******* SAXON (ViBRANT)******* -->
1342 <dependency>
1343 <groupId>net.sf.saxon</groupId>
1344 <artifactId>Saxon-HE</artifactId>
1345 <version>11.3</version>
1346 </dependency>
1347 <!-- ******* http components (ViBRANT)******* -->
1348 <dependency>
1349 <groupId>org.apache.httpcomponents</groupId>
1350 <artifactId>httpmime</artifactId>
1351 <version>${httpcomponents.version}</version>
1352 </dependency>
1353 <!-- ***** json ******************** -->
1354 <dependency>
1355 <groupId>org.json</groupId>
1356 <artifactId>json</artifactId>
1357 <version>20220320</version>
1358 </dependency>
1359 <!-- ******* HIBERNATE / EJB3 ******* -->
1360 <dependency>
1361 <groupId>org.hibernate.javax.persistence</groupId>
1362 <artifactId>hibernate-jpa-2.1-api</artifactId>
1363 <version>1.0.2.Final</version>
1364 </dependency>
1365 <dependency>
1366 <groupId>org.hibernate</groupId>
1367 <artifactId>hibernate-core</artifactId>
1368 <version>${hibernate.version}</version>
1369 </dependency>
1370 <dependency>
1371 <groupId>org.hibernate</groupId>
1372 <artifactId>hibernate-envers</artifactId>
1373 <version>${hibernate.version}</version>
1374 </dependency>
1375 <dependency>
1376 <groupId>org.hibernate</groupId>
1377 <artifactId>hibernate-c3p0</artifactId>
1378 <version>${hibernate.version}</version>
1379 </dependency>
1380 <dependency>
1381 <groupId>com.mchange</groupId>
1382 <artifactId>c3p0</artifactId>
1383 <!--
1384 IMPORTANT!!!
1385 when changing the version of this artifact, the
1386 version in cdm-server pom.xml must be changed
1387 the same otherwise db connections through jndi
1388 will not work!
1389 NOTE: not so critical anymore as we use cdmlib-db
1390 now for both projects
1391 -->
1392 <version>0.9.5.2</version>
1393 </dependency>
1394 <dependency>
1395 <groupId>com.mchange</groupId>
1396 <artifactId>mchange-commons-java</artifactId>
1397 <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
1398 <version>0.2.11</version>
1399 </dependency>
1400 <dependency>
1401 <groupId>org.hibernate.common</groupId>
1402 <artifactId>hibernate-commons-annotations</artifactId>
1403 <version>5.1.2.Final</version>
1404 </dependency>
1405 <dependency>
1406 <groupId>org.hibernate</groupId>
1407 <artifactId>hibernate-search-orm</artifactId>
1408 <version>${hibernate-search.version}</version>
1409 </dependency>
1410 <dependency>
1411 <groupId>org.hibernate</groupId>
1412 <artifactId>hibernate-search-engine</artifactId>
1413 <version>${hibernate-search.version}</version>
1414 </dependency>
1415
1416 <dependency>
1417 <!-- used by hibernate as bytecode provider framework -->
1418 <groupId>net.bytebuddy</groupId>
1419 <artifactId>byte-buddy</artifactId>
1420 <version>1.12.10</version>
1421 </dependency>
1422 <!-- dependency of hibernate-core -->
1423 <dependency>
1424 <groupId>org.jboss.spec.javax.transaction</groupId>
1425 <artifactId>jboss-transaction-api_1.2_spec</artifactId>
1426 <version>1.1.1.Final</version>
1427 </dependency>
1428 <dependency>
1429 <!-- dependency of iiif-apis (and still by hibernate but will be removed in v5.6 as hibernate uses bytebuddy) -->
1430 <groupId>org.javassist</groupId>
1431 <artifactId>javassist</artifactId>
1432 <version>3.29.0-GA</version>
1433 </dependency>
1434
1435 <!-- ******* SPRING ******* -->
1436 <dependency>
1437 <groupId>org.springframework</groupId>
1438 <artifactId>spring-core</artifactId>
1439 <version>${spring.version}</version>
1440 <exclusions>
1441 <exclusion>
1442 <groupId>commons-logging</groupId>
1443 <artifactId>commons-logging</artifactId>
1444 </exclusion>
1445 </exclusions>
1446 </dependency>
1447 <dependency>
1448 <groupId>org.springframework</groupId>
1449 <artifactId>spring-context</artifactId>
1450 <version>${spring.version}</version>
1451 </dependency>
1452 <dependency>
1453 <groupId>org.springframework</groupId>
1454 <artifactId>spring-beans</artifactId>
1455 <version>${spring.version}</version>
1456 </dependency>
1457 <dependency>
1458 <groupId>org.springframework</groupId>
1459 <artifactId>spring-orm</artifactId>
1460 <version>${spring.version}</version>
1461 </dependency>
1462 <dependency>
1463 <groupId>org.springframework</groupId>
1464 <artifactId>spring-jdbc</artifactId>
1465 <version>${spring.version}</version>
1466 </dependency>
1467 <dependency>
1468 <groupId>org.springframework</groupId>
1469 <artifactId>spring-tx</artifactId>
1470 <version>${spring.version}</version>
1471 </dependency>
1472 <dependency>
1473 <groupId>org.springframework</groupId>
1474 <artifactId>spring-test</artifactId>
1475 <version>${spring.version}</version>
1476 </dependency>
1477 <dependency>
1478 <groupId>org.springframework</groupId>
1479 <artifactId>spring-web</artifactId>
1480 <version>${spring.version}</version>
1481 </dependency>
1482 <dependency>
1483 <groupId>org.springframework</groupId>
1484 <artifactId>spring-webmvc</artifactId>
1485 <version>${spring.version}</version>
1486 </dependency>
1487 <dependency>
1488 <groupId>org.springframework</groupId>
1489 <artifactId>spring-aop</artifactId>
1490 <version>${spring.version}</version>
1491 </dependency>
1492 <dependency>
1493 <groupId>org.springframework</groupId>
1494 <artifactId>spring-aspects</artifactId>
1495 <version>${spring.version}</version>
1496 </dependency>
1497 <dependency>
1498 <groupId>org.springframework</groupId>
1499 <artifactId>spring-expression</artifactId>
1500 <version>${spring.version}</version>
1501 </dependency>
1502 <dependency>
1503 <groupId>org.springframework</groupId>
1504 <artifactId>spring-context-support</artifactId>
1505 <version>${spring.version}</version>
1506 </dependency>
1507 <dependency>
1508 <groupId>org.springframework</groupId>
1509 <artifactId>spring-oxm</artifactId>
1510 <version>${spring.version}</version>
1511 </dependency>
1512 <dependency>
1513 <groupId>org.springframework.security</groupId>
1514 <artifactId>spring-security-core</artifactId>
1515 <version>${spring-security.version}</version>
1516 </dependency>
1517 <dependency>
1518 <groupId>org.springframework.security</groupId>
1519 <artifactId>spring-security-config</artifactId>
1520 <version>${spring-security.version}</version>
1521 </dependency>
1522 <dependency>
1523 <groupId>org.springframework.security</groupId>
1524 <artifactId>spring-security-web</artifactId>
1525 <version>${spring-security.version}</version>
1526 </dependency>
1527 <dependency>
1528 <groupId>org.springframework.security.oauth</groupId>
1529 <artifactId>spring-security-oauth2</artifactId>
1530 <version>${spring-security-oauth2.version}</version>
1531 </dependency>
1532 <dependency>
1533 <groupId>org.springframework.cloud</groupId>
1534 <artifactId>spring-cloud-security</artifactId>
1535 <version>${spring-security.version}</version>
1536 </dependency>
1537 <dependency>
1538 <!-- required by spring security core, but not needed anymore in spring security 5.x -->
1539 <groupId>aopalliance</groupId>
1540 <artifactId>aopalliance</artifactId>
1541 <version>1.0</version>
1542 </dependency>
1543
1544 <!-- ******* SERVLET/JSP/JSF ******* -->
1545 <dependency>
1546 <groupId>javax.servlet</groupId>
1547 <artifactId>javax.servlet-api</artifactId>
1548 <version>4.0.1</version>
1549 <!-- checked 2020-08 -->
1550 </dependency>
1551 <dependency>
1552 <!-- management needed for some older dependencies -->
1553 <!-- TODO check if possible to use exclusions -->
1554 <groupId>javax.servlet</groupId>
1555 <artifactId>servlet-api</artifactId>
1556 <version>2.5</version>
1557 </dependency>
1558
1559
1560 <!-- yourkit profiler api controller (used in ..) -->
1561 <dependency>
1562 <groupId>com.yourkit</groupId>
1563 <artifactId>yjp-controller-api-redist</artifactId>
1564 <version>2015-build-15086</version>
1565 <scope>test</scope>
1566 </dependency>
1567 <!-- For Validation -->
1568 <dependency>
1569 <groupId>javax.validation</groupId>
1570 <artifactId>validation-api</artifactId>
1571 <version>2.0.1.Final</version>
1572 <!-- checked 2020-08 -->
1573 </dependency>
1574 <dependency>
1575 <groupId>org.hibernate.validator</groupId>
1576 <artifactId>hibernate-validator</artifactId>
1577 <version>${hibernate-validator.version}</version>
1578 </dependency>
1579 <dependency>
1580 <groupId>com.fasterxml</groupId>
1581 <artifactId>classmate</artifactId>
1582 <version>1.5.1</version>
1583 <!-- checked 2020-08 -->
1584 </dependency>
1585 <dependency>
1586 <groupId>javax.el</groupId>
1587 <artifactId>javax.el-api</artifactId>
1588 <version>3.0.0</version>
1589 <!-- checked 2020-08 -->
1590 </dependency>
1591 <dependency>
1592 <groupId>jakarta.validation</groupId>
1593 <artifactId>jakarta.validation-api</artifactId>
1594 <version>3.0.2</version>
1595 <!-- checked 2022-06 -->
1596 </dependency>
1597 <dependency>
1598 <groupId>org.glassfish.web</groupId>
1599 <artifactId>javax.el</artifactId>
1600 <version>2.2.6</version>
1601 </dependency>
1602 <dependency>
1603 <groupId>org.hibernate.validator</groupId>
1604 <artifactId>hibernate-validator-cdi</artifactId>
1605 <version>${hibernate-validator.version}</version>
1606 </dependency>
1607 <dependency>
1608 <!-- not clear if needed, but if needed v8.0 should be used to avoid problems with javax.validation.BootstrapConfiguration -->
1609 <!-- it was a (currently excluded) transitiv dependency from org.geotools/gt-referencing used in cdmlib-ext -->
1610 <groupId>javax</groupId>
1611 <artifactId>javaee-api</artifactId>
1612 <version>8.0.1</version>
1613 </dependency>
1614
1615 <!-- for ikey-plus -->
1616 <dependency>
1617 <groupId>identificationKeyAPI</groupId>
1618 <artifactId>identificationKeyAPI</artifactId>
1619 <version>1.0</version> <!-- was <version>1.0-SNAPSHOT</version> -->
1620 </dependency>
1621 <dependency>
1622 <groupId>com.itextpdf</groupId>
1623 <artifactId>itextpdf</artifactId>
1624 <version>5.5.13.3</version>
1625 <scope>compile</scope>
1626 </dependency>
1627 <!-- AptView -->
1628 <dependency>
1629 <groupId>org.apache.maven.doxia</groupId>
1630 <artifactId>doxia-module-apt</artifactId>
1631 <version>${doxia.version}</version>
1632 </dependency>
1633 <dependency>
1634 <groupId>org.apache.maven.doxia</groupId>
1635 <artifactId>doxia-module-xhtml</artifactId>
1636 <version>${doxia.version}</version>
1637 </dependency>
1638 <dependency>
1639 <!-- managing version of plexus-utils to avoid multiple versions (3.0.15, 1.4.5) of the artifact -->
1640 <groupId>org.codehaus.plexus</groupId>
1641 <artifactId>plexus-utils</artifactId>
1642 <version>3.4.2</version>
1643 <!-- checked 2022-06 -->
1644 </dependency>
1645 <!-- swagger (rest service doc) -->
1646 <dependency>
1647 <groupId>io.swagger</groupId>
1648 <artifactId>swagger-annotations</artifactId>
1649 <!-- should match the springfox-swagger2 depends on -->
1650 <version>1.5.10</version>
1651 </dependency>
1652
1653 <!-- dependencies for swagger-springmvc, added explicitely -->
1654 <dependency>
1655 <groupId>com.fasterxml.jackson.core</groupId>
1656 <artifactId>jackson-databind</artifactId>
1657 <version>${jackson.version}</version>
1658 </dependency>
1659 <dependency>
1660 <groupId>com.fasterxml.jackson.core</groupId>
1661 <artifactId>jackson-core</artifactId>
1662 <version>${jackson.version}</version>
1663 </dependency>
1664 <dependency>
1665 <groupId>com.fasterxml.jackson.core</groupId>
1666 <artifactId>jackson-annotations</artifactId>
1667 <version>${jackson.version}</version>
1668 </dependency>
1669 <!-- END of dependencies for swagger-springmvc, added explicitely -->
1670 <dependency>
1671 <groupId>io.springfox</groupId>
1672 <artifactId>springfox-swagger2</artifactId>
1673 <version>2.6.1</version>
1674 </dependency>
1675
1676 <!-- ******* DATABASES DRIVER ******* -->
1677 <dependency>
1678 <groupId>mysql</groupId>
1679 <artifactId>mysql-connector-java</artifactId>
1680 <version>8.0.29</version>
1681 </dependency>
1682 <dependency>
1683 <groupId>org.mariadb.jdbc</groupId>
1684 <artifactId>mariadb-java-client</artifactId>
1685 <version>3.0.6</version>
1686 </dependency>
1687 <dependency>
1688 <groupId>org.postgresql</groupId>
1689 <artifactId>postgresql</artifactId>
1690 <version>42.5.1</version>
1691 </dependency>
1692 <dependency>
1693 <groupId>com.h2database</groupId>
1694 <artifactId>h2</artifactId>
1695 <version>1.4.190</version>
1696 </dependency>
1697 <!-- SQL Server -->
1698 <dependency>
1699 <groupId>com.microsoft.sqlserver</groupId>
1700 <artifactId>mssql-jdbc</artifactId>
1701 <version>9.4.1.jre8</version>
1702 </dependency>
1703 <dependency>
1704 <!-- SQL Server and Sybase -->
1705 <groupId>net.sourceforge.jtds</groupId>
1706 <artifactId>jtds</artifactId>
1707 <version>1.3.1</version>
1708 </dependency>
1709 <dependency>
1710 <groupId>oracle</groupId>
1711 <artifactId>ojdbc14</artifactId>
1712 <version>10.2.0.4.0</version>
1713 </dependency>
1714 <!-- <dependency>
1715 <groupId>ojdbc</groupId>
1716 <artifactId>ojdbc</artifactId>
1717 <version>14</version>
1718 </dependency> -->
1719 <!-- GIS/KML -->
1720 <dependency>
1721 <groupId>de.micromata.jak</groupId>
1722 <artifactId>JavaAPIforKml</artifactId>
1723 <version>2.2.1</version>
1724 </dependency>
1725 <dependency>
1726 <groupId>org.geotools</groupId>
1727 <artifactId>gt-opengis</artifactId>
1728 <version>${geotools.version}</version>
1729 </dependency>
1730 <dependency>
1731 <groupId>org.geotools</groupId>
1732 <artifactId>gt-referencing</artifactId>
1733 <version>${geotools.version}</version>
1734 </dependency>
1735 <dependency>
1736 <groupId>org.geotools</groupId>
1737 <artifactId>gt-epsg-wkt</artifactId>
1738 <version>${geotools.version}</version>
1739 </dependency>
1740 <dependency>
1741 <groupId>org.geotools</groupId>
1742 <artifactId>gt-main</artifactId>
1743 <version>${geotools.version}</version>
1744 </dependency>
1745
1746 <dependency>
1747 <groupId>com.sun</groupId>
1748 <artifactId>tools</artifactId>
1749 <version>1.8.0</version>
1750 </dependency>
1751 <dependency>
1752 <!-- Email functionality (used in cdmlib-services) -->
1753 <groupId>com.sun.mail</groupId>
1754 <artifactId>javax.mail</artifactId>
1755 <version>${jakarta.mail.version}</version>
1756 </dependency>
1757 <dependency>
1758 <!-- only needed for PasswordResetService, may be replaced by Thymeleaf, but also needed in TaxEditor cdmlib modul -->
1759 <groupId>org.apache.commons</groupId>
1760 <artifactId>commons-text</artifactId>
1761 <version>1.10.0</version>
1762 </dependency>
1763 <dependency>
1764 <groupId>org.passay</groupId>
1765 <artifactId>passay</artifactId>
1766 <version>1.6.1</version>
1767 </dependency>
1768 </dependencies>
1769 </dependencyManagement>
1770 </project>