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