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-M5
</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,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,
87 h2,mysql-connector-java,postgresql,
88 junit,hamcrest-core,commons-dbcp,commons-pool,
89 jboss-transaction-api_1.2_spec
94 <overWriteReleases>true
</overWriteReleases>
95 <overWriteSnapshots>true
</overWriteSnapshots>
96 <excludeTransitive>true
</excludeTransitive>
100 <id>copy-dependency-jars-transitive
</id>
101 <phase>validate
</phase>
103 <goal>copy-dependencies
</goal>
107 httpclient-cache,httpcore,xercesImpl
108 </includeArtifactIds>
112 <overWriteReleases>true
</overWriteReleases>
113 <overWriteSnapshots>true
</overWriteSnapshots>
114 <excludeTransitive>false
</excludeTransitive>
120 <groupId>org.apache.maven.plugins
</groupId>
121 <artifactId>maven-antrun-plugin
</artifactId>
124 <id>update-snapshot-jar-names
</id>
125 <phase>validate
</phase>
131 <echo>Update cdmlib jars to SNAPSHOT when build with
135 <fileset dir=
"./lib" />
136 <mapper type=
"regexp"
137 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
141 <fileset dir=
"./lib" />
142 <mapper type=
"regexp"
143 from=
"(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
150 <id>remove-existing-jars
</id>
157 <echo>Remove all cdmlib jars
</echo>
159 <fileset dir=
"./lib" includes=
"cdmlib-*" />
174 <groupId>org.apache.maven.plugins
</groupId>
175 <artifactId>maven-dependency-plugin
</artifactId>
176 <version>3.2.0</version>
179 <id>copy-all-dependencies
</id>
180 <phase>validate
</phase>
182 <goal>copy-dependencies
</goal>
187 </excludeArtifactIds>
188 <outputDirectory>${basedir}/lib
</outputDirectory>
189 <overWriteReleases>true
</overWriteReleases>
190 <overWriteSnapshots>true
</overWriteSnapshots>
191 <excludeTransitive>true
</excludeTransitive>
202 <id>SpringSource Enterprise Bundle Repository - External Bundle
205 <url>http://repository.springsource.com/maven/bundles/milestone
209 <id>SpringSource Enterprise Bundle Repository - SpringSource
213 <url>http://repository.springsource.com/maven/bundles/release
217 <id>SpringSource Enterprise Bundle Repository - External Bundle
220 <url>http://repository.springsource.com/maven/bundles/external
224 <id>repository.springsource.release
</id>
225 <name>SpringSource GA Repository
</name>
226 <url>https://repo.springsource.org/release
</url>
231 <!-- direct dependencies (used within this module) -->
233 <!-- used e.g. in CdmApplicationRemoteConfiguration -->
235 <!-- used e.g. by CdmServiceCacher -->
236 <groupId>eu.etaxonomy
</groupId>
237 <artifactId>cdmlib-cache
</artifactId>
238 <version>${cdmlib.version}
</version>
241 <!-- used e.g. by CdmApplicationState -->
242 <groupId>eu.etaxonomy
</groupId>
243 <artifactId>cdmlib-commons
</artifactId>
244 <version>${cdmlib.version}
</version>
247 <!-- used e.g. by CdmChangeEvent -->
248 <groupId>eu.etaxonomy
</groupId>
249 <artifactId>cdmlib-model
</artifactId>
250 <version>${cdmlib.version}
</version>
253 <groupId>eu.etaxonomy
</groupId>
254 <artifactId>cdmlib-io
</artifactId>
255 <version>${cdmlib.version}
</version>
258 <groupId>eu.etaxonomy
</groupId>
259 <artifactId>cdmlib-ext
</artifactId>
260 <version>${cdmlib.version}
</version>
263 <groupId>eu.etaxonomy
</groupId>
264 <artifactId>cdmlib-persistence
</artifactId>
265 <version>${cdmlib.version}
</version>
268 <groupId>eu.etaxonomy
</groupId>
269 <artifactId>cdmlib-services
</artifactId>
270 <version>${cdmlib.version}
</version>
273 <groupId>org.springframework
</groupId>
274 <!-- used e.g. by CachingHttpInvokerProxyFactoryBean -->
275 <artifactId>spring-aop
</artifactId>
276 <version>${spring.version}
</version>
279 <groupId>org.springframework
</groupId>
280 <artifactId>spring-beans
</artifactId>
281 <version>${spring.version}
</version>
284 <groupId>org.springframework
</groupId>
285 <artifactId>spring-context
</artifactId>
286 <version>${spring.version}
</version>
289 <groupId>org.springframework
</groupId>
290 <artifactId>spring-core
</artifactId>
291 <version>${spring.version}
</version>
294 <groupId>org.springframework
</groupId>
295 <artifactId>spring-tx
</artifactId>
296 <version>${spring.version}
</version>
299 <groupId>org.springframework
</groupId>
300 <artifactId>spring-web
</artifactId>
301 <version>${spring.version}
</version>
304 <groupId>org.springframework.security
</groupId>
305 <artifactId>spring-security-core
</artifactId>
306 <version>${spring-security.version}
</version>
309 <!-- used e.g. by CdmLazyLoader -->
310 <groupId>org.hibernate
</groupId>
311 <artifactId>hibernate-core
</artifactId>
312 <version>${hibernate.version}
</version>
315 <groupId>org.apache.commons
</groupId>
316 <artifactId>commons-lang3
</artifactId>
317 <version>3.12.0</version>
320 <!-- used e.g. by CdmServerUtils -->
321 <groupId>commons-io
</groupId>
322 <artifactId>commons-io
</artifactId>
323 <version>2.11.0</version>
326 <!-- used e.g. by CdmServerUtils -->
327 <groupId>org.apache.commons
</groupId>
328 <artifactId>commons-text
</artifactId>
329 <version>1.9</version>
332 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
333 <groupId>commons-codec
</groupId>
334 <artifactId>commons-codec
</artifactId>
335 <version>1.15</version>
338 <!-- TODO version -->
339 <groupId>log4j
</groupId>
340 <artifactId>log4j
</artifactId>
341 <version>1.2.17</version>
344 <groupId>org.aspectj
</groupId>
345 <!-- used e.g. by CdmLazyLoader -->
346 <artifactId>aspectjweaver
</artifactId>
347 <version>${aspectj.version}
</version>
350 <groupId>org.apache.httpcomponents
</groupId>
351 <artifactId>httpclient
</artifactId>
352 <!-- version defined in parent pom -->
355 <!-- used e.g. by CdmServerInfo -->
356 <groupId>org.apache.httpcomponents
</groupId>
357 <artifactId>httpcore
</artifactId>
358 <version>4.4.15</version>
361 <!-- used e.g. by CdmServerInfo -->
362 <groupId>org.json
</groupId>
363 <artifactId>json
</artifactId>
364 <version>20220320</version>
367 <!-- used e.g. by CdmServerInfo -->
368 <groupId>com.fasterxml.jackson.core
</groupId>
369 <artifactId>jackson-core
</artifactId>
370 <version>${jackson.version}
</version>
373 <!-- used e.g. by CdmServerInfo -->
374 <groupId>com.fasterxml.jackson.core
</groupId>
375 <artifactId>jackson-databind
</artifactId>
376 <version>${jackson.version}
</version>
379 <!-- used e.g. by ICdmEntitySession -->
380 <groupId>net.sf.ehcache
</groupId>
381 <artifactId>ehcache
</artifactId>
382 <version>2.10.6</version>
385 <!-- used e.g. by CdmPersistentRemoteSource -->
386 <groupId>org.jdom
</groupId>
387 <artifactId>jdom
</artifactId>
388 <version>1.1.3</version>
391 <!-- indirectly used with compile error -->
393 <!-- indirectly used e.g. by AbstractPersistentCollection -->
394 <groupId>javax.persistence
</groupId>
395 <artifactId>javax.persistence-api
</artifactId>
396 <version>2.2</version>
399 <!-- indirectly used e.g. by AbstractPersistentCollection -->
400 <groupId>org.jboss.logging
</groupId>
401 <artifactId>jboss-logging
</artifactId>
402 <version>3.4.3.Final
</version>
405 <!-- indirectly used, by other taxeditor modules -->
406 <!-- ... by taxeditor.local -->
408 <groupId>eu.etaxonomy
</groupId>
409 <artifactId>cdmlib-api
</artifactId>
410 <version>${cdmlib.version}
</version>
413 <!-- ... by taxeditor.store -->
415 <groupId>joda-time
</groupId>
416 <artifactId>joda-time
</artifactId>
417 <version>2.10.14</version>
420 <groupId>net.sf.opencsv
</groupId>
421 <artifactId>opencsv
</artifactId>
422 <version>2.3</version>
425 <groupId>org.springframework
</groupId>
426 <artifactId>spring-aspects
</artifactId>
427 <version>${spring.version}
</version>
430 <groupId>com.ibm.lsid
</groupId>
431 <artifactId>lsid-client
</artifactId>
432 <version>1.1.2</version>
435 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
437 <!-- when using bytebuddy for hibernate -->
438 <groupId>net.bytebuddy
</groupId>
439 <artifactId>byte-buddy
</artifactId>
440 <version>1.12.10</version>
443 <!-- dependency of xerces -->
444 <groupId>xml-apis
</groupId>
445 <artifactId>xml-apis
</artifactId>
446 <version>1.4.01</version>
448 <!-- needed only for H2Local and unitils, move maybe to test + local together with c3p0 -->
450 <groupId>commons-pool
</groupId>
451 <artifactId>commons-pool
</artifactId>
452 <version>1.6</version>
455 <!-- For Unit Tests Start -->
456 <!-- keep junit and its dependency hamcrest here as long as each plugin
457 has its own unit tests and junit is not yet added there in a way
458 that it does not appear in production bundles -->
460 <groupId>junit
</groupId>
461 <artifactId>junit
</artifactId>
462 <version>4.13.2</version>
466 <groupId>org.hamcrest
</groupId>
467 <artifactId>hamcrest-core
</artifactId>
468 <version>1.3</version>
469 <!-- <scope>test</scope> -->
472 <!-- For Unit Tests End -->
474 <!-- required during RUNTIME -->
477 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
478 <groupId>com.fasterxml.jackson.core
</groupId>
479 <artifactId>jackson-annotations
</artifactId>
480 <version>${jackson.version}
</version>
483 <!-- for any transactions, e.g. when first time logging in -->
484 <groupId>org.jboss.spec.javax.transaction
</groupId>
485 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
486 <version>1.1.1.Final
</version>
490 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
491 <groupId>com.mchange
</groupId>
492 <artifactId>c3p0
</artifactId>
493 <version>0.9.5.2</version>
496 <!-- database related, should be moved to local/test when possible -->
497 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
499 <groupId>mysql
</groupId>
500 <artifactId>mysql-connector-java
</artifactId>
501 <version>8.0.29</version>
504 <groupId>com.h2database
</groupId>
505 <artifactId>h2
</artifactId>
506 <version>1.4.190</version>
509 <groupId>org.postgresql
</groupId>
510 <artifactId>postgresql
</artifactId>
511 <version>42.3.6</version>
514 <!-- Only added for correct package export, but reported as needed -->
516 <!-- dbcp and pool needed for H2Local and unitils,
517 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
519 <groupId>commons-dbcp
</groupId>
520 <artifactId>commons-dbcp
</artifactId>
521 <version>1.4</version>
524 <!-- For Hibernate Mapping Start -->
526 <groupId>jakarta.validation
</groupId>
527 <artifactId>jakarta.validation-api
</artifactId>
528 <version>3.0.2</version>
531 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
533 <groupId>commons-lang
</groupId>
534 <artifactId>commons-lang
</artifactId>
535 <version>2.6</version>
542 <groupId>org.apache.commons
</groupId>
543 <artifactId>commons-math3
</artifactId>
544 <version>3.6.1</version>
549 <groupId>org.slf4j
</groupId>
550 <artifactId>slf4j-api
</artifactId>
551 <version>1.7.36</version>
554 <!-- Only added for correct package export -->
556 <groupId>commons-collections
</groupId>
557 <artifactId>commons-collections
</artifactId>
558 <version>3.2.2</version>
561 <groupId>org.apache.commons
</groupId>
562 <artifactId>commons-imaging
</artifactId>
563 <version>1.0-alpha3
</version>
566 <groupId>net.sf.json-lib
</groupId>
567 <artifactId>json-lib
</artifactId>
568 <version>2.4</version>
569 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
570 <classifier>jdk15
</classifier>
573 <groupId>commons-logging
</groupId>
574 <artifactId>commons-logging
</artifactId>
575 <version>1.2</version>
578 <groupId>xerces
</groupId>
579 <artifactId>xercesImpl
</artifactId>
580 <version>2.12.2</version>
583 <groupId>org.hibernate.common
</groupId>
584 <artifactId>hibernate-commons-annotations
</artifactId>
585 <version>5.1.2.Final
</version>
588 <groupId>org.hibernate
</groupId>
589 <artifactId>hibernate-search-orm
</artifactId>
590 <version>5.11.10.Final
</version>
593 <groupId>org.hibernate
</groupId>
594 <artifactId>hibernate-search-engine
</artifactId>
595 <version>5.11.10.Final
</version>
599 <groupId>org.springframework
</groupId>
600 <artifactId>spring-context-support
</artifactId>
601 <version>${spring.version}
</version>
604 <groupId>org.springframework
</groupId>
605 <artifactId>spring-jdbc
</artifactId>
606 <version>${spring.version}
</version>
609 <groupId>org.springframework
</groupId>
610 <artifactId>spring-orm
</artifactId>
611 <version>${spring.version}
</version>
614 <groupId>org.springframework.security
</groupId>
615 <artifactId>spring-security-config
</artifactId>
616 <version>${spring-security.version}
</version>
619 <!-- preliminary removed
621 <groupId>org.jadira.usertype</groupId>
622 <artifactId>usertype.core</artifactId>
623 <version>7.0.0.CR1</version>
627 <!-- serialVersionUID problem if not present -->
628 <!-- not true, the reason was serialVersionUID of AbstractPersistentCollection
630 <groupId>org.springframework.security</groupId>
631 <artifactId>spring-security-remoting</artifactId>
632 <version>${spring-security.version}</version>
637 <!- used by AvailableDistributionWizard ->
638 <groupId>org.apache.commons</groupId>
639 <artifactId>commons-collections4</artifactId>
640 <version>4.4</version>