Project

General

Profile

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

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

    
515
    <dependency>
516
      <groupId>commons-dbcp</groupId>
517
      <artifactId>commons-dbcp</artifactId>
518
      <version>1.4</version>
519
    </dependency>
520
    <dependency>
521
      <groupId>commons-pool</groupId>
522
      <artifactId>commons-pool</artifactId>
523
      <version>1.5.4</version>
524
    </dependency>
525
 
526
    <!-- For Unit Tests End -->
527

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

    
(5-5/5)