3dfaab9ba9dd30bbd44278fc0e90d3acfff7b342
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / pom.xml
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">
4 <parent>
5 <groupId>eu.etaxonomy</groupId>
6 <artifactId>taxeditor-parent</artifactId>
7 <version>5.18.0-SNAPSHOT</version>
8 </parent>
9 <modelVersion>4.0.0</modelVersion>
10 <artifactId>eu.etaxonomy.taxeditor.cdmlib</artifactId>
11 <packaging>eclipse-plugin</packaging>
12 <properties>
13 <jackson.version>2.11.2</jackson.version>
14 <poi.version>4.1.2</poi.version>
15 <hibernate.version>5.1.17.Final</hibernate.version>
16 </properties>
17 <name>CDM Library Dependencies Plugin</name>
18 <description>CDM Library and dependencies as a plugin</description>
19 <build>
20 <pluginManagement>
21 <plugins>
22 <plugin>
23 <groupId>org.apache.maven.plugins</groupId>
24 <artifactId>maven-surefire-plugin</artifactId>
25 <version>2.22.2</version>
26 </plugin>
27 </plugins>
28 </pluginManagement>
29 <plugins>
30 <plugin>
31 <groupId>org.apache.maven.plugins</groupId>
32 <artifactId>maven-dependency-plugin</artifactId>
33 <version>2.4</version>
34 <executions>
35 <execution>
36 <id>copy-dependencies</id>
37 <phase>validate</phase>
38 <goals>
39 <goal>copy-dependencies</goal>
40 </goals>
41 <configuration>
42 <excludeArtifactIds>
43 cdmlib-remote-webapp
44 </excludeArtifactIds>
45 <includeArtifactIds>
46 cdmlib-commons,cdmlib-model,cdmlib-persistence,cdmlib-services,cdmlib-cache,cdmlib-ext,cdmlib-io
47 </includeArtifactIds>
48 <outputDirectory>${basedir}/lib</outputDirectory>
49 <overWriteReleases>true</overWriteReleases>
50 <overWriteSnapshots>true</overWriteSnapshots>
51 <excludeTransitive>true</excludeTransitive>
52 </configuration>
53 </execution>
54 <execution>
55 <id>copy-dependency-jars</id>
56 <phase>validate</phase>
57 <goals>
58 <goal>copy-dependencies</goal>
59 </goals>
60 <configuration>
61 <includeArtifactIds>
62 httpclient,JavaAPIforKml,iiif-apis,commons-beanutils,commons-lang3,commons-lang,commons-codec,
63 commons-imaging,jackson-databind,jackson-annotations,jackson-core,jboss-logging,
64 validation-api,classmate,javax.el-api,slf4j-api,slf4j-log4j12,
65 ehcache,
66 hibernate-validator,hibernate-validator-cdi,
67 spring-context,spring-context-support,spring-aspects,spring-test,spring-beans,
68 spring-tx,spring-web,spring-core,spring-aop,spring-expression,spring-orm,
69 spring-oxm,spring-jdbc,spring-security-config,spring-security-core,
70 aopalliance,aspectjweaver,aspectjrt,
71 hibernate-jpa-2.1-api,javassist,hibernate-commons-annotations,
72 hibernate-core,hibernate-entitymanager,hibernate-envers,antlr,cglib-nodep,
73 xml-apis,lsid-client,jdom,jdom2,
74 poi,poi-ooxml,poi-ooxml-schemas,xmlbeans,commons-collections4,commons-math3,
75 jaxb-api,javax.activation-api,
76 c3p0,opencsv,joda-time,usertype.jodatime,usertype.spi,
77 apache-log4j-extras,
78 h2,mysql-connector-java,postgresql
79 </includeArtifactIds>
80 <outputDirectory>
81 ${basedir}/lib
82 </outputDirectory>
83 <overWriteReleases>true</overWriteReleases>
84 <overWriteSnapshots>true</overWriteSnapshots>
85 <excludeTransitive>true</excludeTransitive>
86 </configuration>
87 </execution>
88 <execution>
89 <id>copy-dependency-jars-transitive</id>
90 <phase>validate</phase>
91 <goals>
92 <goal>copy-dependencies</goal>
93 </goals>
94 <configuration>
95 <includeArtifactIds>
96 httpclient-cache,httpcore,httpmime,xercesImpl
97 </includeArtifactIds>
98 <outputDirectory>
99 ${basedir}/lib
100 </outputDirectory>
101 <overWriteReleases>true</overWriteReleases>
102 <overWriteSnapshots>true</overWriteSnapshots>
103 <excludeTransitive>false</excludeTransitive>
104 </configuration>
105 </execution>
106 </executions>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-antrun-plugin</artifactId>
111 <executions>
112 <execution>
113 <id>update-snapshot-jar-names</id>
114 <phase>validate</phase>
115 <goals>
116 <goal>run</goal>
117 </goals>
118 <configuration>
119 <target>
120 <echo>Update cdmlib jars to SNAPSHOT when build with
121 timestamp
122 </echo>
123 <move todir="./lib">
124 <fileset dir="./lib" />
125 <mapper type="regexp"
126 from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
127 to="\1SNAPSHOT\2" />
128 </move>
129 <move todir="./lib">
130 <fileset dir="./lib" />
131 <mapper type="regexp"
132 from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
133 to="\1SNAPSHOT\2" />
134 </move>
135 </target>
136 </configuration>
137 </execution>
138 <execution>
139 <id>remove-existing-jars</id>
140 <phase>clean</phase>
141 <goals>
142 <goal>run</goal>
143 </goals>
144 <configuration>
145 <target>
146 <echo>Remove all cdmlib jars</echo>
147 <delete>
148 <fileset dir="./lib" includes="cdmlib-*" />
149 </delete>
150 </target>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155 </plugins>
156 </build>
157 <profiles>
158 <profile>
159 <id>copyAllJars</id>
160 <build>
161 <plugins>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-dependency-plugin</artifactId>
165 <version>2.4</version>
166 <executions>
167 <execution>
168 <id>copy-all-dependencies</id>
169 <phase>validate</phase>
170 <goals>
171 <goal>copy-dependencies</goal>
172 </goals>
173 <configuration>
174 <excludeArtifactIds>
175 cdmlib-remote-webapp
176 </excludeArtifactIds>
177 <outputDirectory>${basedir}/lib</outputDirectory>
178 <overWriteReleases>true</overWriteReleases>
179 <overWriteSnapshots>true</overWriteSnapshots>
180 <excludeTransitive>true</excludeTransitive>
181 </configuration>
182 </execution>
183 </executions>
184 </plugin>
185 </plugins>
186 </build>
187 </profile>
188 </profiles>
189 <repositories>
190 <repository>
191 <id>SpringSource Enterprise Bundle Repository - External Bundle
192 Milestones
193 </id>
194 <url>http://repository.springsource.com/maven/bundles/milestone
195 </url>
196 </repository>
197 <repository>
198 <id>SpringSource Enterprise Bundle Repository - SpringSource
199 Bundle
200 Releases
201 </id>
202 <url>http://repository.springsource.com/maven/bundles/release
203 </url>
204 </repository>
205 <repository>
206 <id>SpringSource Enterprise Bundle Repository - External Bundle
207 Releases
208 </id>
209 <url>http://repository.springsource.com/maven/bundles/external
210 </url>
211 </repository>
212 <repository>
213 <id>repository.springsource.release</id>
214 <name>SpringSource GA Repository</name>
215 <url>http://repo.springsource.org/release</url>
216 </repository>
217 </repositories>
218 <dependencies>
219 <dependency>
220 <groupId>eu.etaxonomy</groupId>
221 <artifactId>cdmlib-commons</artifactId>
222 <version>${cdmlib.version}</version>
223 </dependency>
224 <dependency>
225 <groupId>eu.etaxonomy</groupId>
226 <artifactId>cdmlib-model</artifactId>
227 <version>${cdmlib.version}</version>
228 </dependency>
229 <dependency>
230 <groupId>eu.etaxonomy</groupId>
231 <artifactId>cdmlib-persistence</artifactId>
232 <version>${cdmlib.version}</version>
233 </dependency>
234 <dependency>
235 <groupId>eu.etaxonomy</groupId>
236 <artifactId>cdmlib-services</artifactId>
237 <version>${cdmlib.version}</version>
238 </dependency>
239 <dependency>
240 <groupId>eu.etaxonomy</groupId>
241 <artifactId>cdmlib-io</artifactId>
242 <version>${cdmlib.version}</version>
243 </dependency>
244 <dependency>
245 <groupId>eu.etaxonomy</groupId>
246 <artifactId>cdmlib-ext</artifactId>
247 <version>${cdmlib.version}</version>
248 </dependency>
249 <dependency>
250 <groupId>eu.etaxonomy</groupId>
251 <artifactId>cdmlib-cache</artifactId>
252 <version>${cdmlib.version}</version>
253 </dependency>
254
255 <!-- required -->
256 <dependency>
257 <groupId>net.sf.ehcache</groupId>
258 <artifactId>ehcache</artifactId>
259 <version>2.10.6</version>
260 </dependency>
261
262 <!-- needed, but should try to remove -->
263 <dependency>
264 <!-- see #9205 for how to remove -->
265 <groupId>log4j</groupId>
266 <artifactId>apache-log4j-extras</artifactId>
267 <version>1.2.17</version>
268 </dependency>
269
270
271 <dependency>
272 <groupId>dom4j</groupId>
273 <artifactId>dom4j</artifactId>
274 <version>1.6</version>
275 </dependency>
276 <dependency>
277 <groupId>log4j</groupId>
278 <artifactId>log4j</artifactId>
279 <version>1.2.17</version>
280 </dependency>
281 <dependency>
282 <groupId>joda-time</groupId>
283 <artifactId>joda-time</artifactId>
284 <version>2.10.6</version>
285 </dependency>
286 <dependency>
287 <groupId>org.jadira.usertype</groupId>
288 <artifactId>usertype.jodatime</artifactId>
289 <version>2.0.1</version>
290 </dependency>
291 <dependency>
292 <groupId>org.jadira.usertype</groupId>
293 <artifactId>usertype.spi</artifactId>
294 <version>2.0.1</version>
295 </dependency>
296 <dependency>
297 <!-- needed? -->
298 <groupId>org.jdom</groupId>
299 <artifactId>jdom2</artifactId>
300 <version>2.0.6</version>
301 </dependency>
302 <dependency>
303 <!-- needed? -->
304 <groupId>org.jdom</groupId>
305 <artifactId>jdom</artifactId>
306 <version>1.1.3</version>
307 </dependency>
308 <dependency>
309 <groupId>org.springframework</groupId>
310 <artifactId>spring-context</artifactId>
311 <version>4.3.28.RELEASE</version>
312 </dependency>
313 <dependency>
314 <groupId>org.springframework</groupId>
315 <artifactId>spring-context-support</artifactId>
316 <version>4.3.28.RELEASE</version>
317 </dependency>
318 <dependency>
319 <groupId>org.springframework</groupId>
320 <artifactId>spring-aspects</artifactId>
321 <version>4.3.28.RELEASE</version>
322 </dependency>
323 <dependency>
324 <groupId>org.springframework</groupId>
325 <artifactId>spring-test</artifactId>
326 <version>4.3.28.RELEASE</version>
327 </dependency>
328 <dependency>
329 <groupId>org.springframework</groupId>
330 <artifactId>spring-beans</artifactId>
331 <version>4.3.28.RELEASE</version>
332 </dependency>
333 <dependency>
334 <groupId>org.springframework</groupId>
335 <artifactId>spring-tx</artifactId>
336 <version>4.3.28.RELEASE</version>
337 </dependency>
338 <dependency>
339 <groupId>org.springframework</groupId>
340 <artifactId>spring-web</artifactId>
341 <version>4.3.28.RELEASE</version>
342 </dependency>
343 <dependency>
344 <groupId>org.springframework</groupId>
345 <artifactId>spring-core</artifactId>
346 <version>4.3.28.RELEASE</version>
347 </dependency>
348 <dependency>
349 <groupId>org.springframework</groupId>
350 <artifactId>spring-aop</artifactId>
351 <version>4.3.28.RELEASE</version>
352 </dependency>
353 <dependency>
354 <groupId>org.springframework</groupId>
355 <artifactId>spring-expression</artifactId>
356 <version>4.3.28.RELEASE</version>
357 </dependency>
358 <dependency>
359 <groupId>org.springframework</groupId>
360 <artifactId>spring-orm</artifactId>
361 <version>4.3.28.RELEASE</version>
362 </dependency>
363 <dependency>
364 <groupId>org.springframework</groupId>
365 <artifactId>spring-oxm</artifactId>
366 <version>4.3.28.RELEASE</version>
367 </dependency>
368 <dependency>
369 <groupId>org.springframework</groupId>
370 <artifactId>spring-jdbc</artifactId>
371 <version>4.3.28.RELEASE</version>
372 </dependency>
373 <dependency>
374 <groupId>org.springframework.security</groupId>
375 <artifactId>spring-security-core</artifactId>
376 <version>4.2.18.RELEASE</version>
377 </dependency>
378 <dependency>
379 <groupId>org.springframework.security</groupId>
380 <artifactId>spring-security-config</artifactId>
381 <version>4.2.18.RELEASE</version>
382 </dependency>
383 <dependency>
384 <groupId>org.springframework.security</groupId>
385 <artifactId>spring-security-remoting</artifactId>
386 <version>4.2.18.RELEASE</version>
387 </dependency>
388 <dependency>
389 <!-- dependency of spring security core, can be removed after
390 upgrading to spring security 5.x -->
391 <groupId>aopalliance</groupId>
392 <artifactId>aopalliance</artifactId>
393 <version>1.0</version>
394 </dependency>
395
396 <dependency>
397 <groupId>commons-beanutils</groupId>
398 <artifactId>commons-beanutils</artifactId>
399 <version>1.9.4</version>
400 </dependency>
401 <dependency>
402 <groupId>org.apache.commons</groupId>
403 <artifactId>commons-imaging</artifactId>
404 <version>1.0-alpha2</version>
405 </dependency>
406 <dependency>
407 <groupId>net.sf.opencsv</groupId>
408 <artifactId>opencsv</artifactId>
409 <version>2.3</version>
410 </dependency>
411
412 <dependency>
413 <groupId>org.apache.httpcomponents</groupId>
414 <artifactId>httpclient</artifactId>
415 </dependency>
416
417 <dependency>
418 <groupId>org.apache.commons</groupId>
419 <artifactId>commons-lang3</artifactId>
420 <version>3.11</version>
421 </dependency>
422 <dependency>
423 <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
424 <groupId>commons-lang</groupId>
425 <artifactId>commons-lang</artifactId>
426 <version>2.6</version>
427 </dependency>
428 <dependency>
429 <!-- maybe only needed for tests, but does not work to only have there -->
430 <groupId>com.mchange</groupId>
431 <artifactId>c3p0</artifactId>
432 <version>0.9.5.2</version>
433 <!-- <scope>test</scope> -->
434 </dependency>
435
436 <!-- jackson, not sure if really needed -->
437 <dependency>
438 <groupId>com.fasterxml.jackson.core</groupId>
439 <artifactId>jackson-databind</artifactId>
440 <version>${jackson.version}</version>
441 </dependency>
442 <dependency>
443 <groupId>com.fasterxml.jackson.core</groupId>
444 <artifactId>jackson-core</artifactId>
445 <version>${jackson.version}</version>
446 </dependency>
447 <dependency>
448 <groupId>com.fasterxml.jackson.core</groupId>
449 <artifactId>jackson-annotations</artifactId>
450 <version>${jackson.version}</version>
451 </dependency>
452
453 <dependency>
454 <!-- needed? -->
455 <groupId>xerces</groupId>
456 <artifactId>xercesImpl</artifactId>
457 <version>2.12.0</version>
458 </dependency>
459
460 <dependency>
461 <groupId>org.aspectj</groupId>
462 <artifactId>aspectjweaver</artifactId>
463 <version>1.9.6</version>
464 </dependency>
465 <dependency>
466 <groupId>org.aspectj</groupId>
467 <artifactId>aspectjrt</artifactId>
468 <version>1.9.6</version>
469 </dependency>
470 <dependency>
471 <groupId>org.hibernate.javax.persistence</groupId>
472 <artifactId>hibernate-jpa-2.1-api</artifactId>
473 <version>1.0.2.Final</version>
474 </dependency>
475 <dependency>
476 <groupId>org.javassist</groupId>
477 <artifactId>javassist</artifactId>
478 <version>3.27.0-GA</version>
479 </dependency>
480 <dependency>
481 <groupId>org.hibernate.common</groupId>
482 <artifactId>hibernate-commons-annotations</artifactId>
483 <version>5.1.0.Final</version>
484 </dependency>
485 <dependency>
486 <groupId>xml-apis</groupId>
487 <artifactId>xml-apis</artifactId>
488 <version>1.4.01</version>
489 </dependency>
490 <dependency>
491 <groupId>com.ibm.lsid</groupId>
492 <artifactId>lsid-client</artifactId>
493 <version>1.1.2</version>
494 </dependency>
495
496 <!-- poi -->
497 <!-- needed -->
498 <dependency>
499 <groupId>org.apache.poi</groupId>
500 <artifactId>poi</artifactId>
501 <version>${poi.version}</version>
502 </dependency>
503 <dependency>
504 <groupId>org.apache.poi</groupId>
505 <artifactId>poi-ooxml-schemas</artifactId>
506 <version>${poi.version}</version>
507 </dependency>
508 <dependency>
509 <groupId>org.apache.poi</groupId>
510 <artifactId>poi-ooxml</artifactId>
511 <version>${poi.version}</version>
512 </dependency>
513 <dependency>
514 <groupId>org.apache.xmlbeans</groupId>
515 <artifactId>xmlbeans</artifactId>
516 <version>3.1.0</version>
517 </dependency>
518 <dependency>
519 <groupId>org.apache.commons</groupId>
520 <artifactId>commons-collections4</artifactId>
521 <version>4.4</version>
522 </dependency>
523 <dependency>
524 <groupId>org.apache.commons</groupId>
525 <artifactId>commons-math3</artifactId>
526 <version>3.6.1</version>
527 </dependency>
528 <!-- not yet included
529 poi: com.zaxxer:SparseBitSet
530 poi-ooxml commons-compress,curvesapi
531 -->
532
533 <!-- jaxb -->
534 <dependency>
535 <groupId>javax.xml.bind</groupId>
536 <artifactId>jaxb-api</artifactId>
537 <version>2.3.1</version>
538 </dependency>
539 <dependency>
540 <groupId>javax.activation</groupId>
541 <artifactId>javax.activation-api</artifactId>
542 <version>1.2.0</version>
543 </dependency>
544
545 <!-- logging -->
546 <dependency>
547 <!-- needed? -->
548 <groupId>org.jboss.logging</groupId>
549 <artifactId>jboss-logging</artifactId>
550 <version>3.4.1.Final</version>
551 </dependency>
552 <dependency>
553 <groupId>org.slf4j</groupId>
554 <artifactId>slf4j-api</artifactId>
555 <version>1.7.30</version>
556 </dependency>
557 <dependency>
558 <groupId>org.slf4j</groupId>
559 <artifactId>slf4j-log4j12</artifactId>
560 <version>1.7.30</version>
561 </dependency>
562 <!-- slf4j-nop is not needed -->
563
564 <!-- validation, needed? -->
565 <dependency>
566 <groupId>org.hibernate.validator</groupId>
567 <artifactId>hibernate-validator</artifactId>
568 <version>6.1.5.Final</version>
569 </dependency>
570 <dependency>
571 <groupId>org.hibernate.validator</groupId>
572 <artifactId>hibernate-validator-cdi</artifactId>
573 <version>6.1.5.Final</version>
574 </dependency>
575 <dependency>
576 <groupId>com.fasterxml</groupId>
577 <artifactId>classmate</artifactId>
578 <version>1.5.1</version>
579 </dependency>
580 <dependency>
581 <groupId>javax.el</groupId>
582 <artifactId>javax.el-api</artifactId>
583 <version>3.0.0</version>
584 </dependency>
585
586 <dependency>
587 <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
588 <groupId>commons-codec</groupId>
589 <artifactId>commons-codec</artifactId>
590 <version>1.14</version>
591 </dependency>
592
593 <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
594 <dependency>
595 <groupId>com.h2database</groupId>
596 <artifactId>h2</artifactId>
597 <version>1.4.190</version>
598 </dependency>
599 <dependency>
600 <groupId>mysql</groupId>
601 <artifactId>mysql-connector-java</artifactId>
602 <version>8.0.21</version>
603 </dependency>
604 <dependency>
605 <groupId>org.postgresql</groupId>
606 <artifactId>postgresql</artifactId>
607 <version>42.2.15</version>
608 </dependency>
609
610 <!-- For Unit Tests Start -->
611 <!-- still needed? -->
612
613 <dependency>
614 <groupId>commons-dbcp</groupId>
615 <artifactId>commons-dbcp</artifactId>
616 <version>1.4</version>
617 </dependency>
618 <dependency>
619 <groupId>commons-pool</groupId>
620 <artifactId>commons-pool</artifactId>
621 <version>1.5.4</version>
622 </dependency>
623
624 <!-- For Unit Tests End -->
625
626 <!-- For Hibernate Mapping Start -->
627 <dependency>
628 <groupId>javax.validation</groupId>
629 <artifactId>validation-api</artifactId>
630 <version>2.0.1.Final</version>
631 </dependency>
632 <!-- For Hibernate Mapping End -->
633
634 <!-- Hibernate -->
635 <!-- still needed because cdmlib-service still uses classes from cdmlib-persistence (e.g. OrderHint),
636 and those load classes from hibernate -->
637 <!-- all other org.hibernate dependencies have been removed already -->
638 <dependency>
639 <groupId>org.hibernate</groupId>
640 <artifactId>hibernate-core</artifactId>
641 <version>${hibernate.version}</version>
642 </dependency>
643 <dependency>
644 <groupId>org.hibernate</groupId>
645 <artifactId>hibernate-entitymanager</artifactId>
646 <version>${hibernate.version}</version>
647 </dependency>
648 <dependency>
649 <groupId>org.hibernate</groupId>
650 <artifactId>hibernate-envers</artifactId>
651 <version>${hibernate.version}</version>
652 </dependency>
653 <dependency>
654 <!-- probably only used by hibernate-core, so remove when removing hibernate-core,
655 probably it can be removed even before -->
656 <groupId>antlr</groupId>
657 <artifactId>antlr</artifactId>
658 <version>2.7.7</version>
659 </dependency>
660 <dependency>
661 <groupId>cglib</groupId>
662 <artifactId>cglib-nodep</artifactId>
663 <version>3.3.0</version>
664 </dependency>
665
666 <!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder
667 is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
668 -->
669 <dependency>
670 <groupId>de.micromata.jak</groupId>
671 <artifactId>JavaAPIforKml</artifactId>
672 <version>2.2.1</version><!-- must be same version as in cdmlib -->
673 </dependency>
674 <dependency>
675 <groupId>de.digitalcollections.iiif</groupId>
676 <artifactId>iiif-apis</artifactId>
677 <version>0.3.7</version>
678 </dependency>
679 </dependencies>
680 </project>
681