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.37.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,
70 log4j-core,log4j-api,slf4j-api,jboss-logging,jcl-over-slf4j,log4j-slf4j-impl,
71 lucene-analyzers-common,lucene-core,lucene-queryparser,lucene-suggest,lucene-sandbox,
72 commons-imaging,jackson-databind,jackson-annotations,jackson-core,
73 jakarta.validation-api,validation-api,
76 spring-context,spring-aspects,spring-beans,
77 spring-tx,spring-web,spring-core,spring-aop,
78 spring-jdbc,spring-orm,
82 hibernate-core,hibernate-envers,hibernate-search-engine,
84 javax.persistence-api,
85 xml-apis,lsid-client,jdom,
86 commons-collections4,commons-math3,
87 c3p0,mchange-commons-java,
89 h2,mysql-connector-java,postgresql,
90 junit,hamcrest-core,commons-dbcp,commons-pool,
91 jboss-transaction-api_1.2_spec
96 <overWriteReleases>true
</overWriteReleases>
97 <overWriteSnapshots>true
</overWriteSnapshots>
98 <excludeTransitive>true
</excludeTransitive>
102 <id>copy-dependency-jars-transitive
</id>
103 <phase>validate
</phase>
105 <goal>copy-dependencies
</goal>
109 httpclient-cache,httpcore
110 </includeArtifactIds>
114 <overWriteReleases>true
</overWriteReleases>
115 <overWriteSnapshots>true
</overWriteSnapshots>
116 <excludeTransitive>false
</excludeTransitive>
122 <groupId>org.apache.maven.plugins
</groupId>
123 <artifactId>maven-antrun-plugin
</artifactId>
126 <id>update-snapshot-jar-names
</id>
127 <phase>validate
</phase>
133 <echo>Update cdmlib jars to SNAPSHOT when build with
137 <fileset dir=
"./lib" />
138 <mapper type=
"regexp"
139 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
143 <fileset dir=
"./lib" />
144 <mapper type=
"regexp"
145 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
152 <id>remove-existing-jars
</id>
159 <echo>Remove all cdmlib jars
</echo>
161 <fileset dir=
"./lib" includes=
"cdmlib-*" />
176 <groupId>org.apache.maven.plugins
</groupId>
177 <artifactId>maven-dependency-plugin
</artifactId>
178 <version>3.2.0</version>
181 <id>copy-all-dependencies
</id>
182 <phase>validate
</phase>
184 <goal>copy-dependencies
</goal>
189 </excludeArtifactIds>
190 <outputDirectory>${basedir}/lib
</outputDirectory>
191 <overWriteReleases>true
</overWriteReleases>
192 <overWriteSnapshots>true
</overWriteSnapshots>
193 <excludeTransitive>true
</excludeTransitive>
204 <!-- direct dependencies (used within this module) -->
206 <!-- used e.g. in CdmApplicationRemoteConfiguration -->
208 <!-- used e.g. by CdmServiceCacher -->
209 <groupId>eu.etaxonomy
</groupId>
210 <artifactId>cdmlib-cache
</artifactId>
211 <version>${cdmlib.version}
</version>
214 <!-- used e.g. by CdmApplicationState -->
215 <groupId>eu.etaxonomy
</groupId>
216 <artifactId>cdmlib-commons
</artifactId>
217 <version>${cdmlib.version}
</version>
220 <!-- used e.g. by CdmChangeEvent -->
221 <groupId>eu.etaxonomy
</groupId>
222 <artifactId>cdmlib-model
</artifactId>
223 <version>${cdmlib.version}
</version>
226 <groupId>eu.etaxonomy
</groupId>
227 <artifactId>cdmlib-io
</artifactId>
228 <version>${cdmlib.version}
</version>
231 <groupId>eu.etaxonomy
</groupId>
232 <artifactId>cdmlib-ext
</artifactId>
233 <version>${cdmlib.version}
</version>
236 <groupId>eu.etaxonomy
</groupId>
237 <artifactId>cdmlib-persistence
</artifactId>
238 <version>${cdmlib.version}
</version>
241 <groupId>eu.etaxonomy
</groupId>
242 <artifactId>cdmlib-services
</artifactId>
243 <version>${cdmlib.version}
</version>
246 <groupId>org.springframework
</groupId>
247 <!-- used e.g. by CachingHttpInvokerProxyFactoryBean -->
248 <artifactId>spring-aop
</artifactId>
249 <version>${spring.version}
</version>
252 <groupId>org.springframework
</groupId>
253 <artifactId>spring-beans
</artifactId>
254 <version>${spring.version}
</version>
257 <groupId>org.springframework
</groupId>
258 <artifactId>spring-context
</artifactId>
259 <version>${spring.version}
</version>
262 <groupId>org.springframework
</groupId>
263 <artifactId>spring-core
</artifactId>
264 <version>${spring.version}
</version>
267 <groupId>org.springframework
</groupId>
268 <artifactId>spring-tx
</artifactId>
269 <version>${spring.version}
</version>
272 <groupId>org.springframework
</groupId>
273 <artifactId>spring-web
</artifactId>
274 <version>${spring.version}
</version>
277 <groupId>org.springframework.security
</groupId>
278 <artifactId>spring-security-core
</artifactId>
279 <version>${spring-security.version}
</version>
282 <!-- used e.g. by CdmLazyLoader -->
283 <groupId>org.hibernate
</groupId>
284 <artifactId>hibernate-core
</artifactId>
285 <version>${hibernate.version}
</version>
288 <groupId>org.apache.commons
</groupId>
289 <artifactId>commons-lang3
</artifactId>
290 <version>3.12.0</version>
293 <!-- used e.g. by CdmServerUtils -->
294 <groupId>commons-io
</groupId>
295 <artifactId>commons-io
</artifactId>
296 <version>2.11.0</version>
299 <!-- used e.g. by CdmServerUtils -->
300 <groupId>org.apache.commons
</groupId>
301 <artifactId>commons-text
</artifactId>
302 <version>1.10.0</version>
305 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
306 <groupId>commons-codec
</groupId>
307 <artifactId>commons-codec
</artifactId>
308 <version>1.15</version>
311 <!-- CdmServiceCacher -->
312 <groupId>org.apache.logging.log4j
</groupId>
313 <artifactId>log4j-core
</artifactId>
314 <version>${log4j.version}
</version>
317 <!-- CdmServiceCacher -->
318 <groupId>org.apache.logging.log4j
</groupId>
319 <artifactId>log4j-api
</artifactId>
320 <version>${log4j.version}
</version>
323 <groupId>org.aspectj
</groupId>
324 <!-- used e.g. by CdmLazyLoader -->
325 <artifactId>aspectjweaver
</artifactId>
326 <version>${aspectj.version}
</version>
329 <groupId>org.apache.httpcomponents
</groupId>
330 <artifactId>httpclient
</artifactId>
331 <!-- version defined in parent pom -->
334 <!-- used e.g. by CdmServerInfo -->
335 <groupId>org.apache.httpcomponents
</groupId>
336 <artifactId>httpcore
</artifactId>
337 <version>4.4.15</version>
340 <!-- used e.g. by CdmServerInfo -->
341 <groupId>org.json
</groupId>
342 <artifactId>json
</artifactId>
343 <version>20220320</version>
346 <!-- used e.g. by CdmServerInfo -->
347 <groupId>com.fasterxml.jackson.core
</groupId>
348 <artifactId>jackson-core
</artifactId>
349 <version>${jackson.version}
</version>
352 <!-- used e.g. by CdmServerInfo -->
353 <groupId>com.fasterxml.jackson.core
</groupId>
354 <artifactId>jackson-databind
</artifactId>
355 <version>${jackson.version}
</version>
358 <!-- used e.g. by ICdmEntitySession -->
359 <groupId>net.sf.ehcache
</groupId>
360 <artifactId>ehcache
</artifactId>
361 <version>2.10.6</version>
364 <!-- used e.g. by CdmPersistentRemoteSource -->
365 <groupId>org.jdom
</groupId>
366 <artifactId>jdom
</artifactId>
367 <version>1.1.3</version>
370 <!-- indirectly used with compile error -->
372 <!-- indirectly used e.g. by AbstractPersistentCollection -->
373 <groupId>javax.persistence
</groupId>
374 <artifactId>javax.persistence-api
</artifactId>
375 <version>2.2</version>
378 <!-- indirectly used e.g. by AbstractPersistentCollection -->
379 <groupId>org.jboss.logging
</groupId>
380 <artifactId>jboss-logging
</artifactId>
381 <version>3.4.3.Final
</version>
384 <!-- indirectly used, by other taxeditor modules -->
385 <!-- ... by taxeditor.local -->
387 <groupId>eu.etaxonomy
</groupId>
388 <artifactId>cdmlib-api
</artifactId>
389 <version>${cdmlib.version}
</version>
392 <!-- ... by taxeditor.store -->
394 <groupId>joda-time
</groupId>
395 <artifactId>joda-time
</artifactId>
396 <version>2.10.14</version>
399 <groupId>net.sf.opencsv
</groupId>
400 <artifactId>opencsv
</artifactId>
401 <version>2.3</version>
404 <groupId>org.springframework
</groupId>
405 <artifactId>spring-aspects
</artifactId>
406 <version>${spring.version}
</version>
409 <groupId>com.ibm.lsid
</groupId>
410 <artifactId>lsid-client
</artifactId>
411 <version>1.1.2</version>
414 <groupId>org.apache.commons
</groupId>
415 <artifactId>commons-imaging
</artifactId>
416 <version>1.0-alpha3
</version>
419 <!-- used by taxeditor.editor -> character matrix -->
421 <groupId>org.apache.commons
</groupId>
422 <artifactId>commons-math3
</artifactId>
423 <version>3.6.1</version>
426 <!-- used by bulkeditor -->
428 <!-- used by CharacterMatrix/bulkeditor (LinkedList) and UpdateResult.exceptions (CircularFifoQueue) -->
429 <groupId>org.apache.commons
</groupId>
430 <artifactId>commons-collections4
</artifactId>
431 <version>4.4</version>
433 <!-- used by taxeditor.local -->
435 <!-- used by datasource dialogue finish button -->
436 <groupId>com.mchange
</groupId>
437 <artifactId>mchange-commons-java
</artifactId>
438 <version>0.2.11</version>
441 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
443 <!-- used by hibernate -->
444 <groupId>net.bytebuddy
</groupId>
445 <artifactId>byte-buddy
</artifactId>
446 <version>1.12.10</version>
449 <!-- dependency of xerces -->
450 <groupId>xml-apis
</groupId>
451 <artifactId>xml-apis
</artifactId>
452 <version>1.4.01</version>
454 <!-- needed only for H2Local and unitils, move maybe to test + local together with c3p0 -->
456 <groupId>commons-pool
</groupId>
457 <artifactId>commons-pool
</artifactId>
458 <version>1.6</version>
461 <!-- For Unit Tests Start -->
462 <!-- keep junit and its dependency hamcrest here as long as each plugin
463 has its own unit tests and junit is not yet added there in a way
464 that it does not appear in production bundles -->
466 <groupId>junit
</groupId>
467 <artifactId>junit
</artifactId>
468 <version>4.13.2</version>
472 <groupId>org.hamcrest
</groupId>
473 <artifactId>hamcrest-core
</artifactId>
474 <version>1.3</version>
475 <!-- <scope>test</scope> -->
478 <!-- END for Unit Tests -->
480 <!-- required during RUNTIME -->
483 <!-- for handling HibernateSystemException, see #10277, TODO try to handle without adding dependency -->
484 <groupId>org.springframework
</groupId>
485 <artifactId>spring-orm
</artifactId>
486 <version>${spring.version}
</version>
489 <!-- for handling BridgeException, see #10277, TODO try to handle without adding dependency -->
490 <groupId>org.hibernate
</groupId>
491 <artifactId>hibernate-search-engine
</artifactId>
492 <version>${hibernate-search.version}
</version>
495 <!-- throws exception in bulk editor after search if not present -->
496 <groupId>org.hibernate
</groupId>
497 <artifactId>hibernate-envers
</artifactId>
498 <version>${hibernate.version}
</version>
501 <!-- throws exception in bulk editor after search during deserialization if not present -->
502 <groupId>org.apache.lucene
</groupId>
503 <artifactId>lucene-core
</artifactId>
504 <version>${lucene.version}
</version>
507 <!-- e.g. when opening character matrix
508 probably only used by hibernate-core, so remove when removing hibernate-core -->
509 <groupId>antlr
</groupId>
510 <artifactId>antlr
</artifactId>
511 <version>2.7.7</version>
514 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
515 <groupId>com.fasterxml.jackson.core
</groupId>
516 <artifactId>jackson-annotations
</artifactId>
517 <version>${jackson.version}
</version>
520 <!-- for any transactions, e.g. when first time logging in -->
521 <groupId>org.jboss.spec.javax.transaction
</groupId>
522 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
523 <version>1.1.1.Final
</version>
527 <!-- for showing maps in distribution details view -->
528 <groupId>de.micromata.jak
</groupId>
529 <!-- Java11 required <groupId>uk.m0nom</groupId> -->
530 <artifactId>JavaAPIforKml
</artifactId>
531 <version>2.2.1</version>
535 <!-- used if a validation result is returned, see https://dev.e-taxonomy.eu/redmine/issues/10182#note-10 -->
536 <!-- can probably be removed after switching to jakarta.validation-api with spring 6.x -->
537 <groupId>javax.validation
</groupId>
538 <artifactId>validation-api
</artifactId>
539 <version>2.0.1.Final
</version>
543 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
544 <groupId>com.mchange
</groupId>
545 <artifactId>c3p0
</artifactId>
546 <version>0.9.5.2</version>
549 <!-- database related, should be moved to local/test when possible -->
550 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.local -->
552 <groupId>mysql
</groupId>
553 <artifactId>mysql-connector-java
</artifactId>
554 <version>8.0.29</version>
557 <groupId>com.h2database
</groupId>
558 <artifactId>h2
</artifactId>
559 <version>1.4.190</version>
562 <groupId>org.postgresql
</groupId>
563 <artifactId>postgresql
</artifactId>
564 <version>42.5.1</version>
567 <!-- Only added for correct package export, but reported as needed -->
569 <!-- dbcp and pool needed for H2Local and unitils,
570 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
572 <groupId>commons-dbcp
</groupId>
573 <artifactId>commons-dbcp
</artifactId>
574 <version>1.4</version>
577 <!-- For Hibernate Mapping Start -->
579 <groupId>jakarta.validation
</groupId>
580 <artifactId>jakarta.validation-api
</artifactId>
581 <version>3.0.2</version>
584 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
586 <groupId>commons-lang
</groupId>
587 <artifactId>commons-lang
</artifactId>
588 <version>2.6</version>
591 <!-- required when running test -->
592 <groupId>org.springframework
</groupId>
593 <artifactId>spring-jdbc
</artifactId>
594 <version>${spring.version}
</version>
599 <groupId>org.slf4j
</groupId>
600 <artifactId>slf4j-api
</artifactId>
601 <version>1.7.36</version>
604 <groupId>org.apache.logging.log4j
</groupId>
605 <artifactId>log4j-slf4j-impl
</artifactId>
606 <version>${log4j.version}
</version>
609 <groupId>org.slf4j
</groupId>
610 <artifactId>jcl-over-slf4j
</artifactId>
611 <version>1.7.36</version>
615 <!-- https://stackoverflow.com/questions/38727655/maven-dependency-plugin-nosuchelementexception-for-aether-repositorysystem -->
616 <groupId>org.apache.maven.resolver
</groupId>
617 <artifactId>maven-resolver-api
</artifactId>
618 <version>1.4.1</version>