Project

General

Profile

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

    
370
    <dependency>
371
        <groupId>commons-beanutils</groupId>
372
        <artifactId>commons-beanutils</artifactId>
373
        <version>1.9.4</version>
374
    </dependency>
375
    <dependency>
376
        <groupId>org.apache.commons</groupId>
377
        <artifactId>commons-imaging</artifactId>
378
        <version>1.0-alpha2</version>
379
      </dependency>
380
    <dependency>
381
      <groupId>au.com.bytecode</groupId>
382
      <artifactId>opencsv</artifactId>
383
      <version>2.4</version>
384
    </dependency>
385

    
386
    <dependency>
387
      <groupId>org.apache.httpcomponents</groupId>
388
      <artifactId>httpclient</artifactId>
389
    </dependency>
390

    
391
    <dependency>
392
        <groupId>org.apache.commons</groupId>
393
        <artifactId>commons-lang3</artifactId>
394
        <version>3.11</version>
395
    </dependency>
396
    <dependency>
397
        <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
398
        <groupId>commons-lang</groupId>
399
        <artifactId>commons-lang</artifactId>
400
        <version>2.6</version>
401
    </dependency>
402
    <dependency>
403
        <!-- maybe only needed for tests, but does not work to only have there -->
404
        <groupId>com.mchange</groupId>
405
        <artifactId>c3p0</artifactId>
406
        <version>0.9.5.2</version>
407
<!--         <scope>test</scope> -->
408
    </dependency>
409
    
410
    <!-- jackson, not sure if really needed -->
411
    <dependency>
412
        <groupId>com.fasterxml.jackson.core</groupId>
413
        <artifactId>jackson-databind</artifactId>
414
        <version>${jackson.version}</version>
415
    </dependency>
416
    <dependency>
417
        <groupId>com.fasterxml.jackson.core</groupId>
418
        <artifactId>jackson-core</artifactId>
419
        <version>${jackson.version}</version>
420
    </dependency>
421
    <dependency>
422
        <groupId>com.fasterxml.jackson.core</groupId>
423
        <artifactId>jackson-annotations</artifactId>
424
        <version>${jackson.version}</version>
425
    </dependency>
426
    
427
    <dependency>
428
        <!-- needed? -->
429
        <groupId>xerces</groupId>
430
        <artifactId>xercesImpl</artifactId>
431
        <version>2.12.0</version>
432
    </dependency>
433
    
434
    <dependency>
435
       <groupId>org.aspectj</groupId>
436
       <artifactId>aspectjweaver</artifactId>
437
       <version>1.9.6</version>
438
    </dependency>
439
    <dependency>
440
       <groupId>org.aspectj</groupId>
441
       <artifactId>aspectjrt</artifactId>
442
       <version>1.9.6</version>
443
    </dependency>
444
    <dependency>
445
       <groupId>org.hibernate.javax.persistence</groupId>
446
       <artifactId>hibernate-jpa-2.1-api</artifactId>
447
       <version>1.0.2.Final</version>
448
    </dependency>
449
    <dependency>
450
        <groupId>org.javassist</groupId>
451
        <artifactId>javassist</artifactId>
452
        <version>3.27.0-GA</version>
453
    </dependency>
454
    <dependency>
455
        <groupId>org.hibernate.common</groupId>
456
        <artifactId>hibernate-commons-annotations</artifactId>
457
        <version>5.1.0.Final</version>
458
    </dependency>
459
    <dependency>
460
        <groupId>xml-apis</groupId>
461
        <artifactId>xml-apis</artifactId>
462
        <version>1.4.01</version>
463
    </dependency>
464
    <dependency>
465
        <groupId>com.ibm.lsid</groupId>
466
        <artifactId>lsid-client</artifactId>
467
        <version>1.1.2</version>
468
    </dependency>
469
    
470
    <!-- poi -->
471
    <!-- needed -->
472
    <dependency>
473
        <groupId>org.apache.poi</groupId>
474
        <artifactId>poi</artifactId>
475
        <version>${poi.version}</version>
476
    </dependency>
477
    <dependency>
478
        <groupId>org.apache.poi</groupId>
479
        <artifactId>poi-ooxml-schemas</artifactId>
480
        <version>${poi.version}</version>
481
    </dependency>
482
    <dependency>
483
        <groupId>org.apache.poi</groupId>
484
        <artifactId>poi-ooxml</artifactId>
485
        <version>${poi.version}</version>
486
    </dependency>
487
    <dependency>
488
      	<groupId>org.apache.xmlbeans</groupId>
489
      	<artifactId>xmlbeans</artifactId>
490
      	<version>3.1.0</version>
491
    </dependency>
492
    <dependency>
493
	    <groupId>org.apache.commons</groupId>
494
	    <artifactId>commons-collections4</artifactId>
495
	    <version>4.4</version>
496
	</dependency>
