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.4.3</version>
|
8
|
</parent>
|
9
|
<modelVersion>4.0.0</modelVersion>
|
10
|
<artifactId>eu.etaxonomy.taxeditor.cdmlib</artifactId>
|
11
|
<packaging>eclipse-plugin</packaging>
|
12
|
<name>CDM Library Dependencies Plugin</name>
|
13
|
<description>CDM Library and dependencies as a plugin</description>
|
14
|
|
15
|
<build>
|
16
|
<pluginManagement>
|
17
|
<plugins>
|
18
|
<plugin>
|
19
|
<groupId>org.apache.maven.plugins</groupId>
|
20
|
<artifactId>maven-surefire-plugin</artifactId>
|
21
|
<version>2.7</version>
|
22
|
</plugin>
|
23
|
</plugins>
|
24
|
</pluginManagement>
|
25
|
<plugins>
|
26
|
<plugin>
|
27
|
<groupId>org.apache.maven.plugins</groupId>
|
28
|
<artifactId>maven-dependency-plugin</artifactId>
|
29
|
<version>2.4</version>
|
30
|
<executions>
|
31
|
<execution>
|
32
|
<id>copy-dependencies</id>
|
33
|
<phase>validate</phase>
|
34
|
<goals>
|
35
|
<goal>copy-dependencies</goal>
|
36
|
</goals>
|
37
|
<configuration>
|
38
|
<excludeArtifactIds>
|
39
|
cdmlib-remote-webapp
|
40
|
</excludeArtifactIds>
|
41
|
<includeArtifactIds>
|
42
|
cdmlib-services,cdmlib-commons,cdmlib-cache,cdmlib-persistence,cdmlib-ext,cdmlib-model,cdmlib-io,cdmlib-print,cdmlib-remote,cdmlib-test
|
43
|
</includeArtifactIds>
|
44
|
<outputDirectory>${basedir}/lib</outputDirectory>
|
45
|
<overWriteReleases>true</overWriteReleases>
|
46
|
<overWriteSnapshots>true</overWriteSnapshots>
|
47
|
<excludeTransitive>true</excludeTransitive>
|
48
|
</configuration>
|
49
|
</execution>
|
50
|
<execution>
|
51
|
<id>copy-dependency-war</id>
|
52
|
<phase>validate</phase>
|
53
|
<goals>
|
54
|
<goal>copy-dependencies</goal>
|
55
|
</goals>
|
56
|
<configuration>
|
57
|
<includeArtifactIds>
|
58
|
cdmlib-remote-webapp
|
59
|
</includeArtifactIds>
|
60
|
<outputDirectory>
|
61
|
${basedir}/src/main/resources/etc/jetty
|
62
|
</outputDirectory>
|
63
|
<overWriteReleases>true</overWriteReleases>
|
64
|
<overWriteSnapshots>true</overWriteSnapshots>
|
65
|
<excludeTransitive>true</excludeTransitive>
|
66
|
</configuration>
|
67
|
</execution>
|
68
|
</executions>
|
69
|
</plugin>
|
70
|
<plugin>
|
71
|
<groupId>org.apache.maven.plugins</groupId>
|
72
|
<artifactId>maven-antrun-plugin</artifactId>
|
73
|
<version>1.7</version>
|
74
|
<executions>
|
75
|
<execution>
|
76
|
<id>update-snapshot-jar-names</id>
|
77
|
<phase>validate</phase>
|
78
|
<goals>
|
79
|
<goal>run</goal>
|
80
|
</goals>
|
81
|
<configuration>
|
82
|
<target>
|
83
|
<echo>Anonymizing war</echo>
|
84
|
<move todir="./src/main/resources/etc/jetty">
|
85
|
<fileset dir="./src/main/resources/etc/jetty" />
|
86
|
<mapper type="regexp"
|
87
|
from="(^cdmlib\-remote\-webapp).*(\.war)" to="\1\2" />
|
88
|
</move>
|
89
|
<echo>Update cdmlib jars to SNAPSHOT when build with
|
90
|
timestamp
|
91
|
</echo>
|
92
|
<move todir="./lib">
|
93
|
<fileset dir="./lib" />
|
94
|
<mapper type="regexp"
|
95
|
from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\.jar)"
|
96
|
to="\1SNAPSHOT\2" />
|
97
|
</move>
|
98
|
<move todir="./lib">
|
99
|
<fileset dir="./lib" />
|
100
|
<mapper type="regexp"
|
101
|
from="(^cdmlib\-.*\-\d+\.\d+\.\d+\-)[\d.-]+(\-sources\.jar)"
|
102
|
to="\1SNAPSHOT\2" />
|
103
|
</move>
|
104
|
</target>
|
105
|
</configuration>
|
106
|
</execution>
|
107
|
<execution>
|
108
|
<id>remove-existing-jars</id>
|
109
|
<phase>clean</phase>
|
110
|
<goals>
|
111
|
<goal>run</goal>
|
112
|
</goals>
|
113
|
<configuration>
|
114
|
<target>
|
115
|
<echo>Remove all cdmlib jars</echo>
|
116
|
<delete>
|
117
|
<fileset dir="./lib" includes="cdmlib-*" />
|
118
|
</delete>
|
119
|
</target>
|
120
|
</configuration>
|
121
|
</execution>
|
122
|
</executions>
|
123
|
</plugin>
|
124
|
</plugins>
|
125
|
</build>
|
126
|
<profiles>
|
127
|
<profile>
|
128
|
<id>copyAllJars</id>
|
129
|
<build>
|
130
|
<plugins>
|
131
|
<plugin>
|
132
|
<groupId>org.apache.maven.plugins</groupId>
|
133
|
<artifactId>maven-dependency-plugin</artifactId>
|
134
|
<version>2.4</version>
|
135
|
<executions>
|
136
|
<execution>
|
137
|
<id>copy-all-dependencies</id>
|
138
|
<phase>validate</phase>
|
139
|
<goals>
|
140
|
<goal>copy-dependencies</goal>
|
141
|
</goals>
|
142
|
<configuration>
|
143
|
<excludeArtifactIds>
|
144
|
cdmlib-remote-webapp
|
145
|
</excludeArtifactIds>
|
146
|
<outputDirectory>${basedir}/lib</outputDirectory>
|
147
|
<overWriteReleases>true</overWriteReleases>
|
148
|
<overWriteSnapshots>true</overWriteSnapshots>
|
149
|
<excludeTransitive>true</excludeTransitive>
|
150
|
</configuration>
|
151
|
</execution>
|
152
|
</executions>
|
153
|
</plugin>
|
154
|
</plugins>
|
155
|
</build>
|
156
|
</profile>
|
157
|
</profiles>
|
158
|
<repositories>
|
159
|
<repository>
|
160
|
<id>SpringSource Enterprise Bundle Repository - External Bundle
|
161
|
Milestones
|
162
|
</id>
|
163
|
<url>http://repository.springsource.com/maven/bundles/milestone
|
164
|
</url>
|
165
|
</repository>
|
166
|
<repository>
|
167
|
<id>SpringSource Enterprise Bundle Repository - SpringSource
|
168
|
Bundle
|
169
|
Releases
|
170
|
</id>
|
171
|
<url>http://repository.springsource.com/maven/bundles/release
|
172
|
</url>
|
173
|
</repository>
|
174
|
<repository>
|
175
|
<id>SpringSource Enterprise Bundle Repository - External Bundle
|
176
|
Releases
|
177
|
</id>
|
178
|
<url>http://repository.springsource.com/maven/bundles/external
|
179
|
</url>
|
180
|
</repository>
|
181
|
<repository>
|
182
|
<id>repository.springsource.release</id>
|
183
|
<name>SpringSource GA Repository</name>
|
184
|
<url>http://repo.springsource.org/release</url>
|
185
|
</repository>
|
186
|
</repositories>
|
187
|
<dependencies>
|
188
|
<dependency>
|
189
|
<groupId>eu.etaxonomy</groupId>
|
190
|
<artifactId>cdmlib-remote-webapp</artifactId>
|
191
|
<version>${cdmlib.version}</version>
|
192
|
<type>war</type>
|
193
|
</dependency>
|
194
|
<dependency>
|
195
|
<groupId>eu.etaxonomy</groupId>
|
196
|
<artifactId>cdmlib-commons</artifactId>
|
197
|
<version>${cdmlib.version}</version>
|
198
|
</dependency>
|
199
|
<dependency>
|
200
|
<groupId>eu.etaxonomy</groupId>
|
201
|
<artifactId>cdmlib-model</artifactId>
|
202
|
<version>${cdmlib.version}</version>
|
203
|
</dependency>
|
204
|
<dependency>
|
205
|
<groupId>eu.etaxonomy</groupId>
|
206
|
<artifactId>cdmlib-persistence</artifactId>
|
207
|
<version>${cdmlib.version}</version>
|
208
|
</dependency>
|
209
|
<dependency>
|
210
|
<groupId>eu.etaxonomy</groupId>
|
211
|
<artifactId>cdmlib-remote</artifactId>
|
212
|
<version>${cdmlib.version}</version>
|
213
|
</dependency>
|
214
|
<dependency>
|
215
|
<groupId>eu.etaxonomy</groupId>
|
216
|
<artifactId>cdmlib-print</artifactId>
|
217
|
<version>${cdmlib.version}</version>
|
218
|
</dependency>
|
219
|
<dependency>
|
220
|
<groupId>eu.etaxonomy</groupId>
|
221
|
<artifactId>cdmlib-services</artifactId>
|
222
|
<version>${cdmlib.version}</version>
|
223
|
</dependency>
|
224
|
<dependency>
|
225
|
<groupId>eu.etaxonomy</groupId>
|
226
|
<artifactId>cdmlib-io</artifactId>
|
227
|
<version>${cdmlib.version}</version>
|
228
|
</dependency>
|
229
|
<dependency>
|
230
|
<groupId>eu.etaxonomy</groupId>
|
231
|
<artifactId>cdmlib-ext</artifactId>
|
232
|
<version>${cdmlib.version}</version>
|
233
|
</dependency>
|
234
|
<dependency>
|
235
|
<groupId>eu.etaxonomy</groupId>
|
236
|
<artifactId>cdmlib-test</artifactId>
|
237
|
<version>${cdmlib.version}</version>
|
238
|
</dependency>
|
239
|
<dependency>
|
240
|
<groupId>eu.etaxonomy</groupId>
|
241
|
<artifactId>cdmlib-cache</artifactId>
|
242
|
<version>${cdmlib.version}</version>
|
243
|
</dependency>
|
244
|
<dependency>
|
245
|
<groupId>net.sf.ehcache</groupId>
|
246
|
<artifactId>ehcache-core</artifactId>
|
247
|
<version>2.4.3</version>
|
248
|
</dependency>
|
249
|
<dependency>
|
250
|
<groupId>org.hibernate</groupId>
|
251
|
<artifactId>hibernate-core</artifactId>
|
252
|
<version>4.1.10.Final</version>
|
253
|
</dependency>
|
254
|
<dependency>
|
255
|
<groupId>org.hibernate.common</groupId>
|
256
|
<artifactId>hibernate-commons-annotations</artifactId>
|
257
|
<version>4.0.1.Final</version>
|
258
|
</dependency>
|
259
|
<dependency>
|
260
|
<groupId>org.hibernate</groupId>
|
261
|
<artifactId>hibernate-search-engine</artifactId>
|
262
|
<version>4.2.0.Final</version>
|
263
|
</dependency>
|
264
|
<dependency>
|
265
|
<groupId>org.hibernate.javax.persistence</groupId>
|
266
|
<artifactId>hibernate-jpa-2.1-api</artifactId>
|
267
|
<version>1.0.0.Final</version>
|
268
|
</dependency>
|
269
|
<dependency>
|
270
|
<groupId>org.hibernate</groupId>
|
271
|
<artifactId>hibernate-envers</artifactId>
|
272
|
<version>4.1.10.Final</version>
|
273
|
</dependency>
|
274
|
<dependency>
|
275
|
<groupId>org.hibernate</groupId>
|
276
|
<artifactId>hibernate-entitymanager</artifactId>
|
277
|
<version>4.1.10.Final</version>
|
278
|
</dependency>
|
279
|
<dependency>
|
280
|
<groupId>dom4j</groupId>
|
281
|
<artifactId>dom4j</artifactId>
|
282
|
<version>1.6</version>
|
283
|
</dependency>
|
284
|
<dependency>
|
285
|
<groupId>org.jadira.usertype</groupId>
|
286
|
<artifactId>usertype.jodatime</artifactId>
|
287
|
<version>2.0.1</version>
|
288
|
</dependency>
|
289
|
<dependency>
|
290
|
<groupId>org.jadira.usertype</groupId>
|
291
|
<artifactId>usertype.spi</artifactId>
|
292
|
<version>2.0.1</version>
|
293
|
</dependency>
|
294
|
|
295
|
<dependency>
|
296
|
<groupId>junit</groupId>
|
297
|
<artifactId>junit</artifactId>
|
298
|
<version>4.11</version>
|
299
|
<scope>test</scope>
|
300
|
</dependency>
|
301
|
<dependency>
|
302
|
<groupId>log4j</groupId>
|
303
|
<artifactId>log4j</artifactId>
|
304
|
<version>1.2.17</version>
|
305
|
</dependency>
|
306
|
<dependency>
|
307
|
<groupId>org.jdom</groupId>
|
308
|
<artifactId>jdom</artifactId>
|
309
|
<version>1.1.3</version>
|
310
|
</dependency>
|
311
|
<dependency>
|
312
|
<groupId>org.springframework</groupId>
|
313
|
<artifactId>spring-context</artifactId>
|
314
|
<version>4.2.4.RELEASE</version>
|
315
|
</dependency>
|
316
|
<dependency>
|
317
|
<groupId>org.springframework</groupId>
|
318
|
<artifactId>spring-context-support</artifactId>
|
319
|
<version>4.2.4.RELEASE</version>
|
320
|
</dependency>
|
321
|
<dependency>
|
322
|
<groupId>org.springframework</groupId>
|
323
|
<artifactId>spring-aspects</artifactId>
|
324
|
<version>4.2.4.RELEASE</version>
|
325
|
</dependency>
|
326
|
<dependency>
|
327
|
<groupId>org.springframework</groupId>
|
328
|
<artifactId>spring-test</artifactId>
|
329
|
<version>4.2.4.RELEASE</version>
|
330
|
</dependency>
|
331
|
<dependency>
|
332
|
<groupId>org.springframework</groupId>
|
333
|
<artifactId>spring-beans</artifactId>
|
334
|
<version>4.2.4.RELEASE</version>
|
335
|
</dependency>
|
336
|
<dependency>
|
337
|
<groupId>org.springframework</groupId>
|
338
|
<artifactId>spring-tx</artifactId>
|
339
|
<version>4.2.4.RELEASE</version>
|
340
|
</dependency>
|
341
|
<dependency>
|
342
|
<groupId>org.springframework</groupId>
|
343
|
<artifactId>spring-web</artifactId>
|
344
|
<version>4.2.4.RELEASE</version>
|
345
|
</dependency>
|
346
|
<dependency>
|
347
|
<groupId>org.springframework</groupId>
|
348
|
<artifactId>spring-core</artifactId>
|
349
|
<version>4.2.4.RELEASE</version>
|
350
|
</dependency>
|
351
|
<dependency>
|
352
|
<groupId>org.springframework</groupId>
|
353
|
<artifactId>spring-aop</artifactId>
|
354
|
<version>4.2.4.RELEASE</version>
|
355
|
</dependency>
|
356
|
<dependency>
|
357
|
<groupId>org.springframework</groupId>
|
358
|
<artifactId>spring-expression</artifactId>
|
359
|
<version>4.2.4.RELEASE</version>
|
360
|
</dependency>
|
361
|
<dependency>
|
362
|
<groupId>org.springframework</groupId>
|
363
|
<artifactId>spring-orm</artifactId>
|
364
|
<version>4.2.4.RELEASE</version>
|
365
|
</dependency>
|
366
|
<dependency>
|
367
|
<groupId>org.springframework</groupId>
|
368
|
<artifactId>spring-jdbc</artifactId>
|
369
|
<version>4.2.4.RELEASE</version>
|
370
|
</dependency>
|
371
|
<dependency>
|
372
|
<groupId>org.springframework.security</groupId>
|
373
|
<artifactId>spring-security-core</artifactId>
|
374
|
<version>4.0.3.RELEASE</version>
|
375
|
</dependency>
|
376
|
<dependency>
|
377
|
<groupId>org.springframework.security</groupId>
|
378
|
<artifactId>spring-security-config</artifactId>
|
379
|
<version>4.0.3.RELEASE</version>
|
380
|
</dependency>
|
381
|
<dependency>
|
382
|
<groupId>org.springframework.security</groupId>
|
383
|
<artifactId>spring-security-remoting</artifactId>
|
384
|
<version>4.0.3.RELEASE</version>
|
385
|
</dependency>
|
386
|
<dependency>
|
387
|
<groupId>org.jboss.logging</groupId>
|
388
|
<artifactId>jboss-logging</artifactId>
|
389
|
<version>3.1.3.GA</version>
|
390
|
</dependency>
|
391
|
<dependency>
|
392
|
<groupId>org.hamcrest</groupId>
|
393
|
<artifactId>hamcrest-core</artifactId>
|
394
|
<version>1.3</version>
|
395
|
</dependency>
|
396
|
<dependency>
|
397
|
<groupId>org.jboss.spec.javax.transaction</groupId>
|
398
|
<artifactId>jboss-transaction-api_1.1_spec</artifactId>
|
399
|
<version>1.0.0.Final</version>
|
400
|
</dependency>
|
401
|
<dependency>
|
402
|
<groupId>org.aspectj</groupId>
|
403
|
<artifactId>aspectjrt</artifactId>
|
404
|
<version>1.7.1</version>
|
405
|
</dependency>
|
406
|
<dependency>
|
407
|
<groupId>commons-logging</groupId>
|
408
|
<artifactId>commons-logging</artifactId>
|
409
|
<version>1.1.1</version>
|
410
|
</dependency>
|
411
|
<dependency>
|
412
|
<groupId>commons-lang</groupId>
|
413
|
<artifactId>commons-lang</artifactId>
|
414
|
<version>2.6</version>
|
415
|
</dependency>
|
416
|
<dependency>
|
417
|
<groupId>aopalliance</groupId>
|
418
|
<artifactId>aopalliance</artifactId>
|
419
|
<version>1.0</version>
|
420
|
</dependency>
|
421
|
<dependency>
|
422
|
<groupId>joda-time</groupId>
|
423
|
<artifactId>joda-time</artifactId>
|
424
|
<version>2.1</version>
|
425
|
</dependency>
|
426
|
<dependency>
|
427
|
<groupId>com.ibm.lsid</groupId>
|
428
|
<artifactId>lsid-client</artifactId>
|
429
|
<version>1.1.2</version>
|
430
|
</dependency>
|
431
|
<dependency>
|
432
|
<groupId>com.ibm.lsid</groupId>
|
433
|
<artifactId>lsid-server</artifactId>
|
434
|
<version>1.1.2</version>
|
435
|
</dependency>
|
436
|
<dependency>
|
437
|
<groupId>org.apache.lucene</groupId>
|
438
|
<artifactId>lucene-core</artifactId>
|
439
|
<version>3.6.2</version>
|
440
|
</dependency>
|
441
|
<dependency>
|
442
|
<groupId>org.slf4j</groupId>
|
443
|
<artifactId>slf4j-api</artifactId>
|
444
|
<version>1.7.2</version>
|
445
|
</dependency>
|
446
|
<dependency>
|
447
|
<groupId>org.javassist</groupId>
|
448
|
<artifactId>javassist</artifactId>
|
449
|
<version>3.17.1-GA</version>
|
450
|
</dependency>
|
451
|
<dependency>
|
452
|
<groupId>au.com.bytecode</groupId>
|
453
|
<artifactId>opencsv</artifactId>
|
454
|
<version>2.4</version>
|
455
|
</dependency>
|
456
|
|
457
|
<!-- For Unit Tests Start -->
|
458
|
<!-- still needed? -->
|
459
|
|
460
|
<dependency>
|
461
|
<groupId>commons-dbcp</groupId>
|
462
|
<artifactId>commons-dbcp</artifactId>
|
463
|
<version>1.4</version>
|
464
|
</dependency>
|
465
|
<dependency>
|
466
|
<groupId>commons-pool</groupId>
|
467
|
<artifactId>commons-pool</artifactId>
|
468
|
<version>1.5.4</version>
|
469
|
</dependency>
|
470
|
|
471
|
<!-- For Unit Tests End -->
|
472
|
|
473
|
<!-- For Hibernate Mapping Start -->
|
474
|
<dependency>
|
475
|
<groupId>wsdl4j</groupId>
|
476
|
<artifactId>wsdl4j</artifactId>
|
477
|
<version>1.6.3</version>
|
478
|
</dependency>
|
479
|
<dependency>
|
480
|
<groupId>javax.validation</groupId>
|
481
|
<artifactId>validation-api</artifactId>
|
482
|
<version>1.1.0.Final</version>
|
483
|
</dependency>
|
484
|
<!-- For Hibernate Mapping End -->
|
485
|
|
486
|
|
487
|
</dependencies>
|
488
|
</project>
|
489
|
|