Project

General

Profile

Download (27.5 KB) Statistics
| Branch: | Tag: | Revision:
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.29.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.13.1</jackson.version>
14
      <poi.version>4.1.2</poi.version>
15
      <hibernate.version>5.1.17.Final</hibernate.version>
16
      <lucene.version>5.4.1</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
  </properties>
20
  <name>CDM Library Dependencies Plugin</name>
21
  <description>CDM Library and dependencies as a plugin</description>
22
  <build>
23
    <pluginManagement>
24
      <plugins>
25
        <plugin>
26
          <groupId>org.apache.maven.plugins</groupId>
27
          <artifactId>maven-surefire-plugin</artifactId>
28
          <version>2.22.2</version>
29
        </plugin>
30
      </plugins>
31
    </pluginManagement>
32
    <plugins>
33
      <plugin>
34
        <groupId>org.apache.maven.plugins</groupId>
35
        <artifactId>maven-dependency-plugin</artifactId>
36
        <version>2.4</version>
37
        <executions>
38
          <execution>
39
            <id>copy-dependencies</id>
40
            <phase>validate</phase>
41
            <goals>
42
              <goal>copy-dependencies</goal>
43
            </goals>
44
            <configuration>
45
              <excludeArtifactIds>
46
                cdmlib-remote-webapp
47
              </excludeArtifactIds>
48
              <includeArtifactIds>
49
                cdmlib-commons,cdmlib-model,cdmlib-api,cdmlib-persistence,cdmlib-services,cdmlib-cache,cdmlib-ext,cdmlib-io
50
              </includeArtifactIds>
51
              <outputDirectory>${basedir}/lib</outputDirectory>
52
              <overWriteReleases>true</overWriteReleases>
53
              <overWriteSnapshots>true</overWriteSnapshots>
54
              <excludeTransitive>true</excludeTransitive>
55
            </configuration>
56
          </execution>
57
          <execution>
58
            <id>copy-dependency-jars</id>
59
            <phase>validate</phase>
60
            <goals>
61
              <goal>copy-dependencies</goal>
62
            </goals>
63
            <configuration>
64
              <includeArtifactIds>
65
                httpclient,JavaAPIforKml,iiif-apis,commons-beanutils,commons-lang3,commons-lang,commons-codec,
66
                commons-collections,commons-io,commons-logging,ezmorph,
67
                hibernate-search-engine,hibernate-search-orm,itextpdf,
68
                json,json-lib,log4j,lucene-analyzers-common,lucene-core,lucene-queryparser,lucene-suggest,lucene-sandbox,
69
                xalan,
70
                commons-imaging,jackson-databind,jackson-annotations,jackson-core,jboss-logging,
71
                validation-api,classmate,javax.el-api,slf4j-api,slf4j-log4j12,
72
                ehcache,
73
                hibernate-validator,
74
                spring-context,spring-context-support,spring-aspects,spring-test,spring-beans,
75
                spring-tx,spring-web,spring-core,spring-aop,spring-expression,spring-orm,
76
                spring-oxm,spring-jdbc,spring-security-config,spring-security-core,
77
                aopalliance,aspectjweaver,aspectjrt,
78
                hibernate-jpa-2.1-api,javassist,hibernate-commons-annotations,
79
                hibernate-core,hibernate-entitymanager,hibernate-envers,antlr,cglib-nodep,
80
                xml-apis,lsid-client,jdom,jdom2,
81
                poi,poi-ooxml,poi-ooxml-schemas,xmlbeans,commons-collections4,commons-math3,
82
                c3p0,mchange-commons-java,
83
                opencsv,joda-time,usertype.jodatime,usertype.spi,
84
                apache-log4j-extras,
85
                h2,mysql-connector-java,postgresql,
86
                junit,hamcrest-core,commons-dbcp,commons-pool,
87
                jboss-transaction-api_1.2_spec
88
              </includeArtifactIds>
89
              <outputDirectory>
90
                ${basedir}/lib
91
              </outputDirectory>
92
              <overWriteReleases>true</overWriteReleases>
93
              <overWriteSnapshots>true</overWriteSnapshots>
94
              <excludeTransitive>true</excludeTransitive>
95
            </configuration>
96
          </execution>
97
          <execution>
98
            <id>copy-dependency-jars-transitive</id>
99
            <phase>validate</phase>
100
            <goals>
