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