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,ezmorph,
68 hibernate-search-engine,hibernate-search-orm,itextpdf,
69 json,json-lib,log4j,log4j-core,log4j-api,lucene-analyzers-common,lucene-core,lucene-queryparser,lucene-suggest,lucene-sandbox,
71 commons-imaging,jackson-databind,jackson-annotations,jackson-core,jboss-logging,
72 jakarta.validation-api,classmate,javax.el-api,slf4j-api,
75 spring-context,spring-context-support,spring-aspects,spring-test,spring-beans,
76 spring-tx,spring-web,spring-core,spring-aop,spring-expression,spring-orm,
77 spring-oxm,spring-jdbc,spring-security-config,spring-security-core,
78 aopalliance,aspectjweaver,aspectjrt,
79 byte-buddy,hibernate-commons-annotations,
80 hibernate-core,hibernate-envers,antlr,cglib-nodep,
81 javax.persistence-api,
82 xml-apis,lsid-client,jdom,jdom2,
83 poi,poi-ooxml,poi-ooxml-schemas,xmlbeans,commons-collections4,commons-math3,
84 c3p0,mchange-commons-java,
85 opencsv,joda-time,usertype.core,
86 h2,mysql-connector-java,postgresql,
87 junit,hamcrest-core,commons-dbcp,commons-pool,
88 jboss-transaction-api_1.2_spec
93 <overWriteReleases>true
</overWriteReleases>
94 <overWriteSnapshots>true
</overWriteSnapshots>
95 <excludeTransitive>true
</excludeTransitive>
99 <id>copy-dependency-jars-transitive
</id>
100 <phase>validate
</phase>
102 <goal>copy-dependencies
</goal>
106 httpclient-cache,httpcore,xercesImpl
107 </includeArtifactIds>
111 <overWriteReleases>true
</overWriteReleases>
112 <overWriteSnapshots>true
</overWriteSnapshots>
113 <excludeTransitive>false
</excludeTransitive>
119 <groupId>org.apache.maven.plugins
</groupId>
120 <artifactId>maven-antrun-plugin
</artifactId>
123 <id>update-snapshot-jar-names
</id>
124 <phase>validate
</phase>
130 <echo>Update cdmlib jars to SNAPSHOT when build with
134 <fileset dir=
"./lib" />
135 <mapper type=
"regexp"
136 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
140 <fileset dir=
"./lib" />
141 <mapper type=
"regexp"
142 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
149 <id>remove-existing-jars
</id>
156 <echo>Remove all cdmlib jars
</echo>
158 <fileset dir=
"./lib" includes=
"cdmlib-*" />
173 <groupId>org.apache.maven.plugins
</groupId>
174 <artifactId>maven-dependency-plugin
</artifactId>
175 <version>3.2.0</version>
178 <id>copy-all-dependencies
</id>
179 <phase>validate
</phase>
181 <goal>copy-dependencies
</goal>
186 </excludeArtifactIds>
187 <outputDirectory>${basedir}/lib
</outputDirectory>
188 <overWriteReleases>true
</overWriteReleases>
189 <overWriteSnapshots>true
</overWriteSnapshots>
190 <excludeTransitive>true
</excludeTransitive>
201 <!-- direct dependencies (used within this module) -->
203 <!-- used e.g. in CdmApplicationRemoteConfiguration -->
205 <!-- used e.g. by CdmServiceCacher -->
206 <groupId>eu.etaxonomy
</groupId>
207 <artifactId>cdmlib-cache
</artifactId>
208 <version>${cdmlib.version}
</version>
211 <!-- used e.g. by CdmApplicationState -->
212 <groupId>eu.etaxonomy
</groupId>
213 <artifactId>cdmlib-commons
</artifactId>
214 <version>${cdmlib.version}
</version>
217 <!-- used e.g. by CdmChangeEvent -->
218 <groupId>eu.etaxonomy
</groupId>
219 <artifactId>cdmlib-model
</artifactId>
220 <version>${cdmlib.version}
</version>
223 <groupId>eu.etaxonomy
</groupId>
224 <artifactId>cdmlib-io
</artifactId>
225 <version>${cdmlib.version}
</version>
228 <groupId>eu.etaxonomy
</groupId>
229 <artifactId>cdmlib-ext
</artifactId>
230 <version>${cdmlib.version}
</version>
233 <groupId>eu.etaxonomy
</groupId>
234 <artifactId>cdmlib-persistence
</artifactId>
235 <version>${cdmlib.version}
</version>
238 <groupId>eu.etaxonomy
</groupId>
239 <artifactId>cdmlib-services
</artifactId>
240 <version>${cdmlib.version}
</version>
243 <groupId>org.springframework
</groupId>
244 <!-- used e.g. by CachingHttpInvokerProxyFactoryBean -->
245 <artifactId>spring-aop
</artifactId>
246 <version>${spring.version}
</version>
249 <groupId>org.springframework
</groupId>
250 <artifactId>spring-beans
</artifactId>
251 <version>${spring.version}
</version>
254 <groupId>org.springframework
</groupId>
255 <artifactId>spring-context
</artifactId>
256 <version>${spring.version}
</version>
259 <groupId>org.springframework
</groupId>
260 <artifactId>spring-core
</artifactId>
261 <version>${spring.version}
</version>
264 <groupId>org.springframework
</groupId>
265 <artifactId>spring-tx
</artifactId>
266 <version>${spring.version}
</version>
269 <groupId>org.springframework
</groupId>
270 <artifactId>spring-web
</artifactId>
271 <version>${spring.version}
</version>
274 <groupId>org.springframework.security
</groupId>
275 <artifactId>spring-security-core
</artifactId>
276 <version>${spring-security.version}
</version>
279 <!-- used e.g. by CdmLazyLoader -->
280 <groupId>org.hibernate
</groupId>
281 <artifactId>hibernate-core
</artifactId>
282 <version>${hibernate.version}
</version>
285 <groupId>org.apache.commons
</groupId>
286 <artifactId>commons-lang3
</artifactId>
287 <version>3.12.0</version>
290 <!-- used e.g. by CdmServerUtils -->
291 <groupId>commons-io
</groupId>
292 <artifactId>commons-io
</artifactId>
293 <version>2.11.0</version>
296 <!-- used e.g. by CdmServerUtils -->
297 <groupId>org.apache.commons
</groupId>
298 <artifactId>commons-text
</artifactId>
299 <version>1.9</version>
302 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
303 <groupId>commons-codec
</groupId>
304 <artifactId>commons-codec
</artifactId>
305 <version>1.15</version>
308 <!-- CdmServiceCacher -->
309 <groupId>org.apache.logging.log4j
</groupId>
310 <artifactId>log4j-core
</artifactId>
311 <version>2.17.2</version>
314 <!-- CdmServiceCacher -->
315 <groupId>org.apache.logging.log4j
</groupId>
316 <artifactId>log4j-api
</artifactId>
317 <version>2.17.2</version>
320 <groupId>org.aspectj
</groupId>
321 <!-- used e.g. by CdmLazyLoader -->
322 <artifactId>aspectjweaver
</artifactId>
323 <version>${aspectj.version}
</version>
326 <groupId>org.apache.httpcomponents
</groupId>
327 <artifactId>httpclient
</artifactId>
328 <!-- version defined in parent pom -->
331 <!-- used e.g. by CdmServerInfo -->
332 <groupId>org.apache.httpcomponents
</groupId>
333 <artifactId>httpcore
</artifactId>
334 <version>4.4.15</version>
337 <!-- used e.g. by CdmServerInfo -->
338 <groupId>org.json
</groupId>
339 <artifactId>json
</artifactId>
340 <version>20220320</version>
343 <!-- used e.g. by CdmServerInfo -->
344 <groupId>com.fasterxml.jackson.core
</groupId>
345 <artifactId>jackson-core
</artifactId>
346 <version>${jackson.version}
</version>
349 <!-- used e.g. by CdmServerInfo -->
350 <groupId>com.fasterxml.jackson.core
</groupId>
351 <artifactId>jackson-databind
</artifactId>
352 <version>${jackson.version}
</version>
355 <!-- used e.g. by ICdmEntitySession -->
356 <groupId>net.sf.ehcache
</groupId>
357 <artifactId>ehcache
</artifactId>
358 <version>2.10.6</version>
361 <!-- used e.g. by CdmPersistentRemoteSource -->
362 <groupId>org.jdom
</groupId>
363 <artifactId>jdom
</artifactId>
364 <version>1.1.3</version>
367 <!-- indirectly used with compile error -->
369 <!-- indirectly used e.g. by AbstractPersistentCollection -->
370 <groupId>javax.persistence
</groupId>
371 <artifactId>javax.persistence-api
</artifactId>
372 <version>2.2</version>
375 <!-- indirectly used e.g. by AbstractPersistentCollection -->
376 <groupId>org.jboss.logging
</groupId>
377 <artifactId>jboss-logging
</artifactId>
378 <version>3.4.3.Final
</version>
381 <!-- indirectly used, by other taxeditor modules -->
382 <!-- ... by taxeditor.local -->
384 <groupId>eu.etaxonomy
</groupId>
385 <artifactId>cdmlib-api
</artifactId>
386 <version>${cdmlib.version}
</version>
389 <!-- ... by taxeditor.store -->
391 <groupId>joda-time
</groupId>
392 <artifactId>joda-time
</artifactId>
393 <version>2.10.14</version>
396 <groupId>net.sf.opencsv
</groupId>
397 <artifactId>opencsv
</artifactId>
398 <version>2.3</version>
401 <groupId>org.springframework
</groupId>
402 <artifactId>spring-aspects
</artifactId>
403 <version>${spring.version}
</version>
406 <groupId>com.ibm.lsid
</groupId>
407 <artifactId>lsid-client
</artifactId>
408 <version>1.1.2</version>
411 <!-- used by bulkeditor -->
413 <!-- used by CharacterMatrix/bulkeditor (LinkedList) -->
414 <groupId>org.apache.commons
</groupId>
415 <artifactId>commons-collections4
</artifactId>
416 <version>4.4</version>
419 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
421 <!-- when using bytebuddy for hibernate -->
422 <groupId>net.bytebuddy
</groupId>
423 <artifactId>byte-buddy
</artifactId>
424 <version>1.12.10</version>
427 <!-- dependency of xerces -->
428 <groupId>xml-apis
</groupId>
429 <artifactId>xml-apis
</artifactId>
430 <version>1.4.01</version>
432 <!-- needed only for H2Local and unitils, move maybe to test + local together with c3p0 -->
434 <groupId>commons-pool
</groupId>
435 <artifactId>commons-pool
</artifactId>
436 <version>1.6</version>
439 <!-- For Unit Tests Start -->
440 <!-- keep junit and its dependency hamcrest here as long as each plugin
441 has its own unit tests and junit is not yet added there in a way
442 that it does not appear in production bundles -->
444 <groupId>junit
</groupId>
445 <artifactId>junit
</artifactId>
446 <version>4.13.2</version>
450 <groupId>org.hamcrest
</groupId>
451 <artifactId>hamcrest-core
</artifactId>
452 <version>1.3</version>
453 <!-- <scope>test</scope> -->
456 <!-- END for Unit Tests -->
458 <!-- required during RUNTIME -->
461 <!-- throws exception in bulk editor after search if not present -->
462 <groupId>org.hibernate
</groupId>
463 <artifactId>hibernate-envers
</artifactId>
464 <version>${hibernate.version}
</version>
467 <!-- throws exception in bulk editor after search during deserialization if not present -->
468 <groupId>org.apache.lucene
</groupId>
469 <artifactId>lucene-core
</artifactId>
470 <version>${lucene.version}
</version>
473 <!-- e.g. when opening character matrix
474 probably only used by hibernate-core, so remove when removing hibernate-core -->
475 <groupId>antlr
</groupId>
476 <artifactId>antlr
</artifactId>
477 <version>2.7.7</version>
480 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
481 <groupId>com.fasterxml.jackson.core
</groupId>
482 <artifactId>jackson-annotations
</artifactId>
483 <version>${jackson.version}
</version>
486 <!-- for any transactions, e.g. when first time logging in -->
487 <groupId>org.jboss.spec.javax.transaction
</groupId>
488 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
489 <version>1.1.1.Final
</version>
493 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
494 <groupId>com.mchange
</groupId>
495 <artifactId>c3p0
</artifactId>
496 <version>0.9.5.2</version>
499 <!-- database related, should be moved to local/test when possible -->
500 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
502 <groupId>mysql
</groupId>
503 <artifactId>mysql-connector-java
</artifactId>
504 <version>8.0.29</version>
507 <groupId>com.h2database
</groupId>
508 <artifactId>h2
</artifactId>
509 <version>1.4.190</version>
512 <groupId>org.postgresql
</groupId>
513 <artifactId>postgresql
</artifactId>
514 <version>42.3.6</version>
517 <!-- Only added for correct package export, but reported as needed -->
519 <!-- dbcp and pool needed for H2Local and unitils,
520 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
522 <groupId>commons-dbcp
</groupId>
523 <artifactId>commons-dbcp
</artifactId>
524 <version>1.4</version>
527 <!-- For Hibernate Mapping Start -->
529 <groupId>jakarta.validation
</groupId>
530 <artifactId>jakarta.validation-api
</artifactId>
531 <version>3.0.2</version>
534 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
536 <groupId>commons-lang
</groupId>
537 <artifactId>commons-lang
</artifactId>
538 <version>2.6</version>
545 <groupId>org.apache.commons
</groupId>
546 <artifactId>commons-math3
</artifactId>
547 <version>3.6.1</version>
552 <groupId>org.slf4j
</groupId>
553 <artifactId>slf4j-api
</artifactId>
554 <version>1.7.36</version>
557 <!-- not necessarily required but probably wanted -->
558 <groupId>org.slf4j
</groupId>
559 <artifactId>slf4j-reload4j
</artifactId>
560 <version>1.7.36</version>
562 <!-- slf4j-nop is not needed -->
564 <!-- Only added for correct package export -->
566 <groupId>commons-collections
</groupId>
567 <artifactId>commons-collections
</artifactId>
568 <version>3.2.2</version>
571 <groupId>org.apache.commons
</groupId>
572 <artifactId>commons-imaging
</artifactId>
573 <version>1.0-alpha3
</version>
576 <groupId>net.sf.json-lib
</groupId>
577 <artifactId>json-lib
</artifactId>
578 <version>2.4</version>
579 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
580 <classifier>jdk15
</classifier>
583 <groupId>commons-logging
</groupId>
584 <artifactId>commons-logging
</artifactId>
585 <version>1.2</version>
588 <groupId>xerces
</groupId>
589 <artifactId>xercesImpl
</artifactId>
590 <version>2.12.2</version>
593 <groupId>org.hibernate.common
</groupId>
594 <artifactId>hibernate-commons-annotations
</artifactId>
595 <version>5.1.2.Final
</version>
598 <groupId>org.hibernate
</groupId>
599 <artifactId>hibernate-search-orm
</artifactId>
600 <version>5.11.10.Final
</version>
603 <groupId>org.hibernate
</groupId>
604 <artifactId>hibernate-search-engine
</artifactId>
605 <version>5.11.10.Final
</version>
609 <groupId>org.springframework
</groupId>
610 <artifactId>spring-context-support
</artifactId>
611 <version>${spring.version}
</version>
614 <groupId>org.springframework
</groupId>
615 <artifactId>spring-jdbc
</artifactId>
616 <version>${spring.version}
</version>
619 <groupId>org.springframework
</groupId>
620 <artifactId>spring-orm
</artifactId>
621 <version>${spring.version}
</version>
624 <groupId>org.springframework.security
</groupId>
625 <artifactId>spring-security-config
</artifactId>
626 <version>${spring-security.version}
</version>
629 <!-- preliminary removed
631 <groupId>org.jadira.usertype</groupId>
632 <artifactId>usertype.core</artifactId>
633 <version>7.0.0.CR1</version>
637 <!-- serialVersionUID problem if not present -->
638 <!-- not true, the reason was serialVersionUID of AbstractPersistentCollection
640 <groupId>org.springframework.security</groupId>
641 <artifactId>spring-security-remoting</artifactId>
642 <version>${spring-security.version}</version>