101
              <goal>copy-dependencies</goal>
102
            </goals>
103
            <configuration>
104
              <includeArtifactIds>
105
                httpclient-cache,httpcore,xercesImpl
106
              </includeArtifactIds>
107
              <outputDirectory>
108
                ${basedir}/lib
109
              </outputDirectory>
110
              <overWriteReleases>true</overWriteReleases>
111
              <overWriteSnapshots>true</overWriteSnapshots>
112
              <excludeTransitive>false</excludeTransitive>
113
            </configuration>
114
          </execution>
115
        </executions>
116
      </plugin>
117
      <plugin>
118
        <groupId>org.apache.maven.plugins</groupId>
119
        <artifactId>maven-antrun-plugin</artifactId>
120
        <executions>
121
          <execution>
122
            <id>update-snapshot-jar-names</id>
123
            <phase>validate</phase>
124
            <goals>
125
              <goal>run</goal>
126
            </goals>
127
            <configuration>
128
              <target>
129
                <echo>Update cdmlib jars to SNAPSHOT when build with
130
                  timestamp
131
                </echo>
132
                <move todir="./lib">
133
                  <fileset dir="./lib" />
134
                  <mapper type="regexp"
135
                    from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
136
                    to="\1SNAPSHOT\2" />
137
                </move>
138
                <move todir="./lib">
139
                  <fileset dir="./lib" />
140
                  <mapper type="regexp"
141
                    from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
142
                    to="\1SNAPSHOT\2" />
143
                </move>
144
              </target>
145
            </configuration>
146
          </execution>
147
          <execution>
148
            <id>remove-existing-jars</id>
149
            <phase>clean</phase>
150
            <goals>
151
              <goal>run</goal>
152
            </goals>
153
            <configuration>
154
              <target>
155
                <echo>Remove all cdmlib jars</echo>
156
                <delete>
157
                  <fileset dir="./lib" includes="cdmlib-*" />
158
                </delete>
159
              </target>
160
            </configuration>
161
          </execution>
162
        </executions>
163
      </plugin>
164
    </plugins>
165
  </build>
166
  <profiles>
167
    <profile>
168
      <id>copyAllJars</id>
169
      <build>
170
        <plugins>
171
          <plugin>
172
            <groupId>org.apache.maven.plugins</groupId>
173
            <artifactId>maven-dependency-plugin</artifactId>
174
            <version>2.4</version>
175
            <executions>
176
              <execution>
177
                <id>copy-all-dependencies</id>
178
                <phase>validate</phase>
179
                <goals>
180
                  <goal>copy-dependencies</goal>
181
                </goals>
182
                <configuration>
183
                  <excludeArtifactIds>
184
                    cdmlib-remote-webapp
185
                  </excludeArtifactIds>
186
                  <outputDirectory>${basedir}/lib</outputDirectory>
187
                  <overWriteReleases>true</overWriteReleases>
188
                  <overWriteSnapshots>true</overWriteSnapshots>
189
                  <excludeTransitive>true</excludeTransitive>
190
                </configuration>
191
              </execution>
192
            </executions>
193
          </plugin>
194
        </plugins>
195
      </build>
196
    </profile>
197
  </profiles>
198
  <repositories>
199
    <repository>
200
      <id>SpringSource Enterprise Bundle Repository - External Bundle
201
        Milestones
202
      </id>
203
      <url>http://repository.springsource.com/maven/bundles/milestone
204
      </url>
205
    </repository>
206
    <repository>
207
      <id>SpringSource Enterprise Bundle Repository - SpringSource
208
        Bundle
209
        Releases
210
      </id>
211
      <url>http://repository.springsource.com/maven/bundles/release
212
      </url>
213
    </repository>
214
    <repository>
215
      <id>SpringSource Enterprise Bundle Repository - External Bundle
216
        Releases
217
      </id>
218
      <url>http://repository.springsource.com/maven/bundles/external
219
      </url>
220
    </repository>
221
	 <repository>
222
        <id>repository.springsource.release</id>
223
        <name>SpringSource GA Repository</name>
224
        <url>https://repo.springsource.org/release</url>
225
    </repository>
226
  </repositories>
227
  <dependencies>
228
    <dependency>
229
      <groupId>eu.etaxonomy</groupId>
230
      <artifactId>cdmlib-commons</artifactId>
231
      <version>${cdmlib.version}</version>
