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