cleanup and javadoc
[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 <commons-logging.version>1.2</commons-logging.version> <!-- checked 2022-06 -->
45 <!-- CAUTION when upgrading, 1.8x requires another log4j binding: https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html -->
46 <slf4j.version>1.7.36</slf4j.version> <!-- checked 2022-06 -->
47 <log4j.version>2.18.0</log4j.version>
48 <jaxb.version>2.3.3</jaxb.version> <!-- checked 2020-08, there is a newer version 3.0.0-MX, not checked if compatible -->
49 <cglib.version>3.3.0</cglib.version>
50 <aspectj.version>1.9.7</aspectj.version> <!-- checked 2022-05 -->
51 <geotools.version>23.2</geotools.version> <!-- checked 2020-08 -->
52 <dozer.version>6.5.2</dozer.version> <!-- checked 2021-02 -->
53 <jakarta.mail.version>1.5.6</jakarta.mail.version> <!-- compatible to the one in spring-context-support/4.3.28.RELEASE -->
54 <doclint>none</doclint>
55 </properties>
56
57 <scm>
58 <connection>scm:git:https://dev.e-taxonomy.eu/git/cdmlib.git</connection>
59 <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdmlib.git</developerConnection>
60 <url>https://dev.e-taxonomy.eu/gitweb/cdmlib.git/tree</url>
61 </scm>
62
63 <prerequisites>
64 <maven>3.6.3</maven>
65 </prerequisites>
66
67 <mailingLists>
68 <mailingList>
69 <name>EDIT Platform Developers</name>
70 <subscribe>
71 https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
72 </subscribe>
73 <unsubscribe>
74 https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
75 </unsubscribe>
76 </mailingList>
77 <mailingList>
78 <name>EDIT User</name>
79 <subscribe>
80 https://lists.fu-berlin.de/listinfo/edituser#subscribe
81 </subscribe>
82 <unsubscribe>
83 https://lists.fu-berlin.de/listinfo/edituser#options
84 </unsubscribe>
85 </mailingList>
86 </mailingLists>
87 <licenses>
88 <license>
89 <name>Mozilla Public License Version 1.1</name>
90 <url>https://www.mozilla.org/MPL/MPL-1.1.html</url>
91 <distribution>repo</distribution>
92 </license>
93 </licenses>
94 <organization>
95 <name>EDIT</name>
96 <url>https://cybertaxonomy.org/</url>
97 </organization>
98 <developers>
99 <developer>
100 <id>k.luther</id>
101 <name>Katja Luther</name>
102 <email>k.luther [at] bgbm.org</email>
103 <organization>Botanical Garden Botanical Museum Berlin</organization>
104 <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
105 <timezone>+1</timezone>
106 <roles>
107 <role>Java Developer</role>
108 <role>Release Manager</role>
109 </roles>
110 <url />
111 </developer>
112 <developer>
113 <id>a.mueller</id>
114 <name>Andreas Müller</name>
115 <email>a.mueller [at] bgbm.org</email>
116 <organization>Botanical Garden Botanical Museum Berlin</organization>
117 <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
118 <timezone>+1</timezone>
119 <roles>
120 <role>Architect</role>
121 <role>Java Developer</role>
122 <role>Release Manager</role>
123 </roles>
124 <url />
125 </developer>
126 </developers>
127 <issueManagement>
128 <system>Redmine</system>
129 <url>https://dev.e-taxonomy.eu/redmine/projects/edit</url>
130 </issueManagement>
131 <ciManagement>
132 <system>Jenkins</system>
133 <url>https://int.e-taxonomy.eu/jenkins</url>
134 </ciManagement>
135 <!-- **** REPOSITORIES **** -->
136 <profiles>
137 <profile>
138 <id>local-repository</id>
139 <activation>
140 <property>
141 <name>localrepo</name>
142 </property>
143 </activation>
144 <repositories>
145 <repository>
146 <id>EditLocalRepository</id>
147 <url>file://${localrepo}/eu/etaxonomy/</url>
148 <releases>
149 <enabled>false</enabled>
150 <updatePolicy>always</updatePolicy>
151 </releases>
152 <snapshots>
153 <enabled>true</enabled>
154 <updatePolicy>always</updatePolicy>
155 </snapshots>
156 </repository>
157 </repositories>
158 </profile>
159 </profiles>
160 <repositories>
161 <!-- the cdm internal repository -->
162 <repository>
163 <id>EditRepository</id>
164 <url>https://cybertaxonomy.org/mavenrepo/</url>
165 </repository>
166 <!-- apache incubating repository, was used for jena-tdb -->
167 <!-- <repository>
168 <id>ApacheIncubating</id>
169 <url>https://people.apache.org/repo/m2-incubating-repository/</url>
170 </repository> -->
171 <!-- was neccessary for hibernate-envers -->
172 <!-- <repository>
173 <id>jboss-repository</id>
174 <name>JBoss Repository</name>
175 <url>https://repository.jboss.org</url>
176 </repository> -->
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 <!-- JAB 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 <dependency>
705 <!-- try to generally exclude -nop as we try to use log4j12, this is done already for unitils -->
706 <groupId>org.slf4j</groupId>
707 <artifactId>slf4j-nop</artifactId>
708 <version>${slf4j.version}</version>
709 </dependency>
710 <!-- dozer depends on jcl-over-slf4j -->
711 <dependency>
712 <groupId>org.slf4j</groupId>
713 <artifactId>jcl-over-slf4j</artifactId>
714 <version>${slf4j.version}</version>
715 </dependency>
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 </dependency>
736 <dependency>
737 <groupId>org.unitils</groupId>
738 <artifactId>unitils-database</artifactId>
739 <version>${unitils.version}</version>
740 <scope>test</scope>
741 <exclusions>
742 <exclusion>
743 <groupId>org.springframework</groupId>
744 <artifactId>spring-jdbc</artifactId>
745 </exclusion>
746 </exclusions>
747 </dependency>
748 <dependency>
749 <groupId>org.unitils</groupId>
750 <artifactId>unitils-dbmaintainer</artifactId>
751 <version>${unitils.version}</version>
752 <!-- <scope>test</scope> -->
753 <exclusions>
754 <exclusion>
755 <groupId>org.hibernate</groupId>
756 <artifactId>hibernate</artifactId>
757 </exclusion>
758 <exclusion>
759 <groupId>org.slf4j</groupId>
760 <artifactId>slf4j-nop</artifactId>
761 </exclusion>
762 </exclusions>
763 </dependency>
764 <dependency>
765 <groupId>org.objenesis</groupId>
766 <artifactId>objenesis</artifactId>
767 <version>3.2</version>
768 </dependency>
769 <dependency>
770 <groupId>org.unitils</groupId>
771 <artifactId>unitils-dbunit</artifactId>
772 <version>${unitils.version}</version>
773 <!-- <scope>test</scope> -->
774 </dependency>
775 <dependency>
776 <groupId>org.unitils</groupId>
777 <artifactId>unitils-easymock</artifactId>
778 <version>${unitils.version}</version>
779 <!-- <scope>test</scope> -->
780 </dependency>
781 <dependency>
782 <groupId>org.unitils</groupId>
783 <artifactId>unitils-mock</artifactId>
784 <version>${unitils.version}</version>
785 <!-- <scope>test</scope> -->
786 </dependency>
787 <dependency>
788 <groupId>org.unitils</groupId>
789 <artifactId>unitils-inject</artifactId>
790 <version>${unitils.version}</version>
791 <!-- <scope>test</scope> -->
792 </dependency>
793 <dependency>
794 <groupId>org.unitils</groupId>
795 <artifactId>unitils-orm</artifactId>
796 <version>${unitils.version}</version>
797 <!-- <scope>test</scope> -->
798 <exclusions>
799 <exclusion>
800 <groupId>javax.persistence</groupId>
801 <artifactId>persistence-api</artifactId>
802 </exclusion>
803 </exclusions>
804 </dependency>
805 <dependency>
806 <groupId>org.unitils</groupId>
807 <artifactId>unitils-spring</artifactId>
808 <version>${unitils.version}</version>
809 <!-- <scope>test</scope> -->
810 </dependency>
811 <dependency>
812 <groupId>xmlunit</groupId>
813 <artifactId>xmlunit</artifactId>
814 <version>1.6</version>
815 <!-- <scope>test</scope> -->
816 </dependency>
817 <!-- <dependency>
818 <groupId>org.dbunit</groupId>
819 <artifactId>dbunit</artifactId>
820 <version>2.4.9</version> -->
821 <!-- <scope>test</scope> -->
822 <!-- </dependency> -->
823 <!-- dependency of unitils-database, but with lower number there ,
824 higher number needed for compatibility with current hibernate and Java 1.6
825 PreparedStatement -->
826 <dependency>
827 <!-- currently still needed by cdmlib-persistence, once removed, scope should be set to test -->
828 <groupId>commons-dbcp</groupId>
829 <artifactId>commons-dbcp</artifactId>
830 <version>1.4</version>
831 <!-- <scope>test</scope> -->
832 </dependency>
833 <dependency>
834 <!-- currently still needed by cdmlib-persistence commons-dbcp dependency, once removed, scope should be set to test -->
835 <groupId>commons-pool</groupId>
836 <artifactId>commons-pool</artifactId>
837 <version>1.6</version>
838 <!-- <scope>test</scope> -->
839 </dependency>
840 <dependency>
841 <groupId>eu.etaxonomy</groupId>
842 <artifactId>cdmlib-test</artifactId>
843 <scope>test</scope>
844 <version>${project.version}</version>
845 </dependency>
846 <dependency>
847 <!-- used in cdmlib-services for the EmailSendTest -->
848 <groupId>org.subethamail</groupId>
849 <artifactId>subethasmtp</artifactId>
850 <version>3.1.7</version>
851 <scope>test</scope>
852 </dependency>
853 <dependency>
854 <groupId>javax.activation</groupId>
855 <artifactId>activation</artifactId>
856 <version>1.1.1</version>
857 </dependency>
858 <!-- ******* aspect ******* -->
859 <dependency>
860 <!-- not really needed as long as aspectjweaver is on classpath which is a superset of aspectjrt -->
861 <groupId>org.aspectj</groupId>
862 <artifactId>aspectjrt</artifactId>
863 <version>${aspectj.version}</version>
864 </dependency>
865 <dependency>
866 <groupId>org.aspectj</groupId>
867 <artifactId>aspectjweaver</artifactId>
868 <version>${aspectj.version}</version>
869 </dependency>
870 <!-- ******* VARIOUS ******* -->
871 <dependency>
872 <groupId>xml-resolver</groupId>
873 <artifactId>xml-resolver</artifactId>
874 <version>1.2</version>
875 <!-- checked 2020-08 -->
876 </dependency>
877
878 <dependency>
879 <!-- should not be in use anymore -->
880 <groupId>log4j</groupId>
881 <artifactId>log4j</artifactId>
882 <version>1.2.17</version>
883 </dependency>
884 <dependency>
885 <groupId>org.apache.logging.log4j</groupId>
886 <artifactId>log4j-core</artifactId>
887 <version>${log4j.version}</version>
888 </dependency>
889 <dependency>
890 <groupId>org.apache.logging.log4j</groupId>
891 <artifactId>log4j-api</artifactId>
892 <version>${log4j.version}</version>
893 </dependency>
894
895 <dependency>
896 <groupId>net.sf.opencsv</groupId>
897 <artifactId>opencsv</artifactId>
898 <version>2.3</version>
899 </dependency>
900 <dependency>
901 <groupId>org.osgi</groupId>
902 <artifactId>osgi.core</artifactId>
903 <version>8.0.0</version>
904 </dependency>
905 <dependency>
906 <groupId>org.osgi</groupId>
907 <!-- for those dependencies linking to the old structure
908 TODO better use exclusion but need to check if this is possible here -->
909 <artifactId>org.osgi.core</artifactId>
910 <version>6.0.0</version>
911 </dependency>
912 <dependency>
913 <groupId>cglib</groupId>
914 <artifactId>cglib-nodep</artifactId>
915 <version>${cglib.version}</version>
916 </dependency>
917 <!-- <dependency> -->
918 <!-- we try to have only dependencies to cglib-nodep to reduce size and to avoid
919 having 2 similar libraries. #9206 -->
920 <!-- <groupId>cglib</groupId> -->
921 <!-- <artifactId>cglib</artifactId> -->
922 <!-- <version>${cglib.version}</version> -->
923 <!-- </dependency> -->
924 <dependency>
925 <groupId>commons-lang</groupId>
926 <artifactId>commons-lang</artifactId>
927 <version>2.6</version>
928 </dependency>
929 <dependency>
930 <groupId>org.apache.commons</groupId>
931 <artifactId>commons-lang3</artifactId>
932 <version>3.12.0</version>
933 </dependency>
934 <dependency>
935 <groupId>commons-collections</groupId>
936 <artifactId>commons-collections</artifactId>
937 <version>3.2.2</version>
938 </dependency>
939 <dependency>
940 <groupId>org.apache.httpcomponents</groupId>
941 <artifactId>httpclient</artifactId>
942 <version>${httpcomponents.version}</version>
943 </dependency>
944 <dependency>
945 <groupId>org.apache.httpcomponents</groupId>
946 <artifactId>httpcore</artifactId>
947 <!-- Note: version differs from default httpcomponents version -->
948 <version>4.4.15</version>
949 </dependency>
950 <dependency>
951 <groupId>commons-io</groupId>
952 <artifactId>commons-io</artifactId>
953 <version>2.11.0</version>
954 </dependency>
955 <dependency>
956 <groupId>org.apache.commons</groupId>
957 <artifactId>commons-compress</artifactId>
958 <version>1.21</version>
959 </dependency>
960 <dependency>
961 <groupId>org.checkerframework</groupId>
962 <artifactId>checker-qual</artifactId>
963 <version>3.21.1</version>
964 </dependency>
965 <dependency>
966 <groupId>commons-codec</groupId>
967 <artifactId>commons-codec</artifactId>
968 <version>1.15</version>
969 </dependency>
970 <!-- only for version management, httpcore:4.2.4, commons-beanutils:1.8.3,
971 httpclient:4.2.3, spring-modules-cache
972 require 1.1 and batik-ext requires 1.0.4, so we update here to the latest
973 version 1.1.2, poi and springframework require 1.1.3 -->
974 <dependency>
975 <groupId>commons-logging</groupId>
976 <artifactId>commons-logging</artifactId>
977 <version>${commons-logging.version}</version>
978 </dependency>
979 <!-- only for version management, hibernate-commons-annotations:4.0.1.Final
980 requires 3.1.0.CR2 , so we update
981 here to the latest version 3.4.1.Final -->
982 <dependency>
983 <groupId>org.jboss.logging</groupId>
984 <artifactId>jboss-logging</artifactId>
985 <!-- v3.5.0.Final requires java11 -->
986 <version>3.4.3.Final</version>
987 <!-- checked 2022-05 -->
988 </dependency>
989 <dependency>
990 <groupId>org.jboss.logging</groupId>
991 <artifactId>jboss-logging-annotations</artifactId>
992 <version>2.2.1.Final</version>
993 </dependency>
994 <dependency>
995 <groupId>org.jboss.logging</groupId>
996 <artifactId>jboss-logging-processor</artifactId>
997 <version>2.2.1.Final</version>
998 </dependency>
999 <!-- <dependency> -->
1000 <!-- see note in cdmib-persistence pom -->
1001 <!-- <groupId>javax.transaction</groupId> -->
1002 <!-- <artifactId>jta</artifactId> -->
1003 <!-- <version>1.1</version> -->
1004 <!-- </dependency> -->
1005
1006 <!-- TODO xerces xmlParserAPIs duplicates many classes from jre and
1007 xml-apis. It is a dependency that comes with xom:xom -->
1008 <dependency>
1009 <groupId>org.apache.jena</groupId>
1010 <artifactId>jena-tdb</artifactId>
1011 <version>1.1.2</version>
1012 </dependency>
1013
1014 <dependency>
1015 <groupId>net.sf.ezmorph</groupId>
1016 <artifactId>ezmorph</artifactId>
1017 <version>1.0.6</version>
1018 </dependency>
1019 <dependency>
1020 <groupId>commons-beanutils</groupId>
1021 <artifactId>commons-beanutils</artifactId>
1022 <version>1.9.4</version>
1023 </dependency>
1024 <dependency>
1025 <groupId>net.sf.json-lib</groupId>
1026 <artifactId>json-lib</artifactId>
1027 <version>2.4</version>
1028 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
1029 <classifier>jdk15</classifier>
1030 </dependency>
1031 <!-- media -->
1032 <dependency>
1033 <groupId>org.devlib.schmidt</groupId>
1034 <artifactId>imageinfo</artifactId>
1035 <version>1.9</version>
1036 </dependency>
1037 <dependency>
1038 <groupId>de.digitalcollections.iiif</groupId>
1039 <artifactId>iiif-apis</artifactId>
1040 <version>0.3.9</version>
1041 </dependency>
1042 <dependency>
1043 <groupId>com.fasterxml.jackson.datatype</groupId>
1044 <artifactId>jackson-datatype-jsr310</artifactId>
1045 <version>${jackson.version}</version>
1046 </dependency>
1047 <!-- <dependency> -->
1048 <!-- only for version management iterators depends in different versions from -->
1049 <!-- de.digitalcollections.iiif:iiif-apis:0.3.9 -->
1050 <!-- <groupId>org.dmfs</groupId> -->
1051 <!-- <artifactId>iterators</artifactId> -->
1052 <!-- <version>1.5</version> -->
1053 <!-- </dependency> -->
1054 <!-- -->
1055 <dependency>
1056 <groupId>org.apache.poi</groupId>
1057 <artifactId>poi</artifactId>
1058 <version>${poi.version}</version>
1059 </dependency>
1060 <dependency>
1061 <groupId>org.apache.poi</groupId>
1062 <artifactId>poi-ooxml</artifactId>
1063 <version>${poi.version}</version>
1064 </dependency>
1065 <dependency>
1066 <groupId>org.apache.poi</groupId>
1067 <artifactId>poi-ooxml-lite</artifactId>
1068 <version>${poi.version}</version>
1069 </dependency>
1070 <dependency>
1071 <groupId>org.apache.poi</groupId>
1072 <artifactId>poi-ooxml-full</artifactId>
1073 <version>${poi.version}</version>
1074 </dependency>
1075 <dependency>
1076 <!-- indirect poi-schema and doxia dependency -->
1077 <groupId>org.codehaus.plexus</groupId>
1078 <artifactId>plexus-classworlds</artifactId>
1079 <version>2.6.0</version>
1080 </dependency>
1081 <dependency>
1082 <groupId>org.codehaus.plexus</groupId>
1083 <artifactId>plexus-component-annotations</artifactId>
1084 <version>2.1.1</version>
1085 </dependency>
1086 <!-- <dependency> -->
1087 <!-- 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 -->
1088 <!-- <groupId>org.apache.poi</groupId> -->
1089 <!-- <artifactId>ooxml-schemas</artifactId> -->
1090 <!-- <version>1.4</version> -->
1091 <!-- </dependency> -->
1092 <dependency>
1093 <groupId>org.apache.xmlbeans</groupId>
1094 <artifactId>xmlbeans</artifactId>
1095 <version>5.0.3</version>
1096 <!-- checked 2020-08 -->
1097 </dependency>
1098 <dependency>
1099 <groupId>org.docx4j</groupId>
1100 <artifactId>docx4j-JAXB-Internal</artifactId>
1101 <version>8.3.7</version>
1102 </dependency>
1103 <dependency>
1104 <!-- dependency of guava and docx4j -->
1105 <groupId>com.google.errorprone</groupId>
1106 <artifactId>error_prone_annotations</artifactId>
1107 <version>2.14.0</version>
1108 </dependency>
1109 <dependency>
1110 <!-- only for version management xalan depends in different versions from
1111 org.docx4j:docx4j:6.0.1 and xom:xom:1.2.5 -->
1112 <groupId>xalan</groupId>
1113 <artifactId>xalan</artifactId>
1114 <version>2.7.2</version>
1115 </dependency>
1116 <dependency>
1117 <!-- only for version management org.apache.xmlgraphics:xmlgraphics-commons depends in different versions from
1118 org.docx4j:docx4j:6.0.1 and org.apache.xmlgraphics:fop:1.1 -->
1119 <groupId>org.apache.xmlgraphics</groupId>
1120 <artifactId>xmlgraphics-commons</artifactId>
1121 <version>2.7</version>
1122 </dependency>
1123 <dependency>
1124 <groupId>org.apache.commons</groupId>
1125 <artifactId>commons-imaging</artifactId>
1126 <version>1.0-alpha3</version>
1127 </dependency>
1128 <dependency>
1129 <groupId>org.cybertaxonomy.media</groupId>
1130 <artifactId>media-info-model</artifactId>
1131 <version>1.2.0</version>
1132 </dependency>
1133 <!-- joda-time -->
1134 <dependency>
1135 <groupId>joda-time</groupId>
1136 <artifactId>joda-time</artifactId>
1137 <version>2.10.14</version>
1138 </dependency>
1139 <dependency>
1140 <groupId>org.jadira.usertype</groupId>
1141 <artifactId>usertype.core</artifactId>
1142 <version>7.0.0.CR1</version>
1143 </dependency>
1144 <!-- dependency of jadira usertype -->
1145 <dependency>
1146 <groupId>javax.enterprise</groupId>
1147 <artifactId>cdi-api</artifactId>
1148 <version>2.0.SP1</version>
1149 </dependency>
1150
1151 <dependency>
1152 <groupId>org.apache.lucene</groupId>
1153 <artifactId>lucene-core</artifactId>
1154 <version>${lucene.version}</version>
1155 </dependency>
1156 <dependency>
1157 <groupId>org.apache.lucene</groupId>
1158 <artifactId>lucene-suggest</artifactId>
1159 <version>${lucene.version}</version>
1160 </dependency>
1161 <dependency>
1162 <groupId>org.apache.lucene</groupId>
1163 <artifactId>lucene-analyzers-common</artifactId>
1164 <version>${lucene.version}</version>
1165 </dependency>
1166 <dependency>
1167 <groupId>org.apache.lucene</groupId>
1168 <artifactId>lucene-queryparser</artifactId>
1169 <version>${lucene.version}</version>
1170 </dependency>
1171 <dependency>
1172 <groupId>org.apache.lucene</groupId>
1173 <artifactId>lucene-highlighter</artifactId>
1174 <version>${lucene.version}</version>
1175 </dependency>
1176 <dependency>
1177 <groupId>org.apache.lucene</groupId>
1178 <artifactId>lucene-grouping</artifactId>
1179 <version>${lucene.version}</version>
1180 </dependency>
1181 <dependency>
1182 <groupId>org.apache.lucene</groupId>
1183 <artifactId>lucene-join</artifactId>
1184 <version>${lucene.version}</version>
1185 </dependency>
1186 <dependency>
1187 <groupId>org.apache.lucene</groupId>
1188 <artifactId>lucene-backward-codecs</artifactId>
1189 <version>${lucene.version}</version>
1190 </dependency>
1191 <dependency>
1192 <groupId>org.apache.lucene</groupId>
1193 <artifactId>lucene-misc</artifactId>
1194 <version>${lucene.version}</version>
1195 </dependency>
1196 <dependency>
1197 <groupId>org.apache.lucene</groupId>
1198 <artifactId>lucene-facet</artifactId>
1199 <version>${lucene.version}</version>
1200 </dependency>
1201 <dependency>
1202 <groupId>org.apache.lucene</groupId>
1203 <artifactId>lucene-sandbox</artifactId>
1204 <version>${lucene.version}</version>
1205 </dependency>
1206
1207 <dependency>
1208 <groupId>com.ibm.lsid</groupId>
1209 <artifactId>lsid-client</artifactId>
1210 <version>1.1.2</version>
1211 </dependency>
1212 <dependency>
1213 <groupId>com.ibm.lsid</groupId>
1214 <artifactId>lsid-server</artifactId>
1215 <version>1.1.2</version>
1216 </dependency>
1217 <dependency>
1218 <groupId>wsdl4j</groupId>
1219 <artifactId>wsdl4j</artifactId>
1220 <version>1.6.3</version>
1221 </dependency>
1222 <!-- <dependency> -->
1223 <!-- <groupId>net.sf.dozer</groupId> -->
1224 <!-- <artifactId>dozer</artifactId> -->
1225 <!-- <version>5.5.1</version> -->
1226 <!-- </dependency> -->
1227 <dependency>
1228 <groupId>com.github.dozermapper</groupId>
1229 <artifactId>dozer-core</artifactId>
1230 <version>${dozer.version}</version>
1231 </dependency>
1232 <dependency>
1233 <groupId>com.github.dozermapper</groupId>
1234 <artifactId>dozer-spring4</artifactId>
1235 <version>${dozer.version}</version>
1236 </dependency>
1237 <dependency>
1238 <groupId>net.sf.ehcache</groupId>
1239 <artifactId>ehcache</artifactId>
1240 <version>2.10.6</version>
1241 </dependency>
1242 <!-- ******* XML ******* -->
1243 <dependency>
1244 <!-- xml-apis seems to be ALMOST fully included in java8 but ElementTraversal seems to be missing, therefore SDDDocumentBuilder does not compile -->
1245 <groupId>xml-apis</groupId>
1246 <artifactId>xml-apis</artifactId>
1247 <!-- WARNING: do not upgrade to later versions 2.0.x of xml-apis -->
1248 <!-- since these are effectivly reloaded to the early beta version -->
1249 <!-- 1.0.b2 -->
1250 <version>1.4.01</version>
1251 </dependency>
1252 <dependency>
1253 <groupId>xerces</groupId>
1254 <artifactId>xercesImpl</artifactId>
1255 <version>2.12.2</version>
1256 <!-- checked 2022-06 -->
1257 </dependency>
1258 <!-- >batik-ext required by Xerces 2.11.0 for class ElementTraversal,
1259 as this is not included anymore in xml-apis 2.x -->
1260 <!-- <dependency> -->
1261 <!-- <groupId>org.apache.xmlgraphics</groupId> -->
1262 <!-- <artifactId>batik-ext</artifactId> -->
1263 <!-- <version>1.13</version> -->
1264 <!-- </dependency> -->
1265 <dependency> <!-- required by cdmlib-print -->
1266 <groupId>org.apache.xmlgraphics</groupId>
1267 <artifactId>fop</artifactId>
1268 <version>2.7</version>
1269 </dependency>
1270 <dependency>
1271 <groupId>org.odftoolkit</groupId>
1272 <artifactId>odfdom-java</artifactId>
1273 <version>0.8.7</version>
1274 </dependency>
1275 <dependency>
1276 <!-- used in eu.etaxonomy.cdm.io.markup and for swagger -->
1277 <groupId>com.google.guava</groupId>
1278 <artifactId>guava</artifactId>
1279 <version>31.1-jre</version>
1280 </dependency>
1281 <dependency>
1282 <groupId>com.google.code.findbugs</groupId>
1283 <artifactId>jsr305</artifactId>
1284 <version>3.0.2</version>
1285 </dependency>
1286 <!-- last jdom 1.x version -->
1287 <dependency>
1288 <groupId>org.jdom</groupId>
1289 <artifactId>jdom</artifactId>
1290 <version>1.1.3</version>
1291 </dependency>
1292 <!-- jdom2 may exist in parallel to jdom(1) as it uses a different package structure -->
1293 <dependency>
1294 <groupId>org.jdom</groupId>
1295 <artifactId>jdom2</artifactId>
1296 <version>2.0.6</version>
1297 </dependency>
1298 <dependency>
1299 <groupId>com.thoughtworks.xstream</groupId>
1300 <artifactId>xstream</artifactId>
1301 <version>1.4.19</version>
1302 </dependency>
1303 <dependency>
1304 <!-- newer version exists for groupId org.ogce, need to check exclusions before moving -->
1305 <groupId>xpp3</groupId>
1306 <artifactId>xpp3</artifactId>
1307 <version>1.1.4c</version>
1308 </dependency>
1309 <!-- <dependency> -->
1310 <!-- stax is part of java8 and therefore not needed anymore -->
1311 <!-- <groupId>stax</groupId> -->
1312 <!-- <artifactId>stax</artifactId> -->
1313 <!-- <version>1.2.0</version> -->
1314 <!-- </dependency> -->
1315 <dependency>
1316 <groupId>xom</groupId>
1317 <artifactId>xom</artifactId>
1318 <version>1.3.7</version>
1319 <exclusions>
1320 <!-- need to exclude com.ibm.icu:icu4j since it contains an invalid
1321 file which causes the jetty-maven-plugin to fail see https://stackoverflow.com/questions/3026956/javassist-failure-in-hibernate-invalid-constant-type-60 -->
1322 <exclusion>
1323 <groupId>com.ibm.icu</groupId>
1324 <artifactId>icu4j</artifactId>
1325 </exclusion>
1326 </exclusions>
1327 </dependency>
1328 <!-- ******* SAXON (ViBRANT)******* -->
1329 <dependency>
1330 <groupId>net.sf.saxon</groupId>
1331 <artifactId>Saxon-HE</artifactId>
1332 <version>11.3</version>
1333 </dependency>
1334 <!-- ******* http components (ViBRANT)******* -->
1335 <dependency>
1336 <groupId>org.apache.httpcomponents</groupId>
1337 <artifactId>httpmime</artifactId>
1338 <version>${httpcomponents.version}</version>
1339 </dependency>
1340 <!-- ***** json ******************** -->
1341 <dependency>
1342 <groupId>org.json</groupId>
1343 <artifactId>json</artifactId>
1344 <version>20220320</version>
1345 </dependency>
1346 <!-- ******* HIBERNATE / EJB3 ******* -->
1347 <dependency>
1348 <groupId>org.hibernate.javax.persistence</groupId>
1349 <artifactId>hibernate-jpa-2.1-api</artifactId>
1350 <version>1.0.2.Final</version>
1351 </dependency>
1352 <dependency>
1353 <groupId>org.hibernate</groupId>
1354 <artifactId>hibernate-core</artifactId>
1355 <version>${hibernate.version}</version>
1356 </dependency>
1357 <dependency>
1358 <groupId>org.hibernate</groupId>
1359 <artifactId>hibernate-envers</artifactId>
1360 <version>${hibernate.version}</version>
1361 </dependency>
1362 <dependency>
1363 <groupId>org.hibernate</groupId>
1364 <artifactId>hibernate-c3p0</artifactId>
1365 <version>${hibernate.version}</version>
1366 </dependency>
1367 <dependency>
1368 <groupId>com.mchange</groupId>
1369 <artifactId>c3p0</artifactId>
1370 <!--
1371 IMPORTANT!!!
1372 when changing the version of this artifact, the
1373 version in cdm-server pom.xml must be changed
1374 the same otherwise db connections through jndi
1375 will not work!
1376 NOTE: not so critical anymore as we use cdmlib-db
1377 now for both projects
1378 -->
1379 <version>0.9.5.2</version>
1380 </dependency>
1381 <dependency>
1382 <groupId>com.mchange</groupId>
1383 <artifactId>mchange-commons-java</artifactId>
1384 <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
1385 <version>0.2.11</version>
1386 </dependency>
1387 <dependency>
1388 <groupId>org.hibernate.common</groupId>
1389 <artifactId>hibernate-commons-annotations</artifactId>
1390 <version>5.1.2.Final</version>
1391 </dependency>
1392 <dependency>
1393 <groupId>org.hibernate</groupId>
1394 <artifactId>hibernate-search-orm</artifactId>
1395 <version>${hibernate-search.version}</version>
1396 </dependency>
1397 <dependency>
1398 <groupId>org.hibernate</groupId>
1399 <artifactId>hibernate-search-engine</artifactId>
1400 <version>${hibernate-search.version}</version>
1401 </dependency>
1402
1403 <dependency>
1404 <!-- used by hibernate as bytecode provider framework -->
1405 <groupId>net.bytebuddy</groupId>
1406 <artifactId>byte-buddy</artifactId>
1407 <version>1.12.10</version>
1408 </dependency>
1409 <!-- dependency of hibernate-core -->
1410 <dependency>
1411 <groupId>org.jboss.spec.javax.transaction</groupId>
1412 <artifactId>jboss-transaction-api_1.2_spec</artifactId>
1413 <version>1.1.1.Final</version>
1414 </dependency>
1415 <dependency>
1416 <!-- dependency of iiif-apis (and still by hibernate but will be removed in v5.6 as hibernate uses bytebuddy) -->
1417 <groupId>org.javassist</groupId>
1418 <artifactId>javassist</artifactId>
1419 <version>3.29.0-GA</version>
1420 </dependency>
1421
1422 <!-- ******* SPRING ******* -->
1423 <dependency>
1424 <groupId>org.springframework</groupId>
1425 <artifactId>spring-core</artifactId>
1426 <version>${spring.version}</version>
1427 </dependency>
1428 <dependency>
1429 <groupId>org.springframework</groupId>
1430 <artifactId>spring-context</artifactId>
1431 <version>${spring.version}</version>
1432 </dependency>
1433 <dependency>
1434 <groupId>org.springframework</groupId>
1435 <artifactId>spring-beans</artifactId>
1436 <version>${spring.version}</version>
1437 </dependency>
1438 <dependency>
1439 <groupId>org.springframework</groupId>
1440 <artifactId>spring-orm</artifactId>
1441 <version>${spring.version}</version>
1442 </dependency>
1443 <dependency>
1444 <groupId>org.springframework</groupId>
1445 <artifactId>spring-jdbc</artifactId>
1446 <version>${spring.version}</version>
1447 </dependency>
1448 <dependency>
1449 <groupId>org.springframework</groupId>
1450 <artifactId>spring-tx</artifactId>
1451 <version>${spring.version}</version>
1452 </dependency>
1453 <dependency>
1454 <groupId>org.springframework</groupId>
1455 <artifactId>spring-test</artifactId>
1456 <version>${spring.version}</version>
1457 </dependency>
1458 <dependency>
1459 <groupId>org.springframework</groupId>
1460 <artifactId>spring-web</artifactId>
1461 <version>${spring.version}</version>
1462 </dependency>
1463 <dependency>
1464 <groupId>org.springframework</groupId>
1465 <artifactId>spring-webmvc</artifactId>
1466 <version>${spring.version}</version>
1467 </dependency>
1468 <dependency>
1469 <groupId>org.springframework</groupId>
1470 <artifactId>spring-aop</artifactId>
1471 <version>${spring.version}</version>
1472 </dependency>
1473 <dependency>
1474 <groupId>org.springframework</groupId>
1475 <artifactId>spring-aspects</artifactId>
1476 <version>${spring.version}</version>
1477 </dependency>
1478 <dependency>
1479 <groupId>org.springframework</groupId>
1480 <artifactId>spring-expression</artifactId>
1481 <version>${spring.version}</version>
1482 </dependency>
1483 <dependency>
1484 <groupId>org.springframework</groupId>
1485 <artifactId>spring-context-support</artifactId>
1486 <version>${spring.version}</version>
1487 </dependency>
1488 <dependency>
1489 <groupId>org.springframework</groupId>
1490 <artifactId>spring-oxm</artifactId>
1491 <version>${spring.version}</version>
1492 </dependency>
1493 <dependency>
1494 <groupId>org.springframework.security</groupId>
1495 <artifactId>spring-security-core</artifactId>
1496 <version>${spring-security.version}</version>
1497 </dependency>
1498 <dependency>
1499 <groupId>org.springframework.security</groupId>
1500 <artifactId>spring-security-config</artifactId>
1501 <version>${spring-security.version}</version>
1502 </dependency>
1503 <dependency>
1504 <groupId>org.springframework.security</groupId>
1505 <artifactId>spring-security-web</artifactId>
1506 <version>${spring-security.version}</version>
1507 </dependency>
1508 <dependency>
1509 <groupId>org.springframework.security.oauth</groupId>
1510 <artifactId>spring-security-oauth2</artifactId>
1511 <version>${spring-security-oauth2.version}</version>
1512 </dependency>
1513 <dependency>
1514 <groupId>org.springframework.cloud</groupId>
1515 <artifactId>spring-cloud-security</artifactId>
1516 <version>${spring-security.version}</version>
1517 </dependency>
1518 <dependency>
1519 <!-- required by spring security core, but not needed anymore in spring security 5.x -->
1520 <groupId>aopalliance</groupId>
1521 <artifactId>aopalliance</artifactId>
1522 <version>1.0</version>
1523 </dependency>
1524
1525 <!-- ******* SERVLET/JSP/JSF ******* -->
1526 <dependency>
1527 <groupId>javax.servlet</groupId>
1528 <artifactId>javax.servlet-api</artifactId>
1529 <version>4.0.1</version>
1530 <!-- checked 2020-08 -->
1531 </dependency>
1532 <dependency>
1533 <!-- management needed for some older dependencies -->
1534 <!-- TODO check if possible to use exclusions -->
1535 <groupId>javax.servlet</groupId>
1536 <artifactId>servlet-api</artifactId>
1537 <version>2.5</version>
1538 </dependency>
1539
1540
1541 <!-- yourkit profiler api controller (used in ..) -->
1542 <dependency>
1543 <groupId>com.yourkit</groupId>
1544 <artifactId>yjp-controller-api-redist</artifactId>
1545 <version>2015-build-15086</version>
1546 <scope>test</scope>
1547 </dependency>
1548 <!-- For Validation -->
1549 <dependency>
1550 <groupId>javax.validation</groupId>
1551 <artifactId>validation-api</artifactId>
1552 <version>2.0.1.Final</version>
1553 <!-- checked 2020-08 -->
1554 </dependency>
1555 <dependency>
1556 <groupId>org.hibernate.validator</groupId>
1557 <artifactId>hibernate-validator</artifactId>
1558 <version>${hibernate-validator.version}</version>
1559 </dependency>
1560 <dependency>
1561 <groupId>com.fasterxml</groupId>
1562 <artifactId>classmate</artifactId>
1563 <version>1.5.1</version>
1564 <!-- checked 2020-08 -->
1565 </dependency>
1566 <dependency>
1567 <groupId>javax.el</groupId>
1568 <artifactId>javax.el-api</artifactId>
1569 <version>3.0.0</version>
1570 <!-- checked 2020-08 -->
1571 </dependency>
1572 <dependency>
1573 <groupId>jakarta.validation</groupId>
1574 <artifactId>jakarta.validation-api</artifactId>
1575 <version>3.0.2</version>
1576 <!-- checked 2022-06 -->
1577 </dependency>
1578 <dependency>
1579 <groupId>org.glassfish.web</groupId>
1580 <artifactId>javax.el</artifactId>
1581 <version>2.2.6</version>
1582 </dependency>
1583 <dependency>
1584 <groupId>org.hibernate.validator</groupId>
1585 <artifactId>hibernate-validator-cdi</artifactId>
1586 <version>${hibernate-validator.version}</version>
1587 </dependency>
1588 <dependency>
1589 <!-- not clear if needed, but if needed v8.0 should be used to avoid problems with javax.validation.BootstrapConfiguration -->
1590 <!-- it was a (currently excluded) transitiv dependency from org.geotools/gt-referencing used in cdmlib-ext -->
1591 <groupId>javax</groupId>
1592 <artifactId>javaee-api</artifactId>
1593 <version>8.0.1</version>
1594 </dependency>
1595
1596 <!-- for ikey-plus -->
1597 <dependency>
1598 <groupId>identificationKeyAPI</groupId>
1599 <artifactId>identificationKeyAPI</artifactId>
1600 <version>1.0</version> <!-- was <version>1.0-SNAPSHOT</version> -->
1601 </dependency>
1602 <dependency>
1603 <groupId>com.itextpdf</groupId>
1604 <artifactId>itextpdf</artifactId>
1605 <version>5.5.13.3</version>
1606 <scope>compile</scope>
1607 </dependency>
1608 <!-- AptView -->
1609 <dependency>
1610 <groupId>org.apache.maven.doxia</groupId>
1611 <artifactId>doxia-module-apt</artifactId>
1612 <version>${doxia.version}</version>
1613 </dependency>
1614 <dependency>
1615 <groupId>org.apache.maven.doxia</groupId>
1616 <artifactId>doxia-module-xhtml</artifactId>
1617 <version>${doxia.version}</version>
1618 </dependency>
1619 <dependency>
1620 <!-- managing version of plexus-utils to avoid multiple versions (3.0.15, 1.4.5) of the artifact -->
1621 <groupId>org.codehaus.plexus</groupId>
1622 <artifactId>plexus-utils</artifactId>
1623 <version>3.4.2</version>
1624 <!-- checked 2022-06 -->
1625 </dependency>
1626 <!-- swagger (rest service doc) -->
1627 <dependency>
1628 <groupId>io.swagger</groupId>
1629 <artifactId>swagger-annotations</artifactId>
1630 <!-- should match the springfox-swagger2 depends on -->
1631 <version>1.5.10</version>
1632 </dependency>
1633
1634 <!-- dependencies for swagger-springmvc, added explicitely -->
1635 <dependency>
1636 <groupId>com.fasterxml.jackson.core</groupId>
1637 <artifactId>jackson-databind</artifactId>
1638 <version>${jackson.version}</version>
1639 </dependency>
1640 <dependency>
1641 <groupId>com.fasterxml.jackson.core</groupId>
1642 <artifactId>jackson-core</artifactId>
1643 <version>${jackson.version}</version>
1644 </dependency>
1645 <dependency>
1646 <groupId>com.fasterxml.jackson.core</groupId>
1647 <artifactId>jackson-annotations</artifactId>
1648 <version>${jackson.version}</version>
1649 </dependency>
1650 <!-- END of dependencies for swagger-springmvc, added explicitely -->
1651 <dependency>
1652 <groupId>io.springfox</groupId>
1653 <artifactId>springfox-swagger2</artifactId>
1654 <version>2.6.1</version>
1655 </dependency>
1656
1657 <!-- ******* DATABASES DRIVER ******* -->
1658 <dependency>
1659 <groupId>mysql</groupId>
1660 <artifactId>mysql-connector-java</artifactId>
1661 <version>8.0.29</version>
1662 </dependency>
1663 <dependency>
1664 <groupId>org.mariadb.jdbc</groupId>
1665 <artifactId>mariadb-java-client</artifactId>
1666 <version>3.0.5</version>
1667 </dependency>
1668 <dependency>
1669 <groupId>org.postgresql</groupId>
1670 <artifactId>postgresql</artifactId>
1671 <version>42.3.6</version>
1672 </dependency>
1673 <dependency>
1674 <groupId>com.h2database</groupId>
1675 <artifactId>h2</artifactId>
1676 <version>1.4.190</version>
1677 </dependency>
1678 <!-- SQL Server -->
1679 <dependency>
1680 <groupId>com.microsoft.sqlserver</groupId>
1681 <artifactId>mssql-jdbc</artifactId>
1682 <version>9.4.1.jre8</version>
1683 </dependency>
1684 <dependency>
1685 <!-- SQL Server and Sybase -->
1686 <groupId>net.sourceforge.jtds</groupId>
1687 <artifactId>jtds</artifactId>
1688 <version>1.3.1</version>
1689 </dependency>
1690 <dependency>
1691 <groupId>oracle</groupId>
1692 <artifactId>ojdbc14</artifactId>
1693 <version>10.2.0.4.0</version>
1694 </dependency>
1695 <!-- <dependency>
1696 <groupId>ojdbc</groupId>
1697 <artifactId>ojdbc</artifactId>
1698 <version>14</version>
1699 </dependency> -->
1700 <!-- GIS/KML -->
1701 <dependency>
1702 <groupId>de.micromata.jak</groupId>
1703 <artifactId>JavaAPIforKml</artifactId>
1704 <version>2.2.1</version>
1705 </dependency>
1706 <dependency>
1707 <groupId>org.geotools</groupId>
1708 <artifactId>gt-opengis</artifactId>
1709 <version>${geotools.version}</version>
1710 </dependency>
1711 <dependency>
1712 <groupId>org.geotools</groupId>
1713 <artifactId>gt-referencing</artifactId>
1714 <version>${geotools.version}</version>
1715 </dependency>
1716 <dependency>
1717 <groupId>org.geotools</groupId>
1718 <artifactId>gt-epsg-wkt</artifactId>
1719 <version>${geotools.version}</version>
1720 </dependency>
1721 <dependency>
1722 <groupId>org.geotools</groupId>
1723 <artifactId>gt-main</artifactId>
1724 <version>${geotools.version}</version>
1725 </dependency>
1726
1727 <dependency>
1728 <groupId>com.sun</groupId>
1729 <artifactId>tools</artifactId>
1730 <version>1.8.0</version>
1731 </dependency>
1732 <dependency>
1733 <!-- Email functionality (used in cdmlib-services) -->
1734 <groupId>com.sun.mail</groupId>
1735 <artifactId>javax.mail</artifactId>
1736 <version>${jakarta.mail.version}</version>
1737 </dependency>
1738 <dependency>
1739 <!-- only needed for PasswordResetService, may be replaced by Thymeleaf, but also needed in TaxEditor cdmlib modul -->
1740 <groupId>org.apache.commons</groupId>
1741 <artifactId>commons-text</artifactId>
1742 <version>1.9</version>
1743 </dependency>
1744 <dependency>
1745 <groupId>org.passay</groupId>
1746 <artifactId>passay</artifactId>
1747 <version>1.6.1</version>
1748 </dependency>
1749 </dependencies>
1750 </dependencyManagement>
1751 </project>