232
    </dependency>
233
    <dependency>
234
      <groupId>eu.etaxonomy</groupId>
235
      <artifactId>cdmlib-model</artifactId>
236
      <version>${cdmlib.version}</version>
237
    </dependency>
238
    <dependency>
239
      <groupId>eu.etaxonomy</groupId>
240
      <artifactId>cdmlib-api</artifactId>
241
      <version>${cdmlib.version}</version>
242
    </dependency>
243
    <dependency>
244
      <groupId>eu.etaxonomy</groupId>
245
      <artifactId>cdmlib-persistence</artifactId>
246
      <version>${cdmlib.version}</version>
247
    </dependency>
248
    <dependency>
249
      <groupId>eu.etaxonomy</groupId>
250
      <artifactId>cdmlib-services</artifactId>
251
      <version>${cdmlib.version}</version>
252
    </dependency>
253
    <dependency>
254
      <groupId>eu.etaxonomy</groupId>
255
      <artifactId>cdmlib-io</artifactId>
256
      <version>${cdmlib.version}</version>
257
    </dependency>
258
    <dependency>
259
      <groupId>eu.etaxonomy</groupId>
260
      <artifactId>cdmlib-ext</artifactId>
261
      <version>${cdmlib.version}</version>
262
    </dependency>
263
    <dependency>
264
      <groupId>eu.etaxonomy</groupId>
265
      <artifactId>cdmlib-cache</artifactId>
266
      <version>${cdmlib.version}</version>
267
    </dependency>
268
    <!-- required -->
269
    <dependency>
270
	    <groupId>net.sf.ehcache</groupId>
271
	    <artifactId>ehcache</artifactId>
272
	    <version>2.10.6</version>
273
	</dependency>
274
    
275
    <!-- needed, but should try to remove -->
276
    <dependency>
277
    	<!-- see #9205 for how to remove -->
278
    	<groupId>log4j</groupId>
279
    	<artifactId>apache-log4j-extras</artifactId>
280
    	<version>1.2.17</version>
281
	</dependency>
282
    <dependency>
283
	    <!-- somehow this is required for logging, covered by tests, but maybe can be removed somehow -->
284
	    <groupId>org.jboss.spec.javax.transaction</groupId>
285
	    <artifactId>jboss-transaction-api_1.2_spec</artifactId>
286
	    <version>1.1.1.Final</version>
287
	</dependency>
288
    
289
    <dependency>
290
      <groupId>log4j</groupId>
291
      <artifactId>log4j</artifactId>
292
      <version>1.2.17</version>
293
    </dependency>
294
    <dependency>
295
	    <groupId>joda-time</groupId>
296
	    <artifactId>joda-time</artifactId>
297
	    <version>2.10.13</version>
298
	</dependency>
299
	<dependency>
300
	    <groupId>org.jadira.usertype</groupId>
301
	    <artifactId>usertype.jodatime</artifactId>
302
	    <version>2.0.1</version>
303
	</dependency>
304
	<dependency>
305
	    <groupId>org.jadira.usertype</groupId>
306
	    <artifactId>usertype.spi</artifactId>
307
	    <version>2.0.1</version>
308
	</dependency>
309
    <dependency>
310
      <!-- needed? -->
311
      <groupId>org.jdom</groupId>
312
      <artifactId>jdom2</artifactId>
313
      <version>2.0.6</version>
314
    </dependency>
315
    <dependency>
316
      <!-- needed? -->
317
      <groupId>org.jdom</groupId>
318
      <artifactId>jdom</artifactId>
319
      <version>1.1.3</version>
320
    </dependency>
321
    <dependency>
322
      <groupId>org.springframework</groupId>
323
      <artifactId>spring-context</artifactId>
324
      <version>${spring.version}</version>
325
    </dependency>
326
    <dependency>
327
      <groupId>org.springframework</groupId>
328
      <artifactId>spring-context-support</artifactId>
329
      <version>${spring.version}</version>
330
    </dependency>
331
    <dependency>
332
      <groupId>org.springframework</groupId>
333
      <artifactId>spring-aspects</artifactId>
334
      <version>${spring.version}</version>
335
    </dependency>
336
    <dependency>
337
      <groupId>org.springframework</groupId>
338
      <artifactId>spring-test</artifactId>
339
      <version>${spring.version}</version>
340
    </dependency>
