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