-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
1770 lines (1748 loc) · 63.8 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-parent</artifactId>
<version>5.49.0-SNAPSHOT</version>
<name>CDM Library</name>
<description>The Java implementation of the Common Data Model (CDM), the data model for EDIT's internet platform for cybertaxonomy.</description>
<url>https://cybertaxonomy.org/cdmlib/</url>
<inceptionYear>2007</inceptionYear>
<packaging>pom</packaging>
<modules>
<module>cdmlib-commons</module>
<module>cdmlib-model</module>
<module>cdmlib-api</module>
<module>cdmlib-db</module>
<module>cdmlib-test</module>
<module>cdmlib-persistence</module>
<module>cdmlib-services</module>
<module>cdmlib-cache</module>
<module>cdmlib-ext</module>
<module>cdmlib-io</module>
<module>cdmlib-remote</module>
<module>cdmlib-print</module>
<module>cdmlib-remote-webapp</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.codelevel>1.8</java.codelevel>
<spring.version>4.3.30.RELEASE</spring.version> <!-- checked 2020-08, further upgrade possible -->
<spring-security.version>4.2.20.RELEASE</spring-security.version> <!-- checked 2020-08, further upgrade possible -->
<spring-security-oauth2.version>2.5.2.RELEASE</spring-security-oauth2.version> <!-- checked 2020-08 -->
<spring-cloud.version>1.1.3.RELEASE</spring-cloud.version>
<hibernate.version>5.4.33.Final</hibernate.version>
<hibernate-validator.version>6.2.3.Final</hibernate-validator.version> <!-- checked 2020-08 -->
<hibernate-search.version>5.11.10.Final</hibernate-search.version>
<lucene.version>5.5.5</lucene.version>
<unitils.version>3.4.6</unitils.version>
<httpcomponents.version>4.5.13</httpcomponents.version>
<doxia.version>1.11.1</doxia.version> <!-- checked 2021-12 -->
<poi.version>5.2.2</poi.version> <!-- checked 2022-06 -->
<jackson.version>2.13.3</jackson.version> <!-- checked 2022-05 -->
<!-- CAUTION when upgrading, 1.8x requires another log4j binding: https://logging.apache.org/log4j/2.x/log4j-slf4j-impl/index.html -->
<slf4j.version>1.7.36</slf4j.version> <!-- checked 2022-06 -->
<log4j.version>2.19.0</log4j.version>
<jaxb.version>2.3.3</jaxb.version> <!-- checked 2020-08, there is a newer version 3.0.0-MX, not checked if compatible -->
<cglib.version>3.3.0</cglib.version>
<aspectj.version>1.9.7</aspectj.version> <!-- checked 2022-05 -->
<geotools.version>23.2</geotools.version> <!-- checked 2020-08 -->
<dozer.version>6.5.2</dozer.version> <!-- checked 2021-02 -->
<jakarta.mail.version>1.5.6</jakarta.mail.version> <!-- compatible to the one in spring-context-support/4.3.28.RELEASE -->
<doclint>none</doclint>
</properties>
<scm>
<connection>scm:git:https://dev.e-taxonomy.eu/git/cdmlib.git</connection>
<developerConnection>scm:git:ssh://[email protected]/var/git/cdmlib.git</developerConnection>
<url>https://dev.e-taxonomy.eu/gitweb/cdmlib.git/tree</url>
</scm>
<prerequisites>
<maven>3.6.3</maven>
</prerequisites>
<mailingLists>
<mailingList>
<name>EDIT Platform Developers</name>
<subscribe>
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
</subscribe>
<unsubscribe>
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
</unsubscribe>
</mailingList>
<mailingList>
<name>EDIT User</name>
<subscribe>
https://lists.fu-berlin.de/listinfo/edituser#subscribe
</subscribe>
<unsubscribe>
https://lists.fu-berlin.de/listinfo/edituser#options
</unsubscribe>
</mailingList>
</mailingLists>
<licenses>
<license>
<name>Mozilla Public License Version 1.1</name>
<url>https://www.mozilla.org/MPL/MPL-1.1.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<organization>
<name>EDIT</name>
<url>https://cybertaxonomy.org/</url>
</organization>
<developers>
<developer>
<id>k.luther</id>
<name>Katja Luther</name>
<email>k.luther [at] bgbm.org</email>
<organization>Botanical Garden Botanical Museum Berlin</organization>
<organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
<timezone>+1</timezone>
<roles>
<role>Java Developer</role>
<role>Release Manager</role>
</roles>
<url />
</developer>
<developer>
<id>a.mueller</id>
<name>Andreas Müller</name>
<email>a.mueller [at] bgbm.org</email>
<organization>Botanical Garden Botanical Museum Berlin</organization>
<organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
<timezone>+1</timezone>
<roles>
<role>Architect</role>
<role>Java Developer</role>
<role>Release Manager</role>
</roles>
<url />
</developer>
</developers>
<issueManagement>
<system>Redmine</system>
<url>https://dev.e-taxonomy.eu/redmine/projects/edit</url>
</issueManagement>
<ciManagement>
<system>Jenkins</system>
<url>https://int.e-taxonomy.eu/jenkins</url>
</ciManagement>
<!-- **** REPOSITORIES **** -->
<profiles>
<profile>
<id>local-repository</id>
<activation>
<property>
<name>localrepo</name>
</property>
</activation>
<repositories>
<repository>
<id>EditLocalRepository</id>
<url>file://${localrepo}/eu/etaxonomy/</url>
<releases>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
<repositories>
<!-- the cdm internal repository -->
<repository>
<id>EditRepository</id>
<url>https://cybertaxonomy.org/mavenrepo/</url>
</repository>
<!-- apache incubating repository, was used for jena-tdb -->
<!-- <repository>
<id>ApacheIncubating</id>
<url>https://people.apache.org/repo/m2-incubating-repository/</url>
</repository> -->
<!-- was neccessary for hibernate-envers -->
<!-- <repository>
<id>jboss-repository</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org</url>
</repository> -->
<!-- required for org.geotools:gt-opengis/gt-referencing/gt-epsg-wkt/gt-main -->
<repository>
<id>OSGeo Repository</id>
<url>https://repo.osgeo.org/repository/release/</url>
</repository>
</repositories>
<!-- **** PLUGINS **** -->
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<!-- TODO #6407#9919 upgrading to 3.x leads to test failures in model etc. -->
<!-- <version>3.10.1</version> -->
<version>2.5.1</version>
<configuration>
<source>${java.codelevel}</source>
<target>${java.codelevel}</target>
<encoding>${project.build.sourceEncoding}</encoding> <!-- necessary? should be covered by project. properties source encoding -->
<!-- to increase stacksize see #6404 -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version> <!-- updated 2022-06 -->
<configuration>
<argLine>-Xmx512M -Dfile.encoding=${project.build.sourceEncoding}</argLine>
<runOrder>alphabetical</runOrder>
<includes>
<include>**/*Test.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<!--<phase>deploy</phase> -->
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<!-- Only create the build number if there are no local modifications -->
<doUpdate>false</doUpdate>
<!-- automatically update the local svn copy -->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.10.0</version>
<configuration>
<locales>en</locales>
<outputEncoding>UTF-8</outputEncoding><!-- necessary? should be covered by project. properties output encoding -->
<!-- chmod: not not use chmod, rather adapt the umask of the user
at the server to which the site is deployed -->
<chmod>false</chmod>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<stylesheet>maven</stylesheet>
<quiet>true</quiet>
<detectLinks>true</detectLinks>
<failOnError>false</failOnError>
<!-- TODO do more finegrained exclusions, see e.g https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javadoc.html#BEJEFABE -->
<doclint>${doclint}</doclint>
</configuration>
<executions>
<execution>
<id>aggregate</id>
<goals>
<goal>aggregate</goal>
</goals>
<phase>site</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.10</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</configuration>
</plugin>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.17</version>
<executions>
<execution>
<goals>
<goal>generate-html</goal>
<goal>generate-pdf</goal>
</goals>
<phase>pre-site</phase>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>net.sf.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>5.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<includes>ReferenceDocumentation.xml</includes>
<chunkedOutput>true</chunkedOutput>
<htmlStylesheet>resources/css/html.css</htmlStylesheet>
<xincludeSupported>true</xincludeSupported>
<!--<htmlCustomization>src/docbkx/resources/xsl/html_chunk.xsl</htmlCustomization> -->
<!-- if anyone can get the xsl-fo customization to work properly,
then by all means use it <foCustomization>src/docbkx/resources/xsl/fopdf.xsl</foCustomization> -->
<entities>
<entity>
<name>version</name>
<value>${project.version}</value>
</entity>
</entities>
<!--We want the final documentation and the required resources
to end up in the right place -->
<postProcess>
<copy todir="target/site/reference">
<fileset dir="target/docbkx">
<include name="**/*.html" />
<include name="**/*.pdf" />
</fileset>
</copy>
<copy todir="target/site/reference/html">
<fileset dir="src/docbkx">
<include name="**/*.css" />
<include name="**/*.png" />
<include name="**/*.gif" />
<include name="**/*.jpg" />
</fileset>
</copy>
</postProcess>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<fromDir>${project.build.directory}/docbkx/</fromDir>
<includes>**/*</includes>
<excludes />
<url>scpexe://cybertaxonomy.org</url>
<serverId>cybertaxonomy.eu</serverId>
<toDir>var/www/wp5.e-taxonomy.eu/cdmlib/reference/${project.version}</toDir>
</configuration>
<executions>
<execution>
<id>upload-reference-documentation</id>
<phase>site-deploy</phase>
<goals>
<goal>upload</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
<autoVersionSubmodules>true</autoVersionSubmodules>
<preparationGoals>clean verify install</preparationGoals>
<goals>deploy</goals><!-- skipping site-deploy by explicitly configuring
the goal here -->
<tagBase>https://dev.e-taxonomy.eu/gitweb/cdmlib.git/tags</tagBase>
</configuration>
</plugin>
<plugin>
<!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m8</version> -->
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m6</version>
<configuration>
<pushHotfixes>true</pushHotfixes>
<pushReleases>true</pushReleases>
<enableSshAgent>true</enableSshAgent>
<allowSnapshots>true</allowSnapshots>
<allowUntracked>true</allowUntracked>
</configuration>
<dependencies>
<!--
upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
in order have ssl key exchange algorithms compatible with openssh 6.7
-->
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.55</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>enforce</id>
<configuration>
<fail>true</fail>
<skip>false</skip>
<rules>
<dependencyConvergence />
<requireMavenVersion>
<version>[3.6.0,)</version>
</requireMavenVersion>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
<!-- Binds by default to the lifecycle phase: validate -->
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>3.5.1</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>3.5.1</version>
</extension>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>3.5.1</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.12.2</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.12.2</version>
</extension>
<!-- WebDAV plugin to upload snapshots -->
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav-jackrabbit</artifactId>
<version>3.5.1</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<reporting>
<plugins>
<plugin>
<!-- you will want to start by publishing your classes' Javadocs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<detectLinks>true</detectLinks>
<doclint>${doclint}</doclint>
</configuration>
</plugin>
<plugin>
<!-- this will generate an indexed and cross-referenced HTML version
of your source code -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<!-- if you use @todo tags to remind you of things to be done (which
is a good coding practice), the taglist report will generate a list of all
the items marked @todo or TODO -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<!-- Test coverage can be a useful indication of the quality of your
unit tests. It basically tells you how much of your code is actually run
by your unit tests, which, in turn, can give you a good idea of the tests'
quality -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<!-- <executions> <execution> <id>clean</id> <phase>clean</phase>
<goals> <goal>clean</goal> </goals> </execution> </executions> -->
</plugin>
<!-- -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<!-- when the dependencyLocations option is enabled maven will
determine if resources are located within a given repository. If that repository
doesn’t exist anyomore or is just terribly slow and will produce tons of
line in the log starting with: '[ERROR] Unable to determine if resource ...'
This will slow down site build drastically, therefore we disable this option
here. -->
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
<!-- just the deafault <reportSets> <reportSet> <reports> <report>dependencies</report>
<report>project-team</report> <report>mailing-list</report> <report>cim</report>
<report>issue-tracking</report> <report>license</report> <report>scm</report>
</reports> </reportSet> </reportSets> -->
</plugin>
<!-- The changes-maven-plugin plug-in uses a special XML file (src/changes/changes.xml)
to track releases and changes in each release -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.12.1</version>
<configuration>
<issueLinkTemplatePerSystem>
<default>%URL%/ticket/%ISSUE%</default>
</issueLinkTemplatePerSystem>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<!-- The changelog plug-in generates a nice report describing which
files have been changed and by whom -->
<!-- <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>changelog-maven-plugin</artifactId>
</plugin> -->
</plugins>
</reporting>
<!-- DISTRIBUTION MANAGEMENT -->
<distributionManagement>
<site>
<id>cybertaxonomy.eu</id>
<name>CDM Library Website</name>
<url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/cdmlib/</url>
</site>
<repository>
<uniqueVersion>false</uniqueVersion>
<id>cybertaxonomy.eu</id>
<name>Edit Maven Repository</name>
<url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
<layout>default</layout>
</repository>
</distributionManagement>
<!-- **** DEPENDENCIES **** -->
<dependencies>
<dependency>
<!-- junit is required for all module tests, also those not depending on cdmlib-test, so it is added here on parent level with test scope -->
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-commons</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-model</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-persistence</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-services</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-io</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-remote</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-remote-webapp</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdm-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-ext</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-print</artifactId>
<version>${project.version}</version>
</dependency>
<!--*********** JAXB********* -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${jaxb.version}</version> <!-- not sure if jaxb.version is always the same -->
</dependency>
<!-- <dependency> -->
<!-- replaced by jakarta.xml.bind-api -->
<!-- <groupId>javax.xml.bind</groupId> -->
<!-- <artifactId>jaxb-api</artifactId> -->
<!-- <version>2.3.1</version> -->
<!-- checked 2020-08 -->
<!-- </dependency> -->
<dependency>
<!-- dependency for jaxb-api -->
<groupId>javax.activation</groupId>
<artifactId>javax.activation-api</artifactId>
<version>1.2.0</version>
<!-- checked 2020-08 -->
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-jxc</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<!-- currently required as xsom references older version -->
<groupId>com.sun.xml.bind.external</groupId>
<artifactId>relaxng-datatype</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<!-- jaxb-runtime dependency -->
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>1.2.2</version>
</dependency>
<!-- JAXB END -->
<dependency>
<!-- only for version management org.apache.ant:ant depends in different versions from
org.unitils:unitils-easymock:3.4.2 and org.glassfish.jaxb:jaxb-jxc:2.2.11 -->
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.12</version>
</dependency>
<!-- ******* hibernate uses slf4j ******* -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${log4j.version}</version>
</dependency>
<!-- dozer depends on jcl-over-slf4j -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
</dependency>
<!-- ******* testing ******* -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>junit-benchmarks</artifactId>
<version>0.7.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-core</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> unscoped since we need this dependency at
compile time in persistence for H2DbSupport.java -->
<exclusions>
<exclusion>
<!-- we use jcl-over-slf4j instead -->
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-database</artifactId>
<version>${unitils.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-dbmaintainer</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> -->
<exclusions>
<exclusion>
<groupId>org.hibernate</groupId>
<artifactId>hibernate</artifactId>
</exclusion>
<exclusion>
<!-- we use log4j-slf4j-impl -->
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<version>3.2</version>
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-dbunit</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-easymock</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-mock</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-inject</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-orm</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> -->
<exclusions>
<exclusion>
<groupId>javax.persistence</groupId>
<artifactId>persistence-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.unitils</groupId>
<artifactId>unitils-spring</artifactId>
<version>${unitils.version}</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>xmlunit</groupId>
<artifactId>xmlunit</artifactId>
<version>1.6</version>
<!-- <scope>test</scope> -->
</dependency>
<!-- <dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>2.4.9</version> -->
<!-- <scope>test</scope> -->
<!-- </dependency> -->
<!-- dependency of unitils-database, but with lower number there ,
higher number needed for compatibility with current hibernate and Java 1.6
PreparedStatement -->
<dependency>
<!-- currently still needed by cdmlib-persistence, once removed, scope should be set to test -->
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<!-- currently still needed by cdmlib-persistence commons-dbcp dependency, once removed, scope should be set to test -->
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.6</version>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>eu.etaxonomy</groupId>
<artifactId>cdmlib-test</artifactId>
<scope>test</scope>
<version>${project.version}</version>
</dependency>
<dependency>
<!-- used in cdmlib-services for the EmailSendTest -->
<groupId>org.subethamail</groupId>
<artifactId>subethasmtp</artifactId>
<version>3.1.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
<!-- ******* aspect ******* -->
<dependency>
<!-- not really needed as long as aspectjweaver is on classpath which is a superset of aspectjrt -->
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
<!-- ******* VARIOUS ******* -->
<dependency>
<groupId>xml-resolver</groupId>
<artifactId>xml-resolver</artifactId>
<version>1.2</version>
<!-- checked 2020-08 -->
</dependency>
<dependency>
<!-- should not be in use anymore -->
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>2.3</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
<version>8.0.0</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<!-- for those dependencies linking to the old structure
TODO better use exclusion but need to check if this is possible here -->
<artifactId>org.osgi.core</artifactId>
<version>6.0.0</version>
</dependency>
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>${cglib.version}</version>
</dependency>
<!-- <dependency> -->
<!-- we try to have only dependencies to cglib-nodep to reduce size and to avoid
having 2 similar libraries. #9206 -->
<!-- <groupId>cglib</groupId> -->
<!-- <artifactId>cglib</artifactId> -->
<!-- <version>${cglib.version}</version> -->
<!-- </dependency> -->
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.12.0</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpcomponents.version}</version>
<exclusions>
<exclusion>
<!-- we use jcl-over-slf4j instead -->
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
<!-- Note: version differs from default httpcomponents version -->
<version>4.4.15</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.21</version>
</dependency>
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<version>3.21.1</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.15</version>
</dependency>
<!-- only for version management, hibernate-commons-annotations:4.0.1.Final
requires 3.1.0.CR2 , so we update
here to the latest version 3.4.1.Final -->
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging</artifactId>
<!-- v3.5.0.Final requires java11 -->
<version>3.4.3.Final</version>
<!-- checked 2022-05 -->
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-annotations</artifactId>
<version>2.2.1.Final</version>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-processor</artifactId>
<version>2.2.1.Final</version>
</dependency>