341
    <dependency>
342
      <groupId>org.springframework</groupId>
343
      <artifactId>spring-beans</artifactId>
344
      <version>${spring.version}</version>
345
    </dependency>
346
    <dependency>
347
      <groupId>org.springframework</groupId>
348
      <artifactId>spring-tx</artifactId>
349
      <version>${spring.version}</version>
350
    </dependency>
351
    <dependency>
352
		<groupId>org.springframework</groupId>
353
		<artifactId>spring-web</artifactId>
354
		<version>${spring.version}</version>
355
	</dependency>
356
    <dependency>
357
      <groupId>org.springframework</groupId>
358
      <artifactId>spring-core</artifactId>
359
      <version>${spring.version}</version>
360
    </dependency>
361
    <dependency>
362
      <groupId>org.springframework</groupId>
363
      <artifactId>spring-aop</artifactId>
364
      <version>${spring.version}</version>
365
    </dependency>
366
    <dependency>
367
		<groupId>org.springframework</groupId>
368
		<artifactId>spring-expression</artifactId>
369
		<version>${spring.version}</version>
370
	</dependency>
371
    <dependency>
372
		<groupId>org.springframework</groupId>
373
		<artifactId>spring-orm</artifactId>
374
		<version>${spring.version}</version>
375
	</dependency>
376
	<dependency>
377
		<groupId>org.springframework</groupId>
378
		<artifactId>spring-oxm</artifactId>
379
		<version>${spring.version}</version>
380
	</dependency>
381
    <dependency>
382
		<groupId>org.springframework</groupId>
383
		<artifactId>spring-jdbc</artifactId>
384
		<version>${spring.version}</version>
385
	</dependency>
386
    <dependency>
387
      <groupId>org.springframework.security</groupId>
388
      <artifactId>spring-security-core</artifactId>
389
      <version>${spring-security.version}</version>
390
    </dependency>
391
    <dependency>
392
      <groupId>org.springframework.security</groupId>
393
      <artifactId>spring-security-config</artifactId>
394
      <version>${spring-security.version}</version>
395
    </dependency>
396
    <dependency>
397
      <groupId>org.springframework.security</groupId>
398
      <artifactId>spring-security-remoting</artifactId>
399
      <version>${spring-security.version}</version>
400
    </dependency>
401
    <dependency>
402
    	<!-- dependency of spring security core, can be removed after
403
    	upgrading to spring security 5.x -->
404
	    <groupId>aopalliance</groupId>
405
	    <artifactId>aopalliance</artifactId>
406
	    <version>1.0</version>
407
	</dependency>
408

    
409
    <dependency>
410
        <groupId>commons-beanutils</groupId>
411
        <artifactId>commons-beanutils</artifactId>
412
        <version>1.9.4</version>
413
    </dependency>
414
    <dependency>
415
        <groupId>org.apache.commons</groupId>
416
        <artifactId>commons-imaging</artifactId>
417
        <version>1.0-alpha2</version>
418
    </dependency>
419
	<dependency>
420
	    <groupId>net.sf.opencsv</groupId>
421
	    <artifactId>opencsv</artifactId>
422
	    <version>2.3</version>
423
	</dependency>
424

    
425
    <dependency>
426
      <groupId>org.apache.httpcomponents</groupId>
427
      <artifactId>httpclient</artifactId>
428
      <!-- version defined in parent pom -->
429
    </dependency>
430
    <dependency>
431
      <groupId>org.apache.httpcomponents</groupId>
432
      <artifactId>httpclient-cache</artifactId>
433
      <!-- version defined in parent pom -->
434
    </dependency>
435
    <dependency>
436
      <groupId>org.apache.httpcomponents</groupId>
437
      <artifactId>httpclient-core</artifactId>
438
      <version>4.4.15</version>
439
    </dependency>
440

    
441
    <dependency>
442
        <groupId>org.apache.commons</groupId>
443
        <artifactId>commons-lang3</artifactId>
444
        <version>3.12.0</version>
445
    </dependency>
446
    <dependency>
447
        <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
448
        <groupId>commons-lang</groupId>
449
        <artifactId>commons-lang</artifactId>
450
        <version>2.6</version>
451
    </dependency>
452
    
453
    <!-- jackson, not sure if really needed -->
454
    <dependency>
455
        <groupId>com.fasterxml.jackson.core</groupId>
