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.41.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 <hibernate-search.version
>5.11.10.Final
</hibernate-search.version
>
17 <lucene.version
>5.5.5</lucene.version
>
18 <spring.version
>4.3.30.RELEASE
</spring.version
> <!-- checked 2021-12, further upgrade possible -->
19 <spring-security.version
>4.2.20.RELEASE
</spring-security.version
> <!-- checked 2021-12, further upgrade possible -->
20 <aspectj.version
>1.9.7</aspectj.version
>
22 <name>CDM Library Dependencies Plugin
</name>
23 <description>CDM Library and dependencies as a plugin
</description>
28 <groupId>org.apache.maven.plugins
</groupId>
29 <artifactId>maven-surefire-plugin
</artifactId>
30 <version>3.0.0-M7
</version>
36 <groupId>org.apache.maven.plugins
</groupId>
37 <artifactId>maven-dependency-plugin
</artifactId>
38 <version>3.2.0</version>
41 <id>copy-dependencies
</id>
42 <phase>validate
</phase>
44 <goal>copy-dependencies
</goal>
51 cdmlib-commons,cdmlib-model,cdmlib-api,cdmlib-persistence,cdmlib-services,cdmlib-cache,cdmlib-ext,cdmlib-io
53 <outputDirectory>${basedir}/lib
</outputDirectory>
54 <overWriteReleases>true
</overWriteReleases>
55 <overWriteSnapshots>true
</overWriteSnapshots>
56 <excludeTransitive>true
</excludeTransitive>
60 <id>copy-dependency-jars
</id>
61 <phase>validate
</phase>
63 <goal>copy-dependencies
</goal>
67 httpclient,JavaAPIforKml,iiif-apis,commons-lang3,commons-lang,commons-text,
68 commons-codec,commons-io,
69 log4j-core,log4j-api,slf4j-api,jboss-logging,jcl-over-slf4j,log4j-slf4j-impl,
70 lucene-analyzers-common,lucene-core,lucene-queryparser,lucene-suggest,lucene-sandbox,
71 commons-imaging,jackson-databind,jackson-annotations,jackson-core,
72 jakarta.validation-api,validation-api,
75 spring-context,spring-aspects,spring-beans,
76 spring-tx,spring-web,spring-core,spring-aop,
77 spring-jdbc,spring-orm,
81 hibernate-core,hibernate-envers,hibernate-search-engine,
83 javax.persistence-api,
84 xml-apis,lsid-client,jdom,
85 commons-collections4,commons-math3,
86 c3p0,mchange-commons-java,
88 h2,mysql-connector-java,postgresql,
89 junit,hamcrest-core,commons-dbcp,commons-pool,
90 jboss-transaction-api_1.2_spec
95 <overWriteReleases>true
</overWriteReleases>
96 <overWriteSnapshots>true
</overWriteSnapshots>
97 <excludeTransitive>true
</excludeTransitive>
101 <id>copy-dependency-jars-transitive
</id>
102 <phase>validate
</phase>
104 <goal>copy-dependencies
</goal>
108 httpclient-cache,httpcore
109 </includeArtifactIds>
113 <overWriteReleases>true
</overWriteReleases>
114 <overWriteSnapshots>true
</overWriteSnapshots>
115 <excludeTransitive>false
</excludeTransitive>
121 <groupId>org.apache.maven.plugins
</groupId>
122 <artifactId>maven-antrun-plugin
</artifactId>
125 <id>update-snapshot-jar-names
</id>
126 <phase>validate
</phase>
132 <echo>Update cdmlib jars to SNAPSHOT when build with
136 <fileset dir=
"./lib" />
137 <mapper type=
"regexp"
138 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
142 <fileset dir=
"./lib" />
143 <mapper type=
"regexp"
144 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
151 <id>remove-existing-jars
</id>
158 <echo>Remove all cdmlib jars
</echo>
160 <fileset dir=
"./lib" includes=
"cdmlib-*" />
175 <groupId>org.apache.maven.plugins
</groupId>
176 <artifactId>maven-dependency-plugin
</artifactId>
177 <version>3.2.0</version>
180 <id>copy-all-dependencies
</id>
181 <phase>validate
</phase>
183 <goal>copy-dependencies
</goal>
188 </excludeArtifactIds>
189 <outputDirectory>${basedir}/lib
</outputDirectory>
190 <overWriteReleases>true
</overWriteReleases>
191 <overWriteSnapshots>true
</overWriteSnapshots>
192 <excludeTransitive>true
</excludeTransitive>
203 <!-- direct dependencies (used within this module) -->
205 <!-- used e.g. in CdmApplicationRemoteConfiguration -->
207 <!-- used e.g. by CdmServiceCacher -->
208 <groupId>eu.etaxonomy
</groupId>
209 <artifactId>cdmlib-cache
</artifactId>
210 <version>${cdmlib.version}
</version>
213 <!-- used e.g. by CdmApplicationState -->
214 <groupId>eu.etaxonomy
</groupId>
215 <artifactId>cdmlib-commons
</artifactId>
216 <version>${cdmlib.version}
</version>
219 <!-- used e.g. by CdmChangeEvent -->
220 <groupId>eu.etaxonomy
</groupId>
221 <artifactId>cdmlib-model
</artifactId>
222 <version>${cdmlib.version}
</version>
225 <groupId>eu.etaxonomy
</groupId>
226 <artifactId>cdmlib-io
</artifactId>
227 <version>${cdmlib.version}
</version>
230 <groupId>eu.etaxonomy
</groupId>
231 <artifactId>cdmlib-ext
</artifactId>
232 <version>${cdmlib.version}
</version>
235 <groupId>eu.etaxonomy
</groupId>
236 <artifactId>cdmlib-persistence
</artifactId>
237 <version>${cdmlib.version}
</version>
240 <groupId>eu.etaxonomy
</groupId>
241 <artifactId>cdmlib-services
</artifactId>
242 <version>${cdmlib.version}
</version>
245 <groupId>org.springframework
</groupId>
246 <!-- used e.g. by CachingHttpInvokerProxyFactoryBean -->
247 <artifactId>spring-aop
</artifactId>
248 <version>${spring.version}
</version>
251 <groupId>org.springframework
</groupId>
252 <artifactId>spring-beans
</artifactId>
253 <version>${spring.version}
</version>
256 <groupId>org.springframework
</groupId>
257 <artifactId>spring-context
</artifactId>
258 <version>${spring.version}
</version>
261 <groupId>org.springframework
</groupId>
262 <artifactId>spring-core
</artifactId>
263 <version>${spring.version}
</version>
266 <groupId>org.springframework
</groupId>
267 <artifactId>spring-tx
</artifactId>
268 <version>${spring.version}
</version>
271 <groupId>org.springframework
</groupId>
272 <artifactId>spring-web
</artifactId>
273 <version>${spring.version}
</version>
276 <groupId>org.springframework.security
</groupId>
277 <artifactId>spring-security-core
</artifactId>
278 <version>${spring-security.version}
</version>
281 <!-- used e.g. by CdmLazyLoader -->
282 <groupId>org.hibernate
</groupId>
283 <artifactId>hibernate-core
</artifactId>
284 <version>${hibernate.version}
</version>
287 <groupId>org.apache.commons
</groupId>
288 <artifactId>commons-lang3
</artifactId>
289 <version>3.12.0</version>
292 <!-- used e.g. by CdmServerUtils -->
293 <groupId>commons-io
</groupId>
294 <artifactId>commons-io
</artifactId>
295 <version>2.11.0</version>
298 <!-- used e.g. by CdmServerUtils -->
299 <groupId>org.apache.commons
</groupId>
300 <artifactId>commons-text
</artifactId>
301 <version>1.10.0</version>
304 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
305 <groupId>commons-codec
</groupId>
306 <artifactId>commons-codec
</artifactId>
307 <version>1.15</version>
310 <!-- CdmServiceCacher -->
311 <groupId>org.apache.logging.log4j
</groupId>
312 <artifactId>log4j-core
</artifactId>
313 <version>${log4j.version}
</version>
316 <!-- CdmServiceCacher -->
317 <groupId>org.apache.logging.log4j
</groupId>
318 <artifactId>log4j-api
</artifactId>
319 <version>${log4j.version}
</version>
322 <groupId>org.aspectj
</groupId>
323 <!-- used e.g. by CdmLazyLoader -->
324 <artifactId>aspectjweaver
</artifactId>
325 <version>${aspectj.version}
</version>
328 <groupId>org.apache.httpcomponents
</groupId>
329 <artifactId>httpclient
</artifactId>
330 <!-- version defined in parent pom -->
333 <!-- used e.g. by CdmServerInfo -->
334 <groupId>org.apache.httpcomponents
</groupId>
335 <artifactId>httpcore
</artifactId>
336 <version>4.4.15</version>
340 <groupId>org.json</groupId>
341 <artifactId>json</artifactId>
342 <version>20220320</version>
345 <!-- used e.g. by CdmServerInfo -->
346 <groupId>com.fasterxml.jackson.core
</groupId>
347 <artifactId>jackson-core
</artifactId>
348 <version>${jackson.version}
</version>
351 <!-- used e.g. by CdmServerInfo -->
352 <groupId>com.fasterxml.jackson.core
</groupId>
353 <artifactId>jackson-databind
</artifactId>
354 <version>${jackson.version}
</version>
357 <!-- used e.g. by ICdmEntitySession -->
358 <groupId>net.sf.ehcache
</groupId>
359 <artifactId>ehcache
</artifactId>
360 <version>2.10.6</version>
363 <!-- used e.g. by CdmPersistentRemoteSource -->
364 <groupId>org.jdom
</groupId>
365 <artifactId>jdom
</artifactId>
366 <version>1.1.3</version>
369 <!-- indirectly used with compile error -->
371 <!-- indirectly used e.g. by AbstractPersistentCollection -->
372 <groupId>javax.persistence
</groupId>
373 <artifactId>javax.persistence-api
</artifactId>
374 <version>2.2</version>
377 <!-- indirectly used e.g. by AbstractPersistentCollection -->
378 <groupId>org.jboss.logging
</groupId>
379 <artifactId>jboss-logging
</artifactId>
380 <version>3.4.3.Final
</version>
383 <!-- indirectly used, by other taxeditor modules -->
384 <!-- ... by taxeditor.local -->
386 <groupId>eu.etaxonomy
</groupId>
387 <artifactId>cdmlib-api
</artifactId>
388 <version>${cdmlib.version}
</version>
391 <!-- ... by taxeditor.store -->
393 <groupId>joda-time
</groupId>
394 <artifactId>joda-time
</artifactId>
395 <version>2.10.14</version>
398 <groupId>net.sf.opencsv
</groupId>
399 <artifactId>opencsv
</artifactId>
400 <version>2.3</version>
403 <groupId>org.springframework
</groupId>
404 <artifactId>spring-aspects
</artifactId>
405 <version>${spring.version}
</version>
408 <groupId>com.ibm.lsid
</groupId>
409 <artifactId>lsid-client
</artifactId>
410 <version>1.1.2</version>
413 <groupId>org.apache.commons
</groupId>
414 <artifactId>commons-imaging
</artifactId>
415 <version>1.0-alpha3
</version>
418 <!-- used by taxeditor.editor -> character matrix -->
420 <groupId>org.apache.commons
</groupId>
421 <artifactId>commons-math3
</artifactId>
422 <version>3.6.1</version>
425 <!-- used by bulkeditor -->
427 <!-- used by CharacterMatrix/bulkeditor (LinkedList) and UpdateResult.exceptions (CircularFifoQueue) -->
428 <groupId>org.apache.commons
</groupId>
429 <artifactId>commons-collections4
</artifactId>
430 <version>4.4</version>
432 <!-- used by taxeditor.local -->
434 <!-- used by datasource dialogue finish button -->
435 <groupId>com.mchange
</groupId>
436 <artifactId>mchange-commons-java
</artifactId>
437 <version>0.2.11</version>
440 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
442 <!-- used by hibernate -->
443 <groupId>net.bytebuddy
</groupId>
444 <artifactId>byte-buddy
</artifactId>
445 <version>1.12.10</version>
448 <!-- dependency of xerces -->
449 <groupId>xml-apis
</groupId>
450 <artifactId>xml-apis
</artifactId>
451 <version>1.4.01</version>
453 <!-- needed only for H2Local and unitils, move maybe to test + local together with c3p0 -->
455 <groupId>commons-pool
</groupId>
456 <artifactId>commons-pool
</artifactId>
457 <version>1.6</version>
460 <!-- For Unit Tests Start -->
461 <!-- keep junit and its dependency hamcrest here as long as each plugin
462 has its own unit tests and junit is not yet added there in a way
463 that it does not appear in production bundles -->
465 <groupId>junit
</groupId>
466 <artifactId>junit
</artifactId>
467 <version>4.13.2</version>
471 <groupId>org.hamcrest
</groupId>
472 <artifactId>hamcrest-core
</artifactId>
473 <version>1.3</version>
474 <!-- <scope>test</scope> -->
477 <!-- END for Unit Tests -->
479 <!-- required during RUNTIME -->
482 <!-- for handling HibernateSystemException, see #10277, TODO try to handle without adding dependency -->
483 <groupId>org.springframework
</groupId>
484 <artifactId>spring-orm
</artifactId>
485 <version>${spring.version}
</version>
488 <!-- for handling BridgeException, see #10277, TODO try to handle without adding dependency -->
489 <groupId>org.hibernate
</groupId>
490 <artifactId>hibernate-search-engine
</artifactId>
491 <version>${hibernate-search.version}
</version>
494 <!-- throws exception in bulk editor after search if not present -->
495 <groupId>org.hibernate
</groupId>
496 <artifactId>hibernate-envers
</artifactId>
497 <version>${hibernate.version}
</version>
500 <!-- throws exception in bulk editor after search during deserialization if not present -->
501 <groupId>org.apache.lucene
</groupId>
502 <artifactId>lucene-core
</artifactId>
503 <version>${lucene.version}
</version>
506 <!-- e.g. when opening character matrix
507 probably only used by hibernate-core, so remove when removing hibernate-core -->
508 <groupId>antlr
</groupId>
509 <artifactId>antlr
</artifactId>
510 <version>2.7.7</version>
513 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
514 <groupId>com.fasterxml.jackson.core
</groupId>
515 <artifactId>jackson-annotations
</artifactId>
516 <version>${jackson.version}
</version>
519 <!-- for any transactions, e.g. when first time logging in -->
520 <groupId>org.jboss.spec.javax.transaction
</groupId>
521 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
522 <version>1.1.1.Final
</version>
526 <!-- for showing maps in distribution details view -->
527 <groupId>de.micromata.jak
</groupId>
528 <!-- Java11 required <groupId>uk.m0nom</groupId> -->
529 <artifactId>JavaAPIforKml
</artifactId>
530 <version>2.2.1</version>
534 <!-- used if a validation result is returned, see https://dev.e-taxonomy.eu/redmine/issues/10182#note-10 -->
535 <!-- can probably be removed after switching to jakarta.validation-api with spring 6.x -->
536 <groupId>javax.validation
</groupId>
537 <artifactId>validation-api
</artifactId>
538 <version>2.0.1.Final
</version>
542 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
543 <groupId>com.mchange
</groupId>
544 <artifactId>c3p0
</artifactId>
545 <version>0.9.5.2</version>
548 <!-- database related, should be moved to local/test when possible -->
549 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.local -->
551 <groupId>mysql
</groupId>
552 <artifactId>mysql-connector-java
</artifactId>
553 <version>8.0.29</version>
556 <groupId>com.h2database
</groupId>
557 <artifactId>h2
</artifactId>
558 <version>1.4.190</version>
561 <groupId>org.postgresql
</groupId>
562 <artifactId>postgresql
</artifactId>
563 <version>42.5.1</version>
566 <!-- Only added for correct package export, but reported as needed -->
568 <!-- dbcp and pool needed for H2Local and unitils,
569 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
571 <groupId>commons-dbcp
</groupId>
572 <artifactId>commons-dbcp
</artifactId>
573 <version>1.4</version>
576 <!-- For Hibernate Mapping Start -->
578 <groupId>jakarta.validation
</groupId>
579 <artifactId>jakarta.validation-api
</artifactId>
580 <version>3.0.2</version>
583 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
585 <groupId>commons-lang
</groupId>
586 <artifactId>commons-lang
</artifactId>
587 <version>2.6</version>
590 <!-- required when running test -->
591 <groupId>org.springframework
</groupId>
592 <artifactId>spring-jdbc
</artifactId>
593 <version>${spring.version}
</version>
598 <groupId>org.slf4j
</groupId>
599 <artifactId>slf4j-api
</artifactId>
600 <version>1.7.36</version>
603 <groupId>org.apache.logging.log4j
</groupId>
604 <artifactId>log4j-slf4j-impl
</artifactId>
605 <version>${log4j.version}
</version>
608 <groupId>org.slf4j
</groupId>
609 <artifactId>jcl-over-slf4j
</artifactId>
610 <version>1.7.36</version>
614 <!-- https://stackoverflow.com/questions/38727655/maven-dependency-plugin-nosuchelementexception-for-aether-repositorysystem -->
615 <groupId>org.apache.maven.resolver
</groupId>
616 <artifactId>maven-resolver-api
</artifactId>
617 <version>1.4.1</version>