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-beanutils,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,slf4j-log4j12,
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 hibernate-jpa-
2.1-api,javassist,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.jodatime,usertype.spi,
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>
317 <groupId>org.apache.commons
</groupId>
318 <artifactId>commons-lang3
</artifactId>
319 <version>3.12.0</version>
322 <!-- used e.g. by CdmServerUtils -->
323 <groupId>commons-io
</groupId>
324 <artifactId>commons-io
</artifactId>
325 <version>2.11.0</version>
328 <!-- used e.g. by CdmServerUtils -->
329 <groupId>org.apache.commons
</groupId>
330 <artifactId>commons-text
</artifactId>
331 <version>1.9</version>
334 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
335 <groupId>commons-codec
</groupId>
336 <artifactId>commons-codec
</artifactId>
337 <version>1.15</version>
340 <!-- TODO version -->
341 <groupId>log4j
</groupId>
342 <artifactId>log4j
</artifactId>
343 <version>1.2.17</version>
346 <groupId>org.aspectj
</groupId>
347 <!-- used e.g. by CdmLazyLoader -->
348 <artifactId>aspectjweaver
</artifactId>
349 <version>${aspectj.version}
</version>
352 <groupId>org.apache.httpcomponents
</groupId>
353 <artifactId>httpclient
</artifactId>
354 <!-- version defined in parent pom -->
357 <!-- used e.g. by CdmServerInfo -->
358 <groupId>org.apache.httpcomponents
</groupId>
359 <artifactId>httpcore
</artifactId>
360 <version>4.4.15</version>
363 <!-- used e.g. by CdmServerInfo -->
364 <groupId>org.json
</groupId>
365 <artifactId>json
</artifactId>
366 <version>20220320</version>
369 <!-- used e.g. by CdmServerInfo -->
370 <groupId>com.fasterxml.jackson.core
</groupId>
371 <artifactId>jackson-core
</artifactId>
372 <version>${jackson.version}
</version>
375 <!-- used e.g. by CdmServerInfo -->
376 <groupId>com.fasterxml.jackson.core
</groupId>
377 <artifactId>jackson-databind
</artifactId>
378 <version>${jackson.version}
</version>
381 <!-- used e.g. by ICdmEntitySession -->
382 <groupId>net.sf.ehcache
</groupId>
383 <artifactId>ehcache
</artifactId>
384 <version>2.10.9.2</version>
387 <!-- used e.g. by CdmPersistentRemoteSource -->
388 <groupId>org.jdom
</groupId>
389 <artifactId>jdom
</artifactId>
390 <version>1.1.3</version>
393 <!-- indirectly used with compile error -->
395 <!-- indirectly used e.g. by AbstractPersistentCollection -->
396 <groupId>javax.persistence
</groupId>
397 <artifactId>javax.persistence-api
</artifactId>
398 <version>2.2</version>
401 <!-- indirectly used e.g. by AbstractPersistentCollection -->
402 <groupId>org.jboss.logging
</groupId>
403 <artifactId>jboss-logging
</artifactId>
404 <version>3.4.3.Final
</version>
407 <!-- indirectly used, by other taxeditor modules -->
408 <!-- ... by taxeditor.local -->
410 <groupId>eu.etaxonomy
</groupId>
411 <artifactId>cdmlib-api
</artifactId>
412 <version>${cdmlib.version}
</version>
415 <!-- ... by taxeditor.store -->
417 <groupId>joda-time
</groupId>
418 <artifactId>joda-time
</artifactId>
419 <version>2.10.14</version>
422 <groupId>net.sf.opencsv
</groupId>
423 <artifactId>opencsv
</artifactId>
424 <version>2.3</version>
427 <groupId>org.springframework
</groupId>
428 <artifactId>spring-aspects
</artifactId>
429 <version>${spring.version}
</version>
432 <groupId>com.ibm.lsid
</groupId>
433 <artifactId>lsid-client
</artifactId>
434 <version>1.1.2</version>
438 <!-- For Unit Tests Start -->
439 <!-- keep junit and its dependency hamcrest here as long as each plugin
440 has its own unit tests and junit is not yet added there in a way
441 that it does not appear in production bundles -->
443 <groupId>junit
</groupId>
444 <artifactId>junit
</artifactId>
445 <version>4.13.2</version>
449 <groupId>org.hamcrest
</groupId>
450 <artifactId>hamcrest-core
</artifactId>
451 <version>1.3</version>
452 <!-- <scope>test</scope> -->
455 <!-- For Unit Tests End -->
457 <!-- Only added for correct package export, but reported as needed -->
459 <!-- dbcp and pool needed for H2Local and unitils,
460 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
462 <groupId>commons-dbcp
</groupId>
463 <artifactId>commons-dbcp
</artifactId>
464 <version>1.4</version>
467 <!-- For Hibernate Mapping Start -->
469 <groupId>jakarta.validation
</groupId>
470 <artifactId>jakarta.validation-api
</artifactId>
471 <version>3.0.2</version>
474 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
476 <groupId>commons-lang
</groupId>
477 <artifactId>commons-lang
</artifactId>
478 <version>2.6</version>
485 <groupId>org.apache.commons
</groupId>
486 <artifactId>commons-math3
</artifactId>
487 <version>3.6.1</version>
492 <groupId>org.slf4j
</groupId>
493 <artifactId>slf4j-api
</artifactId>
494 <version>1.7.36</version>
497 <!-- Only added for correct package export -->
499 <groupId>org.javassist
</groupId>
500 <artifactId>javassist
</artifactId>
501 <version>3.29.0-GA
</version>
504 <groupId>commons-collections
</groupId>
505 <artifactId>commons-collections
</artifactId>
506 <version>3.2.2</version>
509 <groupId>org.apache.commons
</groupId>
510 <artifactId>commons-imaging
</artifactId>
511 <version>1.0-alpha3
</version>
514 <groupId>net.sf.json-lib
</groupId>
515 <artifactId>json-lib
</artifactId>
516 <version>2.4</version>
517 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
518 <classifier>jdk15
</classifier>
521 <groupId>commons-logging
</groupId>
522 <artifactId>commons-logging
</artifactId>
523 <version>1.2</version>
526 <groupId>xerces
</groupId>
527 <artifactId>xercesImpl
</artifactId>
528 <version>2.12.2</version>
531 <groupId>org.hibernate.common
</groupId>
532 <artifactId>hibernate-commons-annotations
</artifactId>
533 <version>5.1.2.Final
</version>
536 <groupId>org.hibernate
</groupId>
537 <artifactId>hibernate-search-orm
</artifactId>
538 <version>5.11.10.Final
</version>
541 <groupId>org.hibernate
</groupId>
542 <artifactId>hibernate-search-engine
</artifactId>
543 <version>5.11.10.Final
</version>
546 <groupId>org.jadira.usertype
</groupId>
547 <artifactId>usertype.core
</artifactId>
548 <version>7.0.0.CR1
</version>
551 <groupId>org.springframework
</groupId>
552 <artifactId>spring-context-support
</artifactId>
553 <version>${spring.version}
</version>
556 <groupId>org.springframework
</groupId>
557 <artifactId>spring-jdbc
</artifactId>
558 <version>${spring.version}
</version>
561 <groupId>org.springframework
</groupId>
562 <artifactId>spring-orm
</artifactId>
563 <version>${spring.version}
</version>
566 <groupId>org.springframework.security
</groupId>
567 <artifactId>spring-security-config
</artifactId>
568 <version>${spring-security.version}
</version>
572 <!-- not yet used -->
574 <!-- used by AvailableDistributionWizard -->
575 <groupId>org.apache.commons
</groupId>
576 <artifactId>commons-collections4
</artifactId>
577 <version>4.4</version>