456
        <artifactId>jackson-databind</artifactId>
457
        <version>${jackson.version}</version>
458
    </dependency>
459
    <dependency>
460
        <groupId>com.fasterxml.jackson.core</groupId>
461
        <artifactId>jackson-core</artifactId>
462
        <version>${jackson.version}</version>
463
    </dependency>
464
    <dependency>
465
        <groupId>com.fasterxml.jackson.core</groupId>
466
        <artifactId>jackson-annotations</artifactId>
467
        <version>${jackson.version}</version>
468
    </dependency>
469
    
470
    <dependency>
471
        <!-- needed? -->
472
        <groupId>xerces</groupId>
473
        <artifactId>xercesImpl</artifactId>
474
        <version>2.12.0</version>
475
    </dependency>
476
    
477
    <dependency>
478
       <groupId>org.aspectj</groupId>
479
       <artifactId>aspectjweaver</artifactId>
480
       <version>1.9.6</version>
481
    </dependency>
482
    <dependency>
483
       <groupId>org.aspectj</groupId>
484
       <artifactId>aspectjrt</artifactId>
485
       <version>1.9.6</version>
486
    </dependency>
487
    <dependency>
488
       <groupId>org.hibernate.javax.persistence</groupId>
489
       <artifactId>hibernate-jpa-2.1-api</artifactId>
490
       <version>1.0.2.Final</version>
491
    </dependency>
492
    <dependency>
493
        <groupId>org.javassist</groupId>
494
        <artifactId>javassist</artifactId>
495
        <version>3.27.0-GA</version>
496
    </dependency>
497
    <dependency>
498
        <groupId>org.hibernate.common</groupId>
499
        <artifactId>hibernate-commons-annotations</artifactId>
500
        <version>5.1.0.Final</version>
501
    </dependency>
502
    <dependency>
503
        <groupId>xml-apis</groupId>
504
        <artifactId>xml-apis</artifactId>
505
        <version>1.4.01</version>
506
    </dependency>
507
    <dependency>
508
        <groupId>com.ibm.lsid</groupId>
509
        <artifactId>lsid-client</artifactId>
510
        <version>1.1.2</version>
511
    </dependency>
512
    
513
    <!-- poi -->
514
    <!-- needed -->
515
    <dependency>
516
        <groupId>org.apache.poi</groupId>
517
        <artifactId>poi</artifactId>
518
        <version>${poi.version}</version>
519
    </dependency>
520
    <dependency>
521
        <groupId>org.apache.poi</groupId>
522
        <artifactId>poi-ooxml-schemas</artifactId>
523
        <version>${poi.version}</version>
524
    </dependency>
525
    <dependency>
526
        <groupId>org.apache.poi</groupId>
527
        <artifactId>poi-ooxml</artifactId>
528
        <version>${poi.version}</version>
529
    </dependency>
530
    <dependency>
531
      	<groupId>org.apache.xmlbeans</groupId>
532
      	<artifactId>xmlbeans</artifactId>
533
      	<version>3.1.0</version>
534
    </dependency>
535
    <dependency>
536
	    <groupId>org.apache.commons</groupId>
537
	    <artifactId>commons-collections4</artifactId>
538
	    <version>4.4</version>
539
	</dependency>
540
	<dependency>
541
	    <groupId>org.apache.commons</groupId>
542
	    <artifactId>commons-math3</artifactId>
543
	    <version>3.6.1</version>
544
	</dependency>
545
    <!-- not yet included 
546
       poi:   com.zaxxer:SparseBitSet
547
       poi-ooxml   commons-compress,curvesapi
548
     -->
549
     
550
    <!-- the following were all taken without check if needed -->
551
    <dependency>
552
        <groupId>commons-collections</groupId>
553
        <artifactId>commons-collections</artifactId>
554
        <version>3.2.2</version>
555
    </dependency>
556
    <dependency>
557
        <groupId>commons-io</groupId>
558
        <artifactId>commons-io</artifactId>
559
        <version>2.11.0</version>
560
    </dependency>
561
    <dependency>
562
        <groupId>commons-logging</groupId>
563
        <artifactId>commons-logging</artifactId>
564
        <version>1.2</version>
565
    </dependency>
566
    <dependency>
567
        <groupId>net.sf.ezmorph</groupId>
568
        <artifactId>ezmorph</artifactId>
569
        <version>1.0.6</version>
