Project

General

Profile

Download (27.1 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.11.2</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.6</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
    </dependency>
429

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

    
663
    <!-- For Unit Tests Start -->
664
	<!-- keep junit and its dependency hamcrest here as long as each plugin
665
	     has its own unit tests and junit is not yet added there in a way
666
	     that it does not appear in production bundles -->
667
	<dependency>
668
        <groupId>junit</groupId>
669
        <artifactId>junit</artifactId>
670
        <version>4.13.1</version>
671
        <scope>test</scope>
672
    </dependency>
673
    <dependency>
674
        <groupId>org.hamcrest</groupId>
675
        <artifactId>hamcrest-core</artifactId>
676
        <version>1.3</version>
677
<!--         <scope>test</scope> -->
678
    </dependency>
679
	 
680
<!-- For Unit Tests End -->
681

    
682
<!-- dbcp and pool needed for H2Local and unitils, 
683
     move to taxeditor.webapp and taxedtior.test once all db dependencies are moved to webapp-->    
684
    <dependency>
685
      <groupId>commons-dbcp</groupId>
686
      <artifactId>commons-dbcp</artifactId>
687
      <version>1.4</version>
688
    </dependency>
689
    <dependency>
690
      <groupId>commons-pool</groupId>
691
      <artifactId>commons-pool</artifactId>
692
      <version>1.6</version>
693
    </dependency>
694

    
695

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

    
(5-5/5)