Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.cdmlib / pom.xml @ 3d5bd11a

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

    
360
    <dependency>
361
        <groupId>commons-beanutils</groupId>
362
        <artifactId>commons-beanutils</artifactId>
363
        <version>1.9.4</version>
364
    </dependency>
365
    <dependency>
366
        <groupId>org.apache.commons</groupId>
367
        <artifactId>commons-imaging</artifactId>
368
        <version>1.0-alpha2</version>
369
      </dependency>
370
    <dependency>
371
      <groupId>au.com.bytecode</groupId>
372
      <artifactId>opencsv</artifactId>
373
      <version>2.4</version>
374
    </dependency>
375

    
376
    <dependency>
377
      <groupId>org.apache.httpcomponents</groupId>
378
      <artifactId>httpclient</artifactId>
379
    </dependency>
380

    
381
    <dependency>
382
        <groupId>org.apache.commons</groupId>
383
        <artifactId>commons-lang3</artifactId>
384
        <version>3.11</version>
385
    </dependency>
386
    <dependency>
387
        <!-- needed at least in taxeditor.test by BundleLoader; try to move there but test carefully -->
388
        <groupId>commons-lang</groupId>
389
        <artifactId>commons-lang</artifactId>
390
        <version>2.6</version>
391
    </dependency>
392
    
393
    <!-- jackson, not sure if really needed -->
394
    <dependency>
395
        <groupId>com.fasterxml.jackson.core</groupId>
396
        <artifactId>jackson-databind</artifactId>
397
        <version>${jackson.version}</version>
398
    </dependency>
399
    <dependency>
400
        <groupId>com.fasterxml.jackson.core</groupId>
401
        <artifactId>jackson-core</artifactId>
402
        <version>${jackson.version}</version>
403
    </dependency>
404
    <dependency>
405
        <groupId>com.fasterxml.jackson.core</groupId>
406
        <artifactId>jackson-annotations</artifactId>
407
        <version>${jackson.version}</version>
408
    </dependency>
409
    
410
    <dependency>
411
        <!-- needed? -->
412
        <groupId>xerces</groupId>
413
        <artifactId>xercesImpl</artifactId>
414
        <version>2.12.0</version>
415
    </dependency>
416
    
417
    <dependency>
418
       <groupId>org.aspectj</groupId>
419
       <artifactId>aspectjweaver</artifactId>
420
       <version>1.9.6</version>
421
    </dependency>
422
    <dependency>
423
       <groupId>org.aspectj</groupId>
424
       <artifactId>aspectjrt</artifactId>
425
       <version>1.9.6</version>
426
    </dependency>
427
    <dependency>
428
       <groupId>org.hibernate.javax.persistence</groupId>
429
       <artifactId>hibernate-jpa-2.1-api</artifactId>
430
       <version>1.0.2.Final</version>
431
    </dependency>
432
    <dependency>
433
        <groupId>org.javassist</groupId>
434
        <artifactId>javassist</artifactId>
435
        <version>3.27.0-GA</version>
436
    </dependency>
437
    <dependency>
438
        <groupId>org.hibernate.common</groupId>
439
        <artifactId>hibernate-commons-annotations</artifactId>
440
        <version>5.1.0.Final</version>
441
    </dependency>
442
    <dependency>
443
        <groupId>xml-apis</groupId>
444
        <artifactId>xml-apis</artifactId>
445
        <version>1.4.01</version>
446
    </dependency>
447
    <dependency>
448
        <groupId>com.ibm.lsid</groupId>
449
        <artifactId>lsid-client</artifactId>
450
        <version>1.1.2</version>
451
    </dependency>
452
    
453
        <!-- logging -->
454
    <dependency>
455
        <!-- needed? -->
456
        <groupId>org.jboss.logging</groupId>
457
        <artifactId>jboss-logging</artifactId>
458
        <version>3.4.1.Final</version>
459
    </dependency>
460
    <dependency> 
461
            <groupId>org.slf4j</groupId>
462
            <artifactId>slf4j-api</artifactId>
463
            <version>1.7.30</version>
464
        </dependency>
465
    <dependency> 
466
            <groupId>org.slf4j</groupId>
467
            <artifactId>slf4j-log4j12</artifactId>
468
            <version>1.7.30</version>
469
        </dependency>
470
        <!-- slf4j-nop is not needed -->
471
    
472
        <!-- validation, needed? -->
473
        <dependency>
474
            <groupId>org.hibernate.validator</groupId>
475
            <artifactId>hibernate-validator</artifactId>
476
            <version>6.1.5.Final</version>
477
        </dependency>
478
        <dependency>
479
            <groupId>org.hibernate.validator</groupId>
480
            <artifactId>hibernate-validator-cdi</artifactId>
481
            <version>6.1.5.Final</version>
482
        </dependency>
483
    <dependency>
484
        <groupId>com.fasterxml</groupId>
485
        <artifactId>classmate</artifactId>
486
        <version>1.5.1</version>
487
    </dependency>
488
    <dependency>
489
        <groupId>javax.el</groupId>
490
        <artifactId>javax.el-api</artifactId>
491
        <version>3.0.0</version>
492
    </dependency>
493
    
494
    <dependency>
495
            <!-- used in AuthenticatingHttpInvokerRequestExecutor -->
496
        <groupId>commons-codec</groupId>
497
        <artifactId>commons-codec</artifactId>
498
        <version>1.14</version>
499
    </dependency>
500

    
501
    <!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
502
        <dependency>
503
            <groupId>com.h2database</groupId>
504
            <artifactId>h2</artifactId>
505
            <version>1.4.190</version>
506
        </dependency>
507
        <dependency>
508
        <groupId>mysql</groupId>
509
        <artifactId>mysql-connector-java</artifactId>
510
        <version>8.0.21</version>
511
    </dependency>
512
    <dependency>
513
        <groupId>org.postgresql</groupId>
514
        <artifactId>postgresql</artifactId>
515
        <version>42.2.15</version>
516
    </dependency>
517
      
518
    <!-- For Unit Tests Start -->
519
        <!-- still needed? -->
520

    
521
    <dependency>
522
      <groupId>commons-dbcp</groupId>
523
      <artifactId>commons-dbcp</artifactId>
524
      <version>1.4</version>
525
    </dependency>
526
    <dependency>
527
      <groupId>commons-pool</groupId>
528
      <artifactId>commons-pool</artifactId>
529
      <version>1.5.4</version>
530
    </dependency>
531
 
532
    <!-- For Unit Tests End -->
533

    
534
    <!-- For Hibernate Mapping Start -->
535
    <dependency>
536
      <groupId>wsdl4j</groupId>
537
      <artifactId>wsdl4j</artifactId>
538
      <version>1.6.3</version>
539
    </dependency>
540
    <dependency>
541
      <groupId>javax.validation</groupId>
542
      <artifactId>validation-api</artifactId>
543
      <version>2.0.1.Final</version>
544
    </dependency>
545
    <!-- For Hibernate Mapping End -->
546
    
547
    <!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder 
548
         is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
549
     -->
550
     <dependency>
551
        <groupId>de.micromata.jak</groupId>
552
        <artifactId>JavaAPIforKml</artifactId>
553
        <version>2.2.1</version><!-- must be same version as in cdmlib -->
554
    </dependency>
555
    <dependency>
556
        <groupId>de.digitalcollections.iiif</groupId>
557
        <artifactId>iiif-apis</artifactId>
558
        <version>0.3.7</version>
559
    </dependency>
560
  </dependencies>
561
</project>
562

    
Add picture from clipboard (Maximum size: 40 MB)