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