497
	<dependency>
498
	    <groupId>org.apache.commons</groupId>
499
	    <artifactId>commons-math3</artifactId>
500
	    <version>3.6.1</version>
501
	</dependency>
502
    <!-- not yet included 
503
       poi:   com.zaxxer:SparseBitSet
504
       poi-ooxml   commons-compress,curvesapi
505
     --> 
506
      
507
    <!-- jaxb -->
508
    <dependency>
509
	    <groupId>javax.xml.bind</groupId>
510
	    <artifactId>jaxb-api</artifactId>
511
	    <version>2.3.1</version>
512
	</dependency>  
513
    <dependency>
514
        <groupId>javax.activation</groupId>
515
        <artifactId>javax.activation-api</artifactId>
516
        <version>1.2.0</version>
517
    </dependency>
518
 
519
	<!-- logging -->
520
    <dependency>
521
        <!-- needed? -->
522
        <groupId>org.jboss.logging</groupId>
523
        <artifactId>jboss-logging</artifactId>
524
        <version>3.4.1.Final</version>
525
    </dependency>
526
    <dependency> 
527
	    <groupId>org.slf4j</groupId>
528
	    <artifactId>slf4j-api</artifactId>
529
	    <version>1.7.30</version>
530
	</dependency>
531
    <dependency> 
532
	    <groupId>org.slf4j</groupId>
533
	    <artifactId>slf4j-log4j12</artifactId>
534
	    <version>1.7.30</version>
535
	</dependency>
536
	<!-- slf4j-nop is not needed -->
537
    
538
	<!-- validation, needed? -->
539
	<dependency>
540
    	<groupId>org.hibernate.validator</groupId>
541
    	<artifactId>hibernate-validator</artifactId>
542
    	<version>6.1.5.Final</version>
543
	</dependency>
544
	<dependency>
545
    	<groupId>org.hibernate.validator</groupId>
546
    	<artifactId>hibernate-validator-cdi</artifactId>
547
    	<version>6.1.5.Final</version>
548
	</dependency>
549
    <dependency>
550
        <groupId>com.fasterxml</groupId>
551
        <artifactId>classmate</artifactId>
552
        <version>1.5.1</version>
553
    </dependency>
554
    <dependency>
555
        <groupId>javax.el</groupId>
556
        <artifactId>javax.el-api</artifactId>
557
        <version>3.0.0</version>
558
    </dependency>
559
    
560
    <dependency>
561
    	<!-- used in AuthenticatingHttpInvokerRequestExecutor -->
562
        <groupId>commons-codec</groupId>
563
        <artifactId>commons-codec</artifactId>
564
        <version>1.14</version>
565
    </dependency>
566

    
567
    <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
568
	<dependency>
569
	    <groupId>com.h2database</groupId>
570
	    <artifactId>h2</artifactId>
571
	    <version>1.4.190</version>
572
	</dependency>
573
	<dependency>
574
        <groupId>mysql</groupId>
575
        <artifactId>mysql-connector-java</artifactId>
576
        <version>8.0.21</version>
577
    </dependency>
578
    <dependency>
579
        <groupId>org.postgresql</groupId>
580
        <artifactId>postgresql</artifactId>
581
        <version>42.2.15</version>
582
    </dependency>
583
      
584
    <!-- For Unit Tests Start -->
585
	<!-- still needed? -->
586

    
587
    <dependency>
588
      <groupId>commons-dbcp</groupId>
589
      <artifactId>commons-dbcp</artifactId>
590
      <version>1.4</version>
591
    </dependency>
592
    <dependency>
593
      <groupId>commons-pool</groupId>
594
      <artifactId>commons-pool</artifactId>
595
      <version>1.5.4</version>
596
    </dependency>
597
 
598
    <!-- For Unit Tests End -->
599

    
600
    <!-- For Hibernate Mapping Start -->
601
    <dependency>
602
      <groupId>wsdl4j</groupId>
603
      <artifactId>wsdl4j</artifactId>
604
      <version>1.6.3</version>
605
    </dependency>
606
    <dependency>
607
      <groupId>javax.validation</groupId>
608
      <artifactId>validation-api</artifactId>
609
      <version>2.0.1.Final</version>
610
    </dependency>
611
    <!-- For Hibernate Mapping End -->
612
    
613
    <!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder 
614
         is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
615
     -->
616
     <dependency>
617
        <groupId>de.micromata.jak</groupId>
618
        <artifactId>JavaAPIforKml</artifactId>
619
        <version>2.2.1</version><!-- must be same version as in cdmlib -->
620
    </dependency>
621
    <dependency>
622
        <groupId>de.digitalcollections.iiif</groupId>
623
        <artifactId>iiif-apis</artifactId>
624
        <version>0.3.7</version>
625
    </dependency>
626
  </dependencies>
627
</project>
628

    
(5-5/5)