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.33.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,
68 hibernate-search-engine,hibernate-search-orm,
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 jackson-databind,jackson-annotations,jackson-core,
73 jakarta.validation-api,
76 spring-context,spring-context-support,spring-aspects,spring-beans,
77 spring-tx,spring-web,spring-core,spring-aop,spring-orm,
78 spring-jdbc,spring-security-config,spring-security-core,
81 hibernate-core,hibernate-envers,antlr,
82 javax.persistence-api,
83 xml-apis,lsid-client,jdom,
84 commons-collections4,commons-math3,
85 c3p0,mchange-commons-java,
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
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 <!-- direct dependencies (used within this module) -->
204 <!-- used e.g. in CdmApplicationRemoteConfiguration -->
206 <!-- used e.g. by CdmServiceCacher -->
207 <groupId>eu.etaxonomy
</groupId>
208 <artifactId>cdmlib-cache
</artifactId>
209 <version>${cdmlib.version}
</version>
212 <!-- used e.g. by CdmApplicationState -->
213 <groupId>eu.etaxonomy
</groupId>
214 <artifactId>cdmlib-commons
</artifactId>
215 <version>${cdmlib.version}
</version>
218 <!-- used e.g. by CdmChangeEvent -->
219 <groupId>eu.etaxonomy
</groupId>
220 <artifactId>cdmlib-model
</artifactId>
221 <version>${cdmlib.version}
</version>
224 <groupId>eu.etaxonomy
</groupId>
225 <artifactId>cdmlib-io
</artifactId>
226 <version>${cdmlib.version}
</version>
229 <groupId>eu.etaxonomy
</groupId>
230 <artifactId>cdmlib-ext
</artifactId>
231 <version>${cdmlib.version}
</version>
234 <groupId>eu.etaxonomy
</groupId>
235 <artifactId>cdmlib-persistence
</artifactId>
236 <version>${cdmlib.version}
</version>
239 <groupId>eu.etaxonomy
</groupId>
240 <artifactId>cdmlib-services
</artifactId>
241 <version>${cdmlib.version}
</version>
244 <groupId>org.springframework
</groupId>
245 <!-- used e.g. by CachingHttpInvokerProxyFactoryBean -->
246 <artifactId>spring-aop
</artifactId>
247 <version>${spring.version}
</version>
250 <groupId>org.springframework
</groupId>
251 <artifactId>spring-beans
</artifactId>
252 <version>${spring.version}
</version>
255 <groupId>org.springframework
</groupId>
256 <artifactId>spring-context
</artifactId>
257 <version>${spring.version}
</version>
260 <groupId>org.springframework
</groupId>
261 <artifactId>spring-core
</artifactId>
262 <version>${spring.version}
</version>
265 <groupId>org.springframework
</groupId>
266 <artifactId>spring-tx
</artifactId>
267 <version>${spring.version}
</version>
270 <groupId>org.springframework
</groupId>
271 <artifactId>spring-web
</artifactId>
272 <version>${spring.version}
</version>
275 <groupId>org.springframework.security
</groupId>
276 <artifactId>spring-security-core
</artifactId>
277 <version>${spring-security.version}
</version>
280 <!-- used e.g. by CdmLazyLoader -->
281 <groupId>org.hibernate
</groupId>
282 <artifactId>hibernate-core
</artifactId>
283 <version>${hibernate.version}
</version>
286 <groupId>org.apache.commons
</groupId>
287 <artifactId>commons-lang3
</artifactId>
288 <version>3.12.0</version>
291 <!-- used e.g. by CdmServerUtils -->
292 <groupId>commons-io
</groupId>
293 <artifactId>commons-io
</artifactId>
294 <version>2.11.0</version>
297 <!-- used e.g. by CdmServerUtils -->
298 <groupId>org.apache.commons
</groupId>
299 <artifactId>commons-text
</artifactId>
300 <version>1.9</version>
303 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
304 <groupId>commons-codec
</groupId>
305 <artifactId>commons-codec
</artifactId>
306 <version>1.15</version>
309 <!-- CdmServiceCacher -->
310 <groupId>org.apache.logging.log4j
</groupId>
311 <artifactId>log4j-core
</artifactId>
312 <version>${log4j.version}
</version>
315 <!-- CdmServiceCacher -->
316 <groupId>org.apache.logging.log4j
</groupId>
317 <artifactId>log4j-api
</artifactId>
318 <version>${log4j.version}
</version>
321 <groupId>org.aspectj
</groupId>
322 <!-- used e.g. by CdmLazyLoader -->
323 <artifactId>aspectjweaver
</artifactId>
324 <version>${aspectj.version}
</version>
327 <groupId>org.apache.httpcomponents
</groupId>
328 <artifactId>httpclient
</artifactId>
329 <!-- version defined in parent pom -->
332 <!-- used e.g. by CdmServerInfo -->
333 <groupId>org.apache.httpcomponents
</groupId>
334 <artifactId>httpcore
</artifactId>
335 <version>4.4.15</version>
338 <!-- used e.g. by CdmServerInfo -->
339 <groupId>org.json
</groupId>
340 <artifactId>json
</artifactId>
341 <version>20220320</version>
344 <!-- used e.g. by CdmServerInfo -->
345 <groupId>com.fasterxml.jackson.core
</groupId>
346 <artifactId>jackson-core
</artifactId>
347 <version>${jackson.version}
</version>
350 <!-- used e.g. by CdmServerInfo -->
351 <groupId>com.fasterxml.jackson.core
</groupId>
352 <artifactId>jackson-databind
</artifactId>
353 <version>${jackson.version}
</version>
356 <!-- used e.g. by ICdmEntitySession -->
357 <groupId>net.sf.ehcache
</groupId>
358 <artifactId>ehcache
</artifactId>
359 <version>2.10.6</version>
362 <!-- used e.g. by CdmPersistentRemoteSource -->
363 <groupId>org.jdom
</groupId>
364 <artifactId>jdom
</artifactId>
365 <version>1.1.3</version>
368 <!-- indirectly used with compile error -->
370 <!-- indirectly used e.g. by AbstractPersistentCollection -->
371 <groupId>javax.persistence
</groupId>
372 <artifactId>javax.persistence-api
</artifactId>
373 <version>2.2</version>
376 <!-- indirectly used e.g. by AbstractPersistentCollection -->
377 <groupId>org.jboss.logging
</groupId>
378 <artifactId>jboss-logging
</artifactId>
379 <version>3.4.3.Final
</version>
382 <!-- indirectly used, by other taxeditor modules -->
383 <!-- ... by taxeditor.local -->
385 <groupId>eu.etaxonomy
</groupId>
386 <artifactId>cdmlib-api
</artifactId>
387 <version>${cdmlib.version}
</version>
390 <!-- ... by taxeditor.store -->
392 <groupId>joda-time
</groupId>
393 <artifactId>joda-time
</artifactId>
394 <version>2.10.14</version>
397 <groupId>net.sf.opencsv
</groupId>
398 <artifactId>opencsv
</artifactId>
399 <version>2.3</version>
402 <groupId>org.springframework
</groupId>
403 <artifactId>spring-aspects
</artifactId>
404 <version>${spring.version}
</version>
407 <groupId>com.ibm.lsid
</groupId>
408 <artifactId>lsid-client
</artifactId>
409 <version>1.1.2</version>
412 <!-- used by taxeditor.editor -> character matrix -->
414 <groupId>org.apache.commons
</groupId>
415 <artifactId>commons-math3
</artifactId>
416 <version>3.6.1</version>
419 <!-- used by bulkeditor -->
421 <!-- used by CharacterMatrix/bulkeditor (LinkedList) -->
422 <groupId>org.apache.commons
</groupId>
423 <artifactId>commons-collections4
</artifactId>
424 <version>4.4</version>
427 <!-- used by taxeditor.local -->
429 <!-- used by datasource dialogue finish button -->
430 <groupId>com.mchange
</groupId>
431 <artifactId>mchange-commons-java
</artifactId>
432 <version>0.2.11</version>
435 <!-- needed by taxeditor.test during test run, maybe move to test package only -->
437 <!-- used by 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 <!-- END for Unit Tests -->
474 <!-- required during RUNTIME -->
477 <!-- throws exception in bulk editor after search if not present -->
478 <groupId>org.hibernate
</groupId>
479 <artifactId>hibernate-envers
</artifactId>
480 <version>${hibernate.version}
</version>
483 <!-- throws exception in bulk editor after search during deserialization if not present -->
484 <groupId>org.apache.lucene
</groupId>
485 <artifactId>lucene-core
</artifactId>
486 <version>${lucene.version}
</version>
489 <!-- e.g. when opening character matrix
490 probably only used by hibernate-core, so remove when removing hibernate-core -->
491 <groupId>antlr
</groupId>
492 <artifactId>antlr
</artifactId>
493 <version>2.7.7</version>
496 <!-- used e.g. by login dialog, CdmServerInfo:411 -->
497 <groupId>com.fasterxml.jackson.core
</groupId>
498 <artifactId>jackson-annotations
</artifactId>
499 <version>${jackson.version}
</version>
502 <!-- for any transactions, e.g. when first time logging in -->
503 <groupId>org.jboss.spec.javax.transaction
</groupId>
504 <artifactId>jboss-transaction-api_1.2_spec
</artifactId>
505 <version>1.1.1.Final
</version>
509 <!-- for showing maps in distribution details view -->
510 <groupId>de.micromata.jak
</groupId>
511 <!-- Java11 required <groupId>uk.m0nom</groupId> -->
512 <artifactId>JavaAPIforKml
</artifactId>
513 <version>2.2.1</version>
517 <!-- used in datasource view and in test, maybe enough if in taxeditor.local and taxeditor.test -->
518 <groupId>com.mchange
</groupId>
519 <artifactId>c3p0
</artifactId>
520 <version>0.9.5.2</version>
523 <!-- database related, should be moved to local/test when possible -->
524 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
526 <groupId>mysql
</groupId>
527 <artifactId>mysql-connector-java
</artifactId>
528 <version>8.0.29</version>
531 <groupId>com.h2database
</groupId>
532 <artifactId>h2
</artifactId>
533 <version>1.4.190</version>
536 <groupId>org.postgresql
</groupId>
537 <artifactId>postgresql
</artifactId>
538 <version>42.3.6</version>
541 <!-- Only added for correct package export, but reported as needed -->
543 <!-- dbcp and pool needed for H2Local and unitils,
544 move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->
546 <groupId>commons-dbcp
</groupId>
547 <artifactId>commons-dbcp
</artifactId>
548 <version>1.4</version>
551 <!-- For Hibernate Mapping Start -->
553 <groupId>jakarta.validation
</groupId>
554 <artifactId>jakarta.validation-api
</artifactId>
555 <version>3.0.2</version>
558 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
560 <groupId>commons-lang
</groupId>
561 <artifactId>commons-lang
</artifactId>
562 <version>2.6</version>
565 <!-- required when running test -->
566 <groupId>org.springframework
</groupId>
567 <artifactId>spring-jdbc
</artifactId>
568 <version>${spring.version}
</version>
573 <groupId>org.slf4j
</groupId>
574 <artifactId>slf4j-api
</artifactId>
575 <version>1.7.36</version>
578 <groupId>org.apache.logging.log4j
</groupId>
579 <artifactId>log4j-slf4j-impl
</artifactId>
580 <version>${log4j.version}
</version>
583 <groupId>org.slf4j
</groupId>
584 <artifactId>jcl-over-slf4j
</artifactId>
585 <version>1.7.36</version>
588 <!-- Only added for correct package export -->
590 <groupId>net.sf.json-lib</groupId>
591 <artifactId>json-lib</artifactId>
592 <version>2.4</version> -->
593 <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
594 <!-- <classifier>jdk15</classifier>
598 <groupId>org.hibernate</groupId>
599 <artifactId>hibernate-search-orm</artifactId>
600 <version>5.11.10.Final</version>
603 <groupId>org.hibernate</groupId>
604 <artifactId>hibernate-search-engine</artifactId>
605 <version>5.11.10.Final</version>
609 <groupId>org.springframework</groupId>
610 <artifactId>spring-context-support</artifactId>
611 <version>${spring.version}</version>
614 <groupId>org.springframework</groupId>
615 <artifactId>spring-orm</artifactId>
616 <version>${spring.version}</version>
619 <groupId>org.springframework.security</groupId>
620 <artifactId>spring-security-config</artifactId>
621 <version>${spring-security.version}</version>
626 <!-- https://stackoverflow.com/questions/38727655/maven-dependency-plugin-nosuchelementexception-for-aether-repositorysystem -->
627 <groupId>org.apache.maven.resolver
</groupId>
628 <artifactId>maven-resolver-api
</artifactId>
629 <version>1.4.1</version>