570
    </dependency>
571
    <dependency>
572
        <groupId>org.hibernate</groupId>
573
        <artifactId>hibernate-search-engine</artifactId>
574
        <version>5.5.2.Final</version>
575
    </dependency>
576
    <dependency>
577
        <groupId>org.hibernate</groupId>
578
        <artifactId>hibernate-search-orm</artifactId>
579
        <version>5.5.2.Final</version>
580
    </dependency>
581
    <dependency>
582
        <groupId>com.itextpdf</groupId>
583
        <artifactId>itextpdf</artifactId>  
584
    </dependency>
585
    <dependency>
586
        <groupId>org.json</groupId>
587
        <artifactId>json</artifactId>
588
        <version>20090211</version>
589
    </dependency>    
590
    <dependency>
591
        <groupId>net.sf.json-lib</groupId>
592
        <artifactId>json-lib</artifactId>
593
        <version>2.4</version>
594
        <!-- classifier required as json-lib exists on maven central as json-lib-2.4-jdk15.jar and xxx-jdk13.jar, see #9887 -->
595
        <classifier>jdk15</classifier>
596
    </dependency>
597
    <dependency>
598
        <groupId>org.apache.lucene</groupId>
599
        <artifactId>lucene-core</artifactId>
600
        <version>${lucene.version}</version>
601
    </dependency>
602
    <dependency>
603
        <groupId>org.apache.lucene</groupId>
604
        <artifactId>lucene-analyzers-common</artifactId>
605
        <version>${lucene.version}</version>
606
    </dependency>
607
    <dependency>
608
        <groupId>org.apache.lucene</groupId>
609
        <artifactId>lucene-queryparser</artifactId>
610
        <version>${lucene.version}</version>
611
    </dependency>    
612
    <dependency>
613
        <groupId>org.apache.lucene</groupId>
614
        <artifactId>lucene-suggest</artifactId>
615
        <version>${lucene.version}</version>
616
    </dependency>
617
    <dependency>
618
        <groupId>org.apache.lucene</groupId>
619
        <artifactId>lucene-sandbox</artifactId>
620
        <version>${lucene.version}</version>
621
    </dependency>
622
    <dependency>
623
        <groupId>xalan</groupId>
624
        <artifactId>xalan</artifactId>
625
        <version>2.7.2</version>
626
    </dependency>
627
    
628
    <!-- end without check if needed --> 
629
     
630
     
631
	<!-- logging -->
632
    <dependency>
633
        <!-- needed? -->
634
        <groupId>org.jboss.logging</groupId>
635
        <artifactId>jboss-logging</artifactId>
636
        <version>3.4.1.Final</version>
637
    </dependency>
638
    <dependency> 
639
	    <groupId>org.slf4j</groupId>
640
	    <artifactId>slf4j-api</artifactId>
641
	    <version>1.7.30</version>
642
	</dependency>
643
    <dependency> 
644
	    <groupId>org.slf4j</groupId>
645
	    <artifactId>slf4j-log4j12</artifactId>
646
	    <version>1.7.30</version>
647
	</dependency>
648
	<!-- slf4j-nop is not needed -->
649
    
650
	<!-- validation, needed? -->
651
	<dependency>
652
    	<groupId>org.hibernate.validator</groupId>
653
    	<artifactId>hibernate-validator</artifactId>
654
    	<version>6.1.5.Final</version>
655
	</dependency>
656
    <dependency>
657
        <groupId>com.fasterxml</groupId>
658
        <artifactId>classmate</artifactId>
659
        <version>1.5.1</version>
660
    </dependency>
661
    <dependency>
662
        <groupId>javax.el</groupId>
663
        <artifactId>javax.el-api</artifactId>
664
        <version>3.0.0</version>
665
    </dependency>
666
    
667
    <dependency>
668
    	<!-- used in AuthenticatingHttpInvokerRequestExecutor -->
669
        <groupId>commons-codec</groupId>
670
        <artifactId>commons-codec</artifactId>
671
        <version>1.15</version>
672
    </dependency>
673

    
674
    <!-- For Unit Tests Start -->
675
	<!-- keep junit and its dependency hamcrest here as long as each plugin
676
	     has its own unit tests and junit is not yet added there in a way
677
	     that it does not appear in production bundles -->
678
	<dependency>
679
        <groupId>junit</groupId>
