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,h2,jackson-databind,jackson-annotations,jackson-core
|
62
|
</includeArtifactIds>
|
63
|
<outputDirectory>
|
64
|
${basedir}/lib
|
65
|
</outputDirectory>
|
66
|
<overWriteReleases>true</overWriteReleases>
|
67
|
<overWriteSnapshots>true</overWriteSnapshots>
|
68
|
<excludeTransitive>true</excludeTransitive>
|
69
|
</configuration>
|
70
|
</execution>
|
71
|
<execution>
|
72
|
<id>copy-dependency-jars-transitive</id>
|
73
|
<phase>validate</phase>
|
74
|
<goals>
|
75
|
<goal>copy-dependencies</goal>
|
76
|
</goals>
|
77
|
<configuration>
|
78
|
<includeArtifactIds>
|
79
|
httpclient-cache,httpcore,httpmime,xercesImpl
|
80
|
<!-- c3p0,mchange-commons-java,h2,postgresql,mysql-connector-java,jdbc4 -->
|
81
|
</includeArtifactIds>
|
82
|
<outputDirectory>
|
83
|
${basedir}/lib
|
84
|
</outputDirectory>
|
85
|
<overWriteReleases>true</overWriteReleases>
|
86
|
<overWriteSnapshots>true</overWriteSnapshots>
|
87
|
<excludeTransitive>false</excludeTransitive>
|
88
|
</configuration>
|
89
|
</execution>
|
90
|
</executions>
|
91
|
</plugin>
|
92
|
<plugin>
|
93
|
<groupId>org.apache.maven.plugins</groupId>
|
94
|
<artifactId>maven-antrun-plugin</artifactId>
|
95
|
<executions>
|
96
|
<execution>
|
97
|
<id>update-snapshot-jar-names</id>
|
98
|
<phase>validate</phase>
|
99
|
<goals>
|
100
|
<goal>run</goal>
|
101
|
</goals>
|
102
|
<configuration>
|
103
|
<target>
|
104
|
<echo>Update cdmlib jars to SNAPSHOT when build with
|
105
|
timestamp
|
106
|
</echo>
|
107
|
<move todir="./lib">
|
108
|
<fileset dir="./lib" />
|
109
|
<mapper type="regexp"
|
110
|
from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
|
111
|
to="\1SNAPSHOT\2" />
|
112
|
</move>
|
113
|
<move todir="./lib">
|
114
|
<fileset dir="./lib" />
|
115
|
<mapper type="regexp"
|
116
|
from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
|
117
|
to="\1SNAPSHOT\2" />
|
118
|
</move>
|
119
|
</target>
|
120
|
</configuration>
|
121
|
</execution>
|
122
|
<execution>
|
123
|
<id>remove-existing-jars</id>
|
124
|
<phase>clean</phase>
|
125
|
<goals>
|
126
|
<goal>run</goal>
|
127
|
</goals>
|
128
|
<configuration>
|
129
|
<target>
|
130
|
<echo>Remove all cdmlib jars</echo>
|
131
|
<delete>
|
132
|
<fileset dir="./lib" includes="cdmlib-*" />
|
133
|
</delete>
|
134
|
</target>
|
135
|
</configuration>
|
136
|
</execution>
|
137
|
</executions>
|
138
|
</plugin>
|
139
|
</plugins>
|
140
|
</build>
|
141
|
<profiles>
|
142
|
<profile>
|
143
|
<id>copyAllJars</id>
|
144
|
<build>
|
145
|
<plugins>
|
146
|
<plugin>
|
147
|
<groupId>org.apache.maven.plugins</groupId>
|
148
|
<artifactId>maven-dependency-plugin</artifactId>
|
149
|
<version>2.4</version>
|
150
|
<executions>
|
151
|
<execution>
|
152
|
<id>copy-all-dependencies</id>
|
153
|
<phase>validate</phase>
|
154
|
<goals>
|
155
|
<goal>copy-dependencies</goal>
|
156
|
</goals>
|
157
|
<configuration>
|
158
|
<excludeArtifactIds>
|
159
|
cdmlib-remote-webapp
|
160
|
</excludeArtifactIds>
|
161
|
<outputDirectory>${basedir}/lib</outputDirectory>
|
162
|
<overWriteReleases>true</overWriteReleases>
|
163
|
<overWriteSnapshots>true</overWriteSnapshots>
|
164
|
<excludeTransitive>true</excludeTransitive>
|
165
|
</configuration>
|
166
|
</execution>
|
167
|
</executions>
|
168
|
</plugin>
|
169
|
</plugins>
|
170
|
</build>
|
171
|
</profile>
|
172
|
</profiles>
|
173
|
<repositories>
|
174
|
<repository>
|
175
|
<id>SpringSource Enterprise Bundle Repository - External Bundle
|
176
|
Milestones
|
177
|
</id>
|
178
|
<url>http://repository.springsource.com/maven/bundles/milestone
|
179
|
</url>
|
180
|
</repository>
|
181
|
<repository>
|
182
|
<id>SpringSource Enterprise Bundle Repository - SpringSource
|
183
|
Bundle
|
184
|
Releases
|
185
|
</id>
|
186
|
<url>http://repository.springsource.com/maven/bundles/release
|
187
|
</url>
|
188
|
</repository>
|
189
|
<repository>
|
190
|
<id>SpringSource Enterprise Bundle Repository - External Bundle
|
191
|
Releases
|
192
|
</id>
|
193
|
<url>http://repository.springsource.com/maven/bundles/external
|
194
|
</url>
|
195
|
</repository>
|
196
|
<repository>
|
197
|
<id>repository.springsource.release</id>
|
198
|
<name>SpringSource GA Repository</name>
|
199
|
<url>http://repo.springsource.org/release</url>
|
200
|
</repository>
|
201
|
</repositories>
|
202
|
<dependencies>
|
203
|
<dependency>
|
204
|
<groupId>eu.etaxonomy</groupId>
|
205
|
<artifactId>cdmlib-commons</artifactId>
|
206
|
<version>${cdmlib.version}</version>
|
207
|
</dependency>
|
208
|
<dependency>
|
209
|
<groupId>eu.etaxonomy</groupId>
|
210
|
<artifactId>cdmlib-model</artifactId>
|
211
|
<version>${cdmlib.version}</version>
|
212
|
</dependency>
|
213
|
<dependency>
|
214
|
<groupId>eu.etaxonomy</groupId>
|
215
|
<artifactId>cdmlib-persistence</artifactId>
|
216
|
<version>${cdmlib.version}</version>
|
217
|
</dependency>
|
218
|
<dependency>
|
219
|
<groupId>eu.etaxonomy</groupId>
|
220
|
<artifactId>cdmlib-remote</artifactId>
|
221
|
<version>${cdmlib.version}</version>
|
222
|
</dependency>
|
223
|
<dependency>
|
224
|
<groupId>eu.etaxonomy</groupId>
|
225
|
<artifactId>cdmlib-print</artifactId>
|
226
|
<version>${cdmlib.version}</version>
|
227
|
</dependency>
|
228
|
<dependency>
|
229
|
<groupId>eu.etaxonomy</groupId>
|
230
|
<artifactId>cdmlib-services</artifactId>
|
231
|
<version>${cdmlib.version}</version>
|
232
|
</dependency>
|
233
|
<dependency>
|
234
|
<groupId>eu.etaxonomy</groupId>
|
235
|
<artifactId>cdmlib-io</artifactId>
|
236
|
<version>${cdmlib.version}</version>
|
237
|
</dependency>
|
238
|
<dependency>
|
239
|
<groupId>eu.etaxonomy</groupId>
|
240
|
<artifactId>cdmlib-ext</artifactId>
|
241
|
<version>${cdmlib.version}</version>
|
242
|
</dependency>
|
243
|
<dependency>
|
244
|
<groupId>eu.etaxonomy</groupId>
|
245
|
<artifactId>cdmlib-cache</artifactId>
|
246
|
<version>${cdmlib.version}</version>
|
247
|
</dependency>
|
248
|
<dependency>
|
249
|
<groupId>dom4j</groupId>
|
250
|
<artifactId>dom4j</artifactId>
|
251
|
<version>1.6</version>
|
252
|
</dependency>
|
253
|
<dependency>
|
254
|
<groupId>log4j</groupId>
|
255
|
<artifactId>log4j</artifactId>
|
256
|
<version>1.2.17</version>
|
257
|
</dependency>
|
258
|
<dependency>
|
259
|
<groupId>org.jdom</groupId>
|
260
|
<artifactId>jdom</artifactId>
|
261
|
<version>1.1.3</version>
|
262
|
</dependency>
|
263
|
<dependency>
|
264
|
<groupId>org.springframework</groupId>
|
265
|
<artifactId>spring-context</artifactId>
|
266
|
<version>4.2.4.RELEASE</version>
|
267
|
</dependency>
|
268
|
<dependency>
|
269
|
<groupId>org.springframework</groupId>
|
270
|
<artifactId>spring-context-support</artifactId>
|
271
|
<version>4.2.4.RELEASE</version>
|
272
|
</dependency>
|
273
|
<dependency>
|
274
|
<groupId>org.springframework</groupId>
|
275
|
<artifactId>spring-aspects</artifactId>
|
276
|
<version>4.2.4.RELEASE</version>
|
277
|
</dependency>
|
278
|
<dependency>
|
279
|
<groupId>org.springframework</groupId>
|
280
|
<artifactId>spring-test</artifactId>
|
281
|
<version>4.2.4.RELEASE</version>
|
282
|
</dependency>
|
283
|
<dependency>
|
284
|
<groupId>org.springframework</groupId>
|
285
|
<artifactId>spring-beans</artifactId>
|
286
|
<version>4.2.4.RELEASE</version>
|
287
|
</dependency>
|
288
|
<dependency>
|
289
|
<groupId>org.springframework</groupId>
|
290
|
<artifactId>spring-tx</artifactId>
|
291
|
<version>4.2.4.RELEASE</version>
|
292
|
</dependency>
|
293
|
<dependency>
|
294
|
<groupId>org.springframework</groupId>
|
295
|
<artifactId>spring-web</artifactId>
|
296
|
<version>4.2.4.RELEASE</version>
|
297
|
</dependency>
|
298
|
<dependency>
|
299
|
<groupId>org.springframework</groupId>
|
300
|
<artifactId>spring-core</artifactId>
|
301
|
<version>4.2.4.RELEASE</version>
|
302
|
</dependency>
|
303
|
<dependency>
|
304
|
<groupId>org.springframework</groupId>
|
305
|
<artifactId>spring-aop</artifactId>
|
306
|
<version>4.2.4.RELEASE</version>
|
307
|
</dependency>
|
308
|
<dependency>
|
309
|
<groupId>org.springframework</groupId>
|
310
|
<artifactId>spring-expression</artifactId>
|
311
|
<version>4.2.4.RELEASE</version>
|
312
|
</dependency>
|
313
|
<dependency>
|
314
|
<groupId>org.springframework</groupId>
|
315
|
<artifactId>spring-orm</artifactId>
|
316
|
<version>4.2.4.RELEASE</version>
|
317
|
</dependency>
|
318
|
<dependency>
|
319
|
<groupId>org.springframework</groupId>
|
320
|
<artifactId>spring-jdbc</artifactId>
|
321
|
<version>4.2.4.RELEASE</version>
|
322
|
</dependency>
|
323
|
<dependency>
|
324
|
<groupId>org.springframework.security</groupId>
|
325
|
<artifactId>spring-security-core</artifactId>
|
326
|
<version>4.0.3.RELEASE</version>
|
327
|
</dependency>
|
328
|
<dependency>
|
329
|
<groupId>org.springframework.security</groupId>
|
330
|
<artifactId>spring-security-config</artifactId>
|
331
|
<version>4.0.3.RELEASE</version>
|
332
|
</dependency>
|
333
|
<dependency>
|
334
|
<groupId>org.springframework.security</groupId>
|
335
|
<artifactId>spring-security-remoting</artifactId>
|
336
|
<version>4.0.3.RELEASE</version>
|
337
|
</dependency>
|
338
|
<dependency>
|
339
|
<groupId>commons-lang</groupId>
|
340
|
<artifactId>commons-lang</artifactId>
|
341
|
<version>2.6</version>
|
342
|
</dependency>
|
343
|
<dependency>
|
344
|
<groupId>commons-beanutils</groupId>
|
345
|
<artifactId>commons-beanutils</artifactId>
|
346
|
<version>1.9.4</version>
|
347
|
</dependency>
|
348
|
<dependency>
|
349
|
<groupId>org.apache.commons</groupId>
|
350
|
<artifactId>commons-imaging</artifactId>
|
351
|
<version>1.0-alpha2</version>
|
352
|
</dependency>
|
353
|
<dependency>
|
354
|
<groupId>au.com.bytecode</groupId>
|
355
|
<artifactId>opencsv</artifactId>
|
356
|
<version>2.4</version>
|
357
|
</dependency>
|
358
|
|
359
|
<dependency>
|
360
|
<groupId>org.apache.httpcomponents</groupId>
|
361
|
<artifactId>httpclient</artifactId>
|
362
|
</dependency>
|
363
|
|
364
|
<dependency>
|
365
|
<groupId>org.apache.commons</groupId>
|
366
|
<artifactId>commons-lang3</artifactId>
|
367
|
<version>3.10</version>
|
368
|
</dependency>
|
369
|
|
370
|
<!-- jackson, not sure if really needed -->
|
371
|
<dependency>
|
372
|
<groupId>com.fasterxml.jackson.core</groupId>
|
373
|
<artifactId>jackson-databind</artifactId>
|
374
|
<version>${jackson.version}</version>
|
375
|
</dependency>
|
376
|
<dependency>
|
377
|
<groupId>com.fasterxml.jackson.core</groupId>
|
378
|
<artifactId>jackson-core</artifactId>
|
379
|
<version>${jackson.version}</version>
|
380
|
</dependency>
|
381
|
<dependency>
|
382
|
<groupId>com.fasterxml.jackson.core</groupId>
|
383
|
<artifactId>jackson-annotations</artifactId>
|
384
|
<version>${jackson.version}</version>
|
385
|
</dependency>
|
386
|
|
387
|
<dependency>
|
388
|
<!-- needed? -->
|
389
|
<groupId>xerces</groupId>
|
390
|
<artifactId>xercesImpl</artifactId>
|
391
|
<version>2.12.0</version>
|
392
|
</dependency>
|
393
|
|
394
|
<dependency>
|
395
|
<!-- used in AuthenticatingHttpInvokerRequestExecutor -->
|
396
|
<groupId>commons-codec</groupId>
|
397
|
<artifactId>commons-codec</artifactId>
|
398
|
<version>1.14</version>
|
399
|
</dependency>
|
400
|
|
401
|
<!-- only for supporting test button in datasource dialogue, dialogue should be moved to taxeditor.webapp -->
|
402
|
<dependency>
|
403
|
<groupId>com.h2database</groupId>
|
404
|
<artifactId>h2</artifactId>
|
405
|
<version>1.4.190</version>
|
406
|
</dependency>
|
407
|
|
408
|
<!-- For Unit Tests Start -->
|
409
|
<!-- still needed? -->
|
410
|
|
411
|
<dependency>
|
412
|
<groupId>commons-dbcp</groupId>
|
413
|
<artifactId>commons-dbcp</artifactId>
|
414
|
<version>1.4</version>
|
415
|
</dependency>
|
416
|
<dependency>
|
417
|
<groupId>commons-pool</groupId>
|
418
|
<artifactId>commons-pool</artifactId>
|
419
|
<version>1.5.4</version>
|
420
|
</dependency>
|
421
|
|
422
|
<!-- For Unit Tests End -->
|
423
|
|
424
|
<!-- For Hibernate Mapping Start -->
|
425
|
<dependency>
|
426
|
<groupId>wsdl4j</groupId>
|
427
|
<artifactId>wsdl4j</artifactId>
|
428
|
<version>1.6.3</version>
|
429
|
</dependency>
|
430
|
<dependency>
|
431
|
<groupId>javax.validation</groupId>
|
432
|
<artifactId>validation-api</artifactId>
|
433
|
<version>1.1.0.Final</version>
|
434
|
</dependency>
|
435
|
<!-- For Hibernate Mapping End -->
|
436
|
|
437
|
<!-- KML/IIIF dependencies should not bee needed for the taxeditor, but at current the KMLDocumentBuilder
|
438
|
is used in the EditGeoService bean which is needed to display the distribution maps in the editor.
|
439
|
-->
|
440
|
<dependency>
|
441
|
<groupId>de.micromata.jak</groupId>
|
442
|
<artifactId>JavaAPIforKml</artifactId>
|
443
|
<version>2.2.1</version><!-- must be same version as in cdmlib -->
|
444
|
</dependency>
|
445
|
<dependency>
|
446
|
<groupId>de.digitalcollections.iiif</groupId>
|
447
|
<artifactId>iiif-apis</artifactId>
|
448
|
<version>0.3.7</version>
|
449
|
</dependency>
|
450
|
</dependencies>
|
451
|
</project>
|
452
|
|