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"
3 xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <groupId>eu.etaxonomy
</groupId>
6 <artifactId>taxeditor-parent
</artifactId>
7 <version>5.32.0-SNAPSHOT
</version>
9 <modelVersion>4.0.0</modelVersion>
10 <artifactId>eu.etaxonomy.taxeditor.cdmlib
</artifactId>
11 <packaging>eclipse-plugin
</packaging>
13 <jackson.version
>2.13.3</jackson.version
>
14 <poi.version
>4.1.2</poi.version
>
15 <hibernate.version
>5.4.33.Final
</hibernate.version
>
16 <lucene.version
>5.5.5</lucene.version
>
17 <spring.version
>4.3.30.RELEASE
</spring.version
> <!-- checked 2021-12, further upgrade possible -->
18 <spring-security.version
>4.2.20.RELEASE
</spring-security.version
> <!-- checked 2021-12, further upgrade possible -->
19 <aspectj.version
>1.9.7</aspectj.version
>
21 <name>CDM Library Dependencies Plugin
</name>
22 <description>CDM Library and dependencies as a plugin
</description>
27 <groupId>org.apache.maven.plugins
</groupId>
28 <artifactId>maven-surefire-plugin
</artifactId>
29 <version>3.0.0-M7
</version>
35 <groupId>org.apache.maven.plugins
</groupId>
36 <artifactId>maven-dependency-plugin
</artifactId>
37 <version>3.2.0</version>
40 <id>copy-dependencies
</id>
41 <phase>validate
</phase>
43 <goal>copy-dependencies
</goal>
50 cdmlib-commons,cdmlib-model,cdmlib-api,cdmlib-persistence,cdmlib-services,cdmlib-cache,cdmlib-ext,cdmlib-io
52 <outputDirectory>${basedir}/lib
</outputDirectory>
53 <overWriteReleases>true
</overWriteReleases>
54 <overWriteSnapshots>true
</overWriteSnapshots>
55 <excludeTransitive>true
</excludeTransitive>
59 <id>copy-dependency-jars
</id>
60 <phase>validate
</phase>
62 <goal>copy-dependencies
</goal>
66 httpclient,JavaAPIforKml,iiif-apis,commons-lang3,commons-lang,commons-text,
67 commons-codec,commons-collections,commons-io,commons-logging,
68 hibernate-search-engine,hibernate-search-orm,
69 json,json-lib,log4j,log4j-core,log4j-api,lucene-analyzers-common,lucene-core,lucene-queryparser,lucene-suggest,lucene-sandbox,
70 commons-imaging,jackson-databind,jackson-annotations,jackson-core,jboss-logging,
71 jakarta.validation-api,slf4j-api,
74 spring-context,spring-context-support,spring-aspects,spring-beans,
75 spring-tx,spring-web,spring-core,spring-aop,spring-orm,
76 spring-jdbc,spring-security-config,spring-security-core,
78 byte-buddy,hibernate-commons-annotations,
79 hibernate-core,hibernate-envers,antlr,
80 javax.persistence-api,
81 xml-apis,lsid-client,jdom,
82 commons-collections4,commons-math3,
83 c3p0,mchange-commons-java,
85 h2,mysql-connector-java,postgresql,
86 junit,hamcrest-core,commons-dbcp,commons-pool,
87 jboss-transaction-api_1.2_spec
92 <overWriteReleases>true
</overWriteReleases>
93 <overWriteSnapshots>true
</overWriteSnapshots>
94 <excludeTransitive>true
</excludeTransitive>
98 <id>copy-dependency-jars-transitive
</id>
99 <phase>validate
</phase>
101 <goal>copy-dependencies
</goal>
105 httpclient-cache,httpcore,xercesImpl
106 </includeArtifactIds>
110 <overWriteReleases>true
</overWriteReleases>
111 <overWriteSnapshots>true
</overWriteSnapshots>
112 <excludeTransitive>false
</excludeTransitive>
118 <groupId>org.apache.maven.plugins
</groupId>
119 <artifactId>maven-antrun-plugin
</artifactId>
122 <id>update-snapshot-jar-names
</id>
123 <phase>validate
</phase>
129 <echo>Update cdmlib jars to SNAPSHOT when build with
133 <fileset dir=
"./lib" />
134 <mapper type=
"regexp"
135 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
139 <fileset dir=
"./lib" />
140 <mapper type=
"regexp"
141 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
148 <id>remove-existing-jars
</id>
155 <echo>Remove all cdmlib jars
</echo>
157 <fileset dir=
"./lib" includes=
"cdmlib-*" />
172 <groupId>org.apache.maven.plugins
</groupId>
173 <artifactId>maven-dependency-plugin
</artifactId>
174 <version>3.2.0</version>
177 <id>copy-all-dependencies
</id>
178 <phase>validate
</phase>
180 <goal>copy-dependencies
</goal>
185 </excludeArtifactIds>
186 <outputDirectory>${basedir}/lib
</outputDirectory>
187 <overWriteReleases>true
</overWriteReleases>
188 <overWriteSnapshots>true
</overWriteSnapshots>
189 <excludeTransitive>true
</excludeTransitive>
200 <!-- direct dependencies (used within this module) -->
202 <!-- used e.g. in CdmApplicationRemoteConfiguration -->
204 <!-- used e.g. by CdmServiceCacher -->
205 <groupId>eu.etaxonomy
</groupId>
206 <artifactId>cdmlib-cache
</artifactId>
207 <version>${cdmlib.version}
</version>
210 <!-- used e.g. by CdmApplicationState -->
211 <groupId>eu.etaxonomy
</groupId>
212 <artifactId>cdmlib-commons
</artifactId>
213 <version>${cdmlib.version}
</version>
216 <!-- used e.g. by CdmChangeEvent -->
217 <groupId>eu.etaxonomy
</groupId>
218 <artifactId>cdmlib-model
</artifactId>
219 <version>${cdmlib.version}
</version>
222 <groupId>eu.etaxonomy
</groupId>
223 <artifactId>cdmlib-io
</artifactId>
224 <version>${cdmlib.version}
</version>
227 <groupId>eu.etaxonomy
</groupId>
228 <artifactId>cdmlib-ext
</artifactId>
229 <version>${cdmlib.version}
</version>
232 <groupId>eu.etaxonomy
</groupId>
233 <artifactId>cdmlib-persistence
</artifactId>
234 <version>${cdmlib.version}
</version>
237 <groupId>eu.etaxonomy
</groupId>
238 <artifactId>cdmlib-services
</artifactId>
239 <version>${cdmlib.version}
</version>
242 <groupId>org.springframework
</groupId>
243 <!-- used e.g. by CachingHttpInvokerProxyFactoryBean -->
244 <artifactId>spring-aop
</artifactId>
245 <version>${spring.version}
</version>
248 <groupId>org.springframework
</groupId>
249 <artifactId>spring-beans
</artifactId>
250 <version>${spring.version}
</version>
253 <groupId>org.springframework
</groupId>
254 <artifactId>spring-context
</artifactId>
255 <version>${spring.version}
</version>
258 <groupId>org.springframework
</groupId>
259 <artifactId>spring-core
</artifactId>
260 <version>${spring.version}
</version>
263 <groupId>org.springframework
</groupId>
264 <artifactId>spring-tx
</artifactId>
265 <version>${spring.version}
</version>
268 <groupId>org.springframework
</groupId>
269 <artifactId>spring-web
</artifactId>
270 <version>${spring.version}
</version>
273 <groupId>org.springframework.security
</groupId>
274 <artifactId>spring-security-core
</artifactId>
275 <version>${spring-security.version}
</version>
278 <!-- used e.g. by CdmLazyLoader -->
279 <groupId>org.hibernate
</groupId>
280 <artifactId>hibernate-core
</artifactId>
281 <version>${hibernate.version}
</version>
284 <groupId>org.apache.commons
</groupId>
285 <artifactId>commons-lang3
</artifactId>
286 <version>3.12.0</version>
289 <!-- used e.g. by CdmServerUtils -->
290 <groupId>commons-io
</groupId>
291 <artifactId>commons-io
</artifactId>
292 <version>2.11.0</version>
295 <!-- used e.g. by CdmServerUtils -->
296 <groupId>org.apache.commons
</groupId>
297 <artifactId>commons-text
</artifactId>
298 <version>1.9</version>
301 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
302 <groupId>commons-codec
</groupId>
303 <artifactId>commons-codec
</artifactId>
304 <version>1.15</version>
307 <!-- CdmServiceCacher -->
308 <groupId>org.apache.logging.log4j
</groupId>
309 <artifactId>log4j-core
</artifactId>
310 <version>2.17.2</version>
313 <!-- CdmServiceCacher -->
314 <groupId>org.apache.logging.log4j
</groupId>
315 <artifactId>log4j-api
</artifactId>
316 <version>2.17.2</version>
319 <groupId>org.aspectj
</groupId>
320 <!-- used e.g. by CdmLazyLoader -->
321 <artifactId>aspectjweaver
</artifactId>
322 <version>${aspectj.version}
</version>
325 <groupId>org.apache.httpcomponents
</groupId>
326 <artifactId>httpclient
</artifactId>
327 <!-- version defined in parent pom -->
330 <!-- used e.g. by CdmServerInfo -->
331 <groupId>org.apache.httpcomponents
</groupId>
332 <artifactId>httpcore
</artifactId>
333 <version>4.4.15</version>
336 <!-- used e.g. by CdmServerInfo -->
337 <groupId>org.json
</groupId>
338 <artifactId>json
</artifactId>
339 <version>20220320</version>
342 <!-- used e.g. by CdmServerInfo -->
343 <groupId>com.fasterxml.jackson.core
</groupId>
344 <artifactId>jackson-core
</artifactId>
345 <version>${jackson.version}
</version>
348 <!-- used e.g. by CdmServerInfo -->
349 <groupId>com.fasterxml.jackson.core
</groupId>
350 <artifactId>jackson-databind
</artifactId>
351 <version>${jackson.version}
</version>
354 <!-- used e.g. by ICdmEntitySession -->
355 <groupId>net.sf.ehcache
</groupId>
356 <artifactId>ehcache
</artifactId>
357 <version>2.10.6</version>
360 <!-- used e.g. by CdmPersistentRemoteSource -->
361 <groupId>org.jdom
</groupId>
362 <artifactId>jdom
</artifactId>
363 <version>1.1.3</version>
366 <!-- indirectly used with compile error -->
368 <!-- indirectly used e.g. by AbstractPersistentCollection -->
369 <groupId>javax.persistence
</groupId>
370 <artifactId>javax.persistence-api
</artifactId>
371 <version>2.2</version>
374 <!-- indirectly used e.g. by AbstractPersistentCollection -->
375 <groupId>org.jboss.logging
</groupId>
376 <artifactId>jboss-logging
</artifactId>
377 <version>3.4.3.Final
</version>
380 <!-- indirectly used, by other taxeditor modules -->
381 <!-- ... by taxeditor.local -->
383 <groupId>eu.etaxonomy
</groupId>
384 <artifactId>cdmlib-api
</artifactId>
385 <version>${cdmlib.version}
</version>
388 <!-- ... by taxeditor.store -->
390 <groupId>joda-time
</groupId>
391 <artifactId>joda-time
</artifactId>
392 <version>2.10.14</version>
395 <groupId>net.sf.opencsv
</groupId>
396 <artifactId>opencsv
</artifactId>
397 <version>2.3</version>
400 <groupId>org.springframework
</groupId>
401 <artifactId>spring-aspects
</artifactId>
402 <version>${spring.version}
</version>
405 <groupId>com.ibm.lsid
</groupId>
406 <artifactId>lsid-client
</artifactId>
407 <version>1.1.2</version>
410 <!-- used by bulkeditor -->
412 <!-- used by CharacterMatrix/bulkeditor (LinkedList) -->
413 <groupId>org.apache.commons
</groupId>
414 <artifactId>commons-collections4
</artifactId>
415 <version>4.4</version>
418 <!-- used by taxeditor.local -->
420 <!-- used by datasource dialogue finish button -->
421 <groupId>com.mchange
</groupId>
422 <artifactId>mchange-commons-java
</artifactId>
423 <version>0.2.11</version>
426 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
428 <!-- when using bytebuddy for hibernate -->
429 <groupId>net.bytebuddy
</groupId>
430 <artifactId>byte-buddy
</artifactId>
431 <version>1.12.10</version>
434 <!-- dependency of xerces -->
435 <groupId>xml-apis
</groupId>
436 <artifactId>xml-apis
</artifactId>
437 <version>1.4.01</version>
439 <!-- needed only for H2Local and unitils, move maybe to test + local together with c3p0 -->
441 <groupId>commons-pool
</groupId>
442 <artifactId>commons-pool
</artifactId>
443 <version>1.6</version>
446 <!-- For Unit Tests Start -->
447 <!-- keep junit and its dependency hamcrest here as long as each plugin
448 has its own unit tests and junit is not yet added there in a way
449 that it does not appear in production bundles -->
451 <groupId>junit
</groupId>
452 <artifactId>junit
</artifactId>
453 <version>4.13.2</version>
457 <groupId>org.hamcrest
</groupId>
458 <artifactId>hamcrest-core
</artifactId>
459 <version>1.3</version>
460 <!-- <scope>test</scope> -->
463 <!-- END for Unit Tests -->
465 <!-- required during RUNTIME -->
468 <!-- throws exception in bulk editor after search if not present -->
469 <groupId>org.hibernate
</groupId>
470 <artifactId>hibernate-envers
</artifactId>
471 <version>${hibernate.version}
</version>
474 <!-- throws exception in bulk editor after search during deserialization if not present -->
475 <groupId>org.apache.lucene
</groupId>
476 <artifactId>lucene-core
</artifactId>
477 <version>${lucene.version}
</version>
480 <!-- e.g. when opening character matrix
481 probably only used by hibernate-core, so remove when removing hibernate-core -->
482 <groupId>antlr
</groupId>
483 <artifactId>antlr
</artifactId>
484 <version>2.7.7</version>
487 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
488 <groupId>com.fasterxml.jackson.core
</groupId>
489 <artifactId>jackson-annotations
</artifactId>
490 <version>${jackson.version}
</version>
493 <!-- for any transactions, e.g. when first time logging in -->
494 <groupId>org.jboss.spec.javax.transaction
</groupId>
495 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
496 <version>1.1.1.Final
</version>
500 <!-- for showing maps in distribution details view -->
501 <groupId>uk.m0nom
</groupId>
502 <artifactId>JavaAPIforKml
</artifactId>
506 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
507 <groupId>com.mchange
</groupId>
508 <artifactId>c3p0
</artifactId>
509 <version>0.9.5.2</version>
512 <!-- database related, should be moved to local/test when possible -->
513 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
515 <groupId>mysql
</groupId>
516 <artifactId>mysql-connector-java
</artifactId>
517 <version>8.0.29</version>
520 <groupId>com.h2database
</groupId>
521 <artifactId>h2
</artifactId>
522 <version>1.4.190</version>
525 <groupId>org.postgresql
</groupId>
526 <artifactId>postgresql
</artifactId>
527 <version>42.3.6</version>
530 <!-- Only added for correct package export, but reported as needed -->
532 <!-- dbcp and pool needed for H2Local and unitils,
533 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
535 <groupId>commons-dbcp
</groupId>
536 <artifactId>commons-dbcp
</artifactId>
537 <version>1.4</version>
540 <!-- For Hibernate Mapping Start -->
542 <groupId>jakarta.validation
</groupId>
543 <artifactId>jakarta.validation-api
</artifactId>
544 <version>3.0.2</version>
547 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
549 <groupId>commons-lang
</groupId>
550 <artifactId>commons-lang
</artifactId>
551 <version>2.6</version>
558 <groupId>org.apache.commons
</groupId>
559 <artifactId>commons-math3
</artifactId>
560 <version>3.6.1</version>
565 <groupId>org.slf4j
</groupId>
566 <artifactId>slf4j-api
</artifactId>
567 <version>1.7.36</version>
570 <!-- not necessarily required but probably wanted -->
571 <groupId>org.slf4j
</groupId>
572 <artifactId>slf4j-reload4j
</artifactId>
573 <version>1.7.36</version>
575 <!-- slf4j-nop is not needed -->
577 <!-- Only added for correct package export -->
579 <groupId>commons-collections
</groupId>
580 <artifactId>commons-collections
</artifactId>
581 <version>3.2.2</version>
584 <groupId>org.apache.commons
</groupId>
585 <artifactId>commons-imaging
</artifactId>
586 <version>1.0-alpha3
</version>
589 <groupId>net.sf.json-lib
</groupId>
590 <artifactId>json-lib
</artifactId>
591 <version>2.4</version>
592 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
593 <classifier>jdk15
</classifier>
596 <groupId>commons-logging
</groupId>
597 <artifactId>commons-logging
</artifactId>
598 <version>1.2</version>
601 <groupId>xerces
</groupId>
602 <artifactId>xercesImpl
</artifactId>
603 <version>2.12.2</version>
606 <groupId>org.hibernate.common
</groupId>
607 <artifactId>hibernate-commons-annotations
</artifactId>
608 <version>5.1.2.Final
</version>
611 <groupId>org.hibernate
</groupId>
612 <artifactId>hibernate-search-orm
</artifactId>
613 <version>5.11.10.Final
</version>
616 <groupId>org.hibernate
</groupId>
617 <artifactId>hibernate-search-engine
</artifactId>
618 <version>5.11.10.Final
</version>
622 <groupId>org.springframework
</groupId>
623 <artifactId>spring-context-support
</artifactId>
624 <version>${spring.version}
</version>
627 <groupId>org.springframework
</groupId>
628 <artifactId>spring-jdbc
</artifactId>
629 <version>${spring.version}
</version>
632 <groupId>org.springframework
</groupId>
633 <artifactId>spring-orm
</artifactId>
634 <version>${spring.version}
</version>
637 <groupId>org.springframework.security
</groupId>
638 <artifactId>spring-security-config
</artifactId>
639 <version>${spring-security.version}
</version>
642 <!-- preliminary removed
644 <groupId>org.jadira.usertype</groupId>
645 <artifactId>usertype.core</artifactId>
646 <version>7.0.0.CR1</version>
650 <!-- serialVersionUID problem if not present -->
651 <!-- not true, the reason was serialVersionUID of AbstractPersistentCollection
653 <groupId>org.springframework.security</groupId>
654 <artifactId>spring-security-remoting</artifactId>
655 <version>${spring-security.version}</version>