680
        <artifactId>junit</artifactId>
681
        <version>4.13.2</version>
682
        <scope>test</scope>
683
    </dependency>
684
    <dependency>
685
        <groupId>org.hamcrest</groupId>
686
        <artifactId>hamcrest-core</artifactId>
687
        <version>1.3</version>
688
<!--         <scope>test</scope> -->
689
    </dependency>
690
	 
691
<!-- For Unit Tests End -->
692

    
693
<!-- dbcp and pool needed for H2Local and unitils, 
694
     move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->    
695
    <dependency>
696
      <groupId>commons-dbcp</groupId>
697
      <artifactId>commons-dbcp</artifactId>
698
      <version>1.4</version>
699
    </dependency>
700
    <dependency>
701
      <groupId>commons-pool</groupId>
702
      <artifactId>commons-pool</artifactId>
703
      <version>1.6</version>
704
    </dependency>
705

    
706

    
707
    <!-- For Hibernate Mapping Start -->
708
    <dependency>
709
      <groupId>javax.validation</groupId>
710
      <artifactId>validation-api</artifactId>
711
      <version>2.0.1.Final</version>
712
    </dependency>
713
    <!-- For Hibernate Mapping End -->
714
    
715
    <!-- Hibernate -->
716
    <!-- still needed because cdmlib-service still uses classes from cdmlib-persistence (e.g. OrderHint),
717
         and those load classes from hibernate -->
718
    <!-- all other org.hibernate dependencies have been removed already -->
719
    <dependency>
720
        <groupId>org.hibernate</groupId>
721
        <artifactId>hibernate-core</artifactId>
722
        <version>${hibernate.version}</version>
723
    </dependency>    
724
    <dependency>
725
        <groupId>org.hibernate</groupId>
726
        <artifactId>hibernate-entitymanager</artifactId>
727
        <version>${hibernate.version}</version>
728
    </dependency>
729
    <dependency>
730
        <groupId>org.hibernate</groupId>
731
        <artifactId>hibernate-envers</artifactId>
732
        <version>${hibernate.version}</version>
733
    </dependency>
734
    <dependency>
735
        <!-- probably only used by hibernate-core, so remove when removing hibernate-core,
736
             probably it can be removed even before -->
737
        <groupId>antlr</groupId>
738
        <artifactId>antlr</artifactId>
739
        <version>2.7.7</version>
740
    </dependency>
741
    <dependency>
742
	    <groupId>cglib</groupId>
743
	    <artifactId>cglib-nodep</artifactId>
744
	    <version>3.3.0</version>
745
	</dependency>
746
    
747
    <!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder 
748
         is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
749
     -->
750
     <dependency>
751
        <groupId>de.micromata.jak</groupId>
752
        <artifactId>JavaAPIforKml</artifactId>
753
        <version>2.2.1</version><!-- must be same version as in cdmlib -->
754
    </dependency>
755
    <dependency>
756
        <groupId>de.digitalcollections.iiif</groupId>
757
        <artifactId>iiif-apis</artifactId>
758
        <version>0.3.7</version>
759
    </dependency>
760
    
761
    <!-- database related, should be moved to local/test when possible -->
762
    <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
763
    <dependency>
764
      <groupId>mysql</groupId>
765
      <artifactId>mysql-connector-java</artifactId>
766
      <version>8.0.21</version>
767
    </dependency>
768
	<dependency>
769
	    <groupId>com.h2database</groupId>
770
	    <artifactId>h2</artifactId>
771
	    <version>1.4.190</version>
772
	</dependency>
773
    <dependency>
774
        <groupId>org.postgresql</groupId>
775
        <artifactId>postgresql</artifactId>
776
        <version>42.2.18</version>
777
    </dependency>
778
    
779
    <!-- mchange dependencies, needed in datasource view dialog for finish button (ClassName is needed for datasource.xml -->
780
    <dependency>
781
        <groupId>com.mchange</groupId>
782
        <artifactId>c3p0</artifactId>
783
        <version>0.9.5.2</version>
784
		<!--  <scope>test</scope> -->
785
    </dependency>
786
    <dependency>
787
        <groupId>com.mchange</groupId>
788
        <artifactId>mchange-commons-java</artifactId>
789
        <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
790
        <version>0.2.11</version>
791
      </dependency>
792
  </dependencies>
793
</project>
794

    
(5-5/5)