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.36.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-io,commons-beanutils,
68 json,json-lib,ezmorph,
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-security-core,
80 hibernate-core,hibernate-envers,antlr,
81 javax.persistence-api,
82 xml-apis,lsid-client,jdom,
83 commons-collections4,commons-collections,commons-math3,
84 c3p0,mchange-commons-java,
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
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.10.0</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>${log4j.version}
</version>
314 <!-- CdmServiceCacher -->
315 <groupId>org.apache.logging.log4j
</groupId>
316 <artifactId>log4j-api
</artifactId>
317 <version>${log4j.version}
</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 for GBIF specimen import -->
344 <groupId>net.sf.json-lib
</groupId>
345 <artifactId>json-lib
</artifactId>
346 <version>2.4</version>
347 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
348 <classifier>jdk15
</classifier>
351 <!-- used for GBIF specimen import -->
352 <groupId>net.sf.ezmorph
</groupId>
353 <artifactId>ezmorph
</artifactId>
354 <version>1.0.6</version>
357 <!-- used e.g. by CdmServerInfo -->
358 <groupId>com.fasterxml.jackson.core
</groupId>
359 <artifactId>jackson-core
</artifactId>
360 <version>${jackson.version}
</version>
363 <!-- used e.g. by CdmServerInfo -->
364 <groupId>com.fasterxml.jackson.core
</groupId>
365 <artifactId>jackson-databind
</artifactId>
366 <version>${jackson.version}
</version>
369 <!-- used e.g. by ICdmEntitySession -->
370 <groupId>net.sf.ehcache
</groupId>
371 <artifactId>ehcache
</artifactId>
372 <version>2.10.6</version>
375 <!-- used e.g. by CdmPersistentRemoteSource -->
376 <groupId>org.jdom
</groupId>
377 <artifactId>jdom
</artifactId>
378 <version>1.1.3</version>
381 <!-- indirectly used with compile error -->
383 <!-- indirectly used e.g. by AbstractPersistentCollection -->
384 <groupId>javax.persistence
</groupId>
385 <artifactId>javax.persistence-api
</artifactId>
386 <version>2.2</version>
389 <!-- indirectly used e.g. by AbstractPersistentCollection -->
390 <groupId>org.jboss.logging
</groupId>
391 <artifactId>jboss-logging
</artifactId>
392 <version>3.4.3.Final
</version>
395 <!-- indirectly used, by other taxeditor modules -->
396 <!-- ... by taxeditor.local -->
398 <groupId>eu.etaxonomy
</groupId>
399 <artifactId>cdmlib-api
</artifactId>
400 <version>${cdmlib.version}
</version>
403 <!-- ... by taxeditor.store -->
405 <groupId>joda-time
</groupId>
406 <artifactId>joda-time
</artifactId>
407 <version>2.10.14</version>
410 <groupId>net.sf.opencsv
</groupId>
411 <artifactId>opencsv
</artifactId>
412 <version>2.3</version>
415 <groupId>org.springframework
</groupId>
416 <artifactId>spring-aspects
</artifactId>
417 <version>${spring.version}
</version>
420 <groupId>com.ibm.lsid
</groupId>
421 <artifactId>lsid-client
</artifactId>
422 <version>1.1.2</version>
425 <groupId>org.apache.commons
</groupId>
426 <artifactId>commons-imaging
</artifactId>
427 <version>1.0-alpha3
</version>
430 <!-- used by taxeditor.editor -> character matrix -->
432 <groupId>org.apache.commons
</groupId>
433 <artifactId>commons-math3
</artifactId>
434 <version>3.6.1</version>
437 <!-- used by bulkeditor -->
439 <!-- used by CharacterMatrix/bulkeditor (LinkedList) and UpdateResult.exceptions (CircularFifoQueue) -->
440 <groupId>org.apache.commons
</groupId>
441 <artifactId>commons-collections4
</artifactId>
442 <version>4.4</version>
445 <!-- used by gbif import -->
446 <groupId>commons-collections
</groupId>
447 <artifactId>commons-collections
</artifactId>
448 <version>3.2.2</version>
452 <!-- used by gbif import -->
453 <groupId>commons-beanutils
</groupId>
454 <artifactId>commons-beanutils
</artifactId>
455 <version>1.9.4</version>
458 <!-- used by taxeditor.local -->
460 <!-- used by datasource dialogue finish button -->
461 <groupId>com.mchange
</groupId>
462 <artifactId>mchange-commons-java
</artifactId>
463 <version>0.2.11</version>
466 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
468 <!-- used by hibernate -->
469 <groupId>net.bytebuddy
</groupId>
470 <artifactId>byte-buddy
</artifactId>
471 <version>1.12.10</version>
474 <!-- dependency of xerces -->
475 <groupId>xml-apis
</groupId>
476 <artifactId>xml-apis
</artifactId>
477 <version>1.4.01</version>
479 <!-- needed only for H2Local and unitils, move maybe to test + local together with c3p0 -->
481 <groupId>commons-pool
</groupId>
482 <artifactId>commons-pool
</artifactId>
483 <version>1.6</version>
486 <!-- For Unit Tests Start -->
487 <!-- keep junit and its dependency hamcrest here as long as each plugin
488 has its own unit tests and junit is not yet added there in a way
489 that it does not appear in production bundles -->
491 <groupId>junit
</groupId>
492 <artifactId>junit
</artifactId>
493 <version>4.13.2</version>
497 <groupId>org.hamcrest
</groupId>
498 <artifactId>hamcrest-core
</artifactId>
499 <version>1.3</version>
500 <!-- <scope>test</scope> -->
503 <!-- END for Unit Tests -->
505 <!-- required during RUNTIME -->
508 <!-- throws exception in bulk editor after search if not present -->
509 <groupId>org.hibernate
</groupId>
510 <artifactId>hibernate-envers
</artifactId>
511 <version>${hibernate.version}
</version>
514 <!-- throws exception in bulk editor after search during deserialization if not present -->
515 <groupId>org.apache.lucene
</groupId>
516 <artifactId>lucene-core
</artifactId>
517 <version>${lucene.version}
</version>
520 <!-- e.g. when opening character matrix
521 probably only used by hibernate-core, so remove when removing hibernate-core -->
522 <groupId>antlr
</groupId>
523 <artifactId>antlr
</artifactId>
524 <version>2.7.7</version>
527 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
528 <groupId>com.fasterxml.jackson.core
</groupId>
529 <artifactId>jackson-annotations
</artifactId>
530 <version>${jackson.version}
</version>
533 <!-- for any transactions, e.g. when first time logging in -->
534 <groupId>org.jboss.spec.javax.transaction
</groupId>
535 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
536 <version>1.1.1.Final
</version>
540 <!-- for showing maps in distribution details view -->
541 <groupId>de.micromata.jak
</groupId>
542 <!-- Java11 required <groupId>uk.m0nom</groupId> -->
543 <artifactId>JavaAPIforKml
</artifactId>
544 <version>2.2.1</version>
548 <!-- used if a validation result is returned, see https://dev.e-taxonomy.eu/redmine/issues/10182#note-10 -->
549 <!-- can probably be removed after switching to jakarta.validation-api with spring 6.x -->
550 <groupId>javax.validation
</groupId>
551 <artifactId>validation-api
</artifactId>
552 <version>2.0.1.Final
</version>
556 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
557 <groupId>com.mchange
</groupId>
558 <artifactId>c3p0
</artifactId>
559 <version>0.9.5.2</version>
562 <!-- database related, should be moved to local/test when possible -->
563 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.local -->
565 <groupId>mysql
</groupId>
566 <artifactId>mysql-connector-java
</artifactId>
567 <version>8.0.29</version>
570 <groupId>com.h2database
</groupId>
571 <artifactId>h2
</artifactId>
572 <version>1.4.190</version>
575 <groupId>org.postgresql
</groupId>
576 <artifactId>postgresql
</artifactId>
577 <version>42.3.6</version>
580 <!-- Only added for correct package export, but reported as needed -->
582 <!-- dbcp and pool needed for H2Local and unitils,
583 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
585 <groupId>commons-dbcp
</groupId>
586 <artifactId>commons-dbcp
</artifactId>
587 <version>1.4</version>
590 <!-- For Hibernate Mapping Start -->
592 <groupId>jakarta.validation
</groupId>
593 <artifactId>jakarta.validation-api
</artifactId>
594 <version>3.0.2</version>
597 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
599 <groupId>commons-lang
</groupId>
600 <artifactId>commons-lang
</artifactId>
601 <version>2.6</version>
604 <!-- required when running test -->
605 <groupId>org.springframework
</groupId>
606 <artifactId>spring-jdbc
</artifactId>
607 <version>${spring.version}
</version>
612 <groupId>org.slf4j
</groupId>
613 <artifactId>slf4j-api
</artifactId>
614 <version>1.7.36</version>
617 <groupId>org.apache.logging.log4j
</groupId>
618 <artifactId>log4j-slf4j-impl
</artifactId>
619 <version>${log4j.version}
</version>
622 <groupId>org.slf4j
</groupId>
623 <artifactId>jcl-over-slf4j
</artifactId>
624 <version>1.7.36</version>
628 <!-- https://stackoverflow.com/questions/38727655/maven-dependency-plugin-nosuchelementexception-for-aether-repositorysystem -->
629 <groupId>org.apache.maven.resolver
</groupId>
630 <artifactId>maven-resolver-api
</artifactId>
631 <version>1.4.1</version>