Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.cdmlib / pom.xml @ a69309b2

History | View | Annotate | Download (21.3 KB)

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,opencsv,joda-time,usertype.jodatime,usertype.spi,
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
            <groupId>joda-time</groupId>
272
            <artifactId>joda-time</artifactId>
273
            <version>2.10.6</version>
274
        </dependency>
275
        <dependency>
276
            <groupId>org.jadira.usertype</groupId>
277
            <artifactId>usertype.jodatime</artifactId>
278
            <version>2.0.1</version>
279
        </dependency>
280
        <dependency>
281
            <groupId>org.jadira.usertype</groupId>
282
            <artifactId>usertype.spi</artifactId>
283
            <version>2.0.1</version>
284
        </dependency>
285
    <dependency>
286
      <!-- needed? -->
287
      <groupId>org.jdom</groupId>
288
      <artifactId>jdom2</artifactId>
289
      <version>2.0.6</version>
290
    </dependency>
291
    <dependency>
292
      <!-- needed? -->
293
      <groupId>org.jdom</groupId>
294
      <artifactId>jdom</artifactId>
295
      <version>1.1.3</version>
296
    </dependency>
297
    <dependency>
298
      <groupId>org.springframework</groupId>
299
      <artifactId>spring-context</artifactId>
300
      <version>4.3.28.RELEASE</version>
301
    </dependency>
302
    <dependency>
303
      <groupId>org.springframework</groupId>
304
      <artifactId>spring-context-support</artifactId>
305
      <version>4.3.28.RELEASE</version>
306
    </dependency>
307
    <dependency>
308
      <groupId>org.springframework</groupId>
309
      <artifactId>spring-aspects</artifactId>
310
      <version>4.3.28.RELEASE</version>
311
    </dependency>
312
    <dependency>
313
      <groupId>org.springframework</groupId>
314
      <artifactId>spring-test</artifactId>
315
      <version>4.3.28.RELEASE</version>
316
    </dependency>
317
    <dependency>
318
      <groupId>org.springframework</groupId>
319
      <artifactId>spring-beans</artifactId>
320
      <version>4.3.28.RELEASE</version>
321
    </dependency>
322
    <dependency>
323
      <groupId>org.springframework</groupId>
324
      <artifactId>spring-tx</artifactId>
325
      <version>4.3.28.RELEASE</version>
326
    </dependency>
327
    <dependency>
328
                <groupId>org.springframework</groupId>
329
                <artifactId>spring-web</artifactId>
330
                <version>4.3.28.RELEASE</version>
331
        </dependency>
332
    <dependency>
333
      <groupId>org.springframework</groupId>
334
      <artifactId>spring-core</artifactId>
335
      <version>4.3.28.RELEASE</version>
336
    </dependency>
337
    <dependency>
338
      <groupId>org.springframework</groupId>
339
      <artifactId>spring-aop</artifactId>
340
      <version>4.3.28.RELEASE</version>
341
    </dependency>
342
    <dependency>
343
                <groupId>org.springframework</groupId>
344
                <artifactId>spring-expression</artifactId>
345
                <version>4.3.28.RELEASE</version>
346
        </dependency>
347
   <dependency>
348
                <groupId>org.springframework</groupId>
349
                <artifactId>spring-orm</artifactId>
350
                <version>4.3.28.RELEASE</version>
351
        </dependency>
352
        <dependency>
353
                <groupId>org.springframework</groupId>
354
                <artifactId>spring-oxm</artifactId>
355
                <version>4.3.28.RELEASE</version>
356
        </dependency>
357
    <dependency>
358
                <groupId>org.springframework</groupId>
359
                <artifactId>spring-jdbc</artifactId>
360
                <version>4.3.28.RELEASE</version>
361
        </dependency>
362
    <dependency>
363
      <groupId>org.springframework.security</groupId>
364
      <artifactId>spring-security-core</artifactId>
365
      <version>4.2.18.RELEASE</version>
366
    </dependency>
367
    <dependency>
368
      <groupId>org.springframework.security</groupId>
369
      <artifactId>spring-security-config</artifactId>
370
      <version>4.2.18.RELEASE</version>
371
    </dependency>
372
    <dependency>
373
      <groupId>org.springframework.security</groupId>
374
      <artifactId>spring-security-remoting</artifactId>
375
      <version>4.2.18.RELEASE</version>
376
    </dependency>
377
    <dependency>
378
            <!-- dependency of spring security core, can be removed after
379
            upgrading to spring security 5.x -->
380
            <groupId>aopalliance</groupId>
381
            <artifactId>aopalliance</artifactId>
382
            <version>1.0</version>
383
        </dependency>
384

    
385
    <dependency>
386
        <groupId>commons-beanutils</groupId>
387
        <artifactId>commons-beanutils</artifactId>
388
        <version>1.9.4</version>
389
    </dependency>
390
    <dependency>
391
        <groupId>org.apache.commons</groupId>
392
        <artifactId>commons-imaging</artifactId>
393
        <version>1.0-alpha2</version>
394
    </dependency>
395
        <dependency>
396
            <groupId>net.sf.opencsv</groupId>
397
            <artifactId>opencsv</artifactId>
398
            <version>2.3</version>
399
        </dependency>
400

    
401
    <dependency>
402
      <groupId>org.apache.httpcomponents</groupId>
403
      <artifactId>httpclient</artifactId>
404
    </dependency>
405

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

    
582
    <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
583
        <dependency>
584
            <groupId>com.h2database</groupId>
585
            <artifactId>h2</artifactId>
586
            <version>1.4.190</version>
587
        </dependency>
588
        <dependency>
589
        <groupId>mysql</groupId>
590
        <artifactId>mysql-connector-java</artifactId>
591
        <version>8.0.21</version>
592
    </dependency>
593
    <dependency>
594
        <groupId>org.postgresql</groupId>
595
        <artifactId>postgresql</artifactId>
596
        <version>42.2.15</version>
597
    </dependency>
598
      
599
    <!-- For Unit Tests Start -->
600
        <!-- still needed? -->
601

    
602
    <dependency>
603
      <groupId>commons-dbcp</groupId>
604
      <artifactId>commons-dbcp</artifactId>
605
      <version>1.4</version>
606
    </dependency>
607
    <dependency>
608
      <groupId>commons-pool</groupId>
609
      <artifactId>commons-pool</artifactId>
610
      <version>1.5.4</version>
611
    </dependency>
612
 
613
    <!-- For Unit Tests End -->
614

    
615
    <!-- For Hibernate Mapping Start -->
616
    <dependency>
617
      <groupId>javax.validation</groupId>
618
      <artifactId>validation-api</artifactId>
619
      <version>2.0.1.Final</version>
620
    </dependency>
621
    <!-- For Hibernate Mapping End -->
622
    
623
    <!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder 
624
         is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
625
     -->
626
     <dependency>
627
        <groupId>de.micromata.jak</groupId>
628
        <artifactId>JavaAPIforKml</artifactId>
629
        <version>2.2.1</version><!-- must be same version as in cdmlib -->
630
    </dependency>
631
    <dependency>
632
        <groupId>de.digitalcollections.iiif</groupId>
633
        <artifactId>iiif-apis</artifactId>
634
        <version>0.3.7</version>
635
    </dependency>
636
  </dependencies>
637
</project>
638

    
Add picture from clipboard (Maximum size: 40 MB)