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.34.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,
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,
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-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.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>${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 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 <groupId>org.apache.commons
</groupId>
412 <artifactId>commons-imaging
</artifactId>
413 <version>1.0-alpha3
</version>
416 <!-- used by taxeditor.editor -> character matrix -->
418 <groupId>org.apache.commons
</groupId>
419 <artifactId>commons-math3
</artifactId>
420 <version>3.6.1</version>
423 <!-- used by bulkeditor -->
425 <!-- used by CharacterMatrix/bulkeditor (LinkedList) -->
426 <groupId>org.apache.commons
</groupId>
427 <artifactId>commons-collections4
</artifactId>
428 <version>4.4</version>
431 <!-- used by taxeditor.local -->
433 <!-- used by datasource dialogue finish button -->
434 <groupId>com.mchange
</groupId>
435 <artifactId>mchange-commons-java
</artifactId>
436 <version>0.2.11</version>
439 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
441 <!-- used by hibernate -->
442 <groupId>net.bytebuddy
</groupId>
443 <artifactId>byte-buddy
</artifactId>
444 <version>1.12.10</version>
447 <!-- dependency of xerces -->
448 <groupId>xml-apis
</groupId>
449 <artifactId>xml-apis
</artifactId>
450 <version>1.4.01</version>
452 <!-- needed only for H2Local and unitils, move maybe to test + local together with c3p0 -->
454 <groupId>commons-pool
</groupId>
455 <artifactId>commons-pool
</artifactId>
456 <version>1.6</version>
459 <!-- For Unit Tests Start -->
460 <!-- keep junit and its dependency hamcrest here as long as each plugin
461 has its own unit tests and junit is not yet added there in a way
462 that it does not appear in production bundles -->
464 <groupId>junit
</groupId>
465 <artifactId>junit
</artifactId>
466 <version>4.13.2</version>
470 <groupId>org.hamcrest
</groupId>
471 <artifactId>hamcrest-core
</artifactId>
472 <version>1.3</version>
473 <!-- <scope>test</scope> -->
476 <!-- END for Unit Tests -->
478 <!-- required during RUNTIME -->
481 <!-- throws exception in bulk editor after search if not present -->
482 <groupId>org.hibernate
</groupId>
483 <artifactId>hibernate-envers
</artifactId>
484 <version>${hibernate.version}
</version>
487 <!-- throws exception in bulk editor after search during deserialization if not present -->
488 <groupId>org.apache.lucene
</groupId>
489 <artifactId>lucene-core
</artifactId>
490 <version>${lucene.version}
</version>
493 <!-- e.g. when opening character matrix
494 probably only used by hibernate-core, so remove when removing hibernate-core -->
495 <groupId>antlr
</groupId>
496 <artifactId>antlr
</artifactId>
497 <version>2.7.7</version>
500 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
501 <groupId>com.fasterxml.jackson.core
</groupId>
502 <artifactId>jackson-annotations
</artifactId>
503 <version>${jackson.version}
</version>
506 <!-- for any transactions, e.g. when first time logging in -->
507 <groupId>org.jboss.spec.javax.transaction
</groupId>
508 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
509 <version>1.1.1.Final
</version>
513 <!-- for showing maps in distribution details view -->
514 <groupId>de.micromata.jak
</groupId>
515 <!-- Java11 required <groupId>uk.m0nom</groupId> -->
516 <artifactId>JavaAPIforKml
</artifactId>
517 <version>2.2.1</version>
521 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
522 <groupId>com.mchange
</groupId>
523 <artifactId>c3p0
</artifactId>
524 <version>0.9.5.2</version>
527 <!-- database related, should be moved to local/test when possible -->
528 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
530 <groupId>mysql
</groupId>
531 <artifactId>mysql-connector-java
</artifactId>
532 <version>8.0.29</version>
535 <groupId>com.h2database
</groupId>
536 <artifactId>h2
</artifactId>
537 <version>1.4.190</version>
540 <groupId>org.postgresql
</groupId>
541 <artifactId>postgresql
</artifactId>
542 <version>42.3.6</version>
545 <!-- Only added for correct package export, but reported as needed -->
547 <!-- dbcp and pool needed for H2Local and unitils,
548 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
550 <groupId>commons-dbcp
</groupId>
551 <artifactId>commons-dbcp
</artifactId>
552 <version>1.4</version>
555 <!-- For Hibernate Mapping Start -->
557 <groupId>jakarta.validation
</groupId>
558 <artifactId>jakarta.validation-api
</artifactId>
559 <version>3.0.2</version>
562 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
564 <groupId>commons-lang
</groupId>
565 <artifactId>commons-lang
</artifactId>
566 <version>2.6</version>
569 <!-- required when running test -->
570 <groupId>org.springframework
</groupId>
571 <artifactId>spring-jdbc
</artifactId>
572 <version>${spring.version}
</version>
577 <groupId>org.slf4j
</groupId>
578 <artifactId>slf4j-api
</artifactId>
579 <version>1.7.36</version>
582 <groupId>org.apache.logging.log4j
</groupId>
583 <artifactId>log4j-slf4j-impl
</artifactId>
584 <version>${log4j.version}
</version>
587 <groupId>org.slf4j
</groupId>
588 <artifactId>jcl-over-slf4j
</artifactId>
589 <version>1.7.36</version>
593 <!-- https://stackoverflow.com/questions/38727655/maven-dependency-plugin-nosuchelementexception-for-aether-repositorysystem -->
594 <groupId>org.apache.maven.resolver
</groupId>
595 <artifactId>maven-resolver-api
</artifactId>
596 <version>1.4.1</version>