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>3.12.2</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-persistence,cdmlib-ext,cdmlib-model,cdmlib-io,cdmlib-print,cdmlib-remote
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
  </repositories>
182
  <dependencies>
183
    <dependency>
184
      <groupId>eu.etaxonomy</groupId>
185
      <artifactId>cdmlib-remote-webapp</artifactId>
186
      <version>${cdmlib.version}</version>
187
      <type>war</type>
188
    </dependency>
189
    <dependency>
190
      <groupId>eu.etaxonomy</groupId>
191
      <artifactId>cdmlib-commons</artifactId>
192
      <version>${cdmlib.version}</version>
193
    </dependency>
194
    <dependency>
195
      <groupId>eu.etaxonomy</groupId>
196
      <artifactId>cdmlib-model</artifactId>
197
      <version>${cdmlib.version}</version>
198
    </dependency>
199
    <dependency>
200
      <groupId>eu.etaxonomy</groupId>
201
      <artifactId>cdmlib-persistence</artifactId>
202
      <version>${cdmlib.version}</version>
203
    </dependency>
204
    <dependency>
205
      <groupId>eu.etaxonomy</groupId>
206
      <artifactId>cdmlib-remote</artifactId>
207
      <version>${cdmlib.version}</version>
208
    </dependency>
209
    <dependency>
210
      <groupId>eu.etaxonomy</groupId>
211
      <artifactId>cdmlib-print</artifactId>
212
      <version>${cdmlib.version}</version>
213
    </dependency>
214
    <dependency>
215
      <groupId>eu.etaxonomy</groupId>
216
      <artifactId>cdmlib-services</artifactId>
217
      <version>${cdmlib.version}</version>
218
    </dependency>
219
    <dependency>
220
      <groupId>eu.etaxonomy</groupId>
221
      <artifactId>cdmlib-io</artifactId>
222
      <version>${cdmlib.version}</version>
223
    </dependency>
224
    <dependency>
225
      <groupId>eu.etaxonomy</groupId>
226
      <artifactId>cdmlib-ext</artifactId>
227
      <version>${cdmlib.version}</version>
228
    </dependency>
229

    
230
    <!-- <dependency> -->
231
    <!-- <groupId>org.eclipse.jetty</groupId> -->
232
    <!-- <artifactId>jetty-server</artifactId> -->
233
    <!-- <version>9.1.3.v20140225</version> -->
234
    <!-- </dependency> -->
235
    <!-- <dependency> -->
236
    <!-- <groupId>org.eclipse.jetty</groupId> -->
237
    <!-- <artifactId>jetty-util</artifactId> -->
238
    <!-- <version>9.1.3.v20140225</version> -->
239
    <!-- </dependency> -->
240
    <!-- <dependency> -->
241
    <!-- <groupId>org.eclipse.jetty</groupId> -->
242
    <!-- <artifactId>jetty-xml</artifactId> -->
243
    <!-- <version>9.1.3.v20140225</version> -->
244
    <!-- </dependency> -->
245
    <!-- <dependency> -->
246
    <!-- <groupId>org.eclipse.jetty</groupId> -->
247
    <!-- <artifactId>jetty-servlet</artifactId> -->
248
    <!-- <version>9.1.3.v20140225</version> -->
249
    <!-- </dependency> -->
250
    <!-- <dependency> -->
251
    <!-- <groupId>org.eclipse.jetty</groupId> -->
252
    <!-- <artifactId>jetty-webapp</artifactId> -->
253
    <!-- <version>9.1.3.v20140225</version> -->
254
    <!-- </dependency> -->
255
    <!-- <dependency> -->
256
    <!-- <groupId>org.eclipse.jetty</groupId> -->
257
    <!-- <artifactId>jetty-security</artifactId> -->
258
    <!-- <version>9.1.3.v20140225</version> -->
259
    <!-- </dependency> -->
260
    <!-- <dependency> -->
261
    <!-- <groupId>org.eclipse.jetty</groupId> -->
262
    <!-- <artifactId>jetty-http</artifactId> -->
263
    <!-- <version>${jetty.version}</version> -->
264
    <!-- </dependency> -->
265
    <!-- <dependency> -->
266
    <!-- <groupId>org.eclipse.jetty</groupId> -->
267
    <!-- <artifactId>jetty-io</artifactId> -->
268
    <!-- <version>${jetty.version}</version> -->
269
    <!-- </dependency> -->
270
    <!-- <dependency> -->
271
    <!-- <groupId>javax.servlet</groupId> -->
272
    <!-- <artifactId>javax.servlet-api</artifactId> -->
273
    <!-- <version>3.1.0</version> -->
274
    <!-- </dependency> -->
275

    
276
    <!-- <dependency> -->
277
    <!-- <groupId>javax.servlet</groupId> -->
278
    <!-- <artifactId>jsp-api</artifactId> -->
279
    <!-- <version>2.0</version> -->
280
    <!-- </dependency> -->
281

    
282
    <dependency>
283
      <groupId>net.sf.ehcache</groupId>
284
      <artifactId>ehcache-core</artifactId>
285
      <version>2.4.3</version>
286
    </dependency>
287
    <dependency>
288
      <groupId>org.hibernate</groupId>
289
      <artifactId>hibernate-core</artifactId>
290
      <version>4.1.10.Final</version>
291
    </dependency>
292
    <dependency>
293
      <groupId>org.hibernate.common</groupId>
294
      <artifactId>hibernate-commons-annotations</artifactId>
295
      <version>4.0.1.Final</version>
296
    </dependency>
297
    <dependency>
298
      <groupId>org.hibernate</groupId>
299
      <artifactId>hibernate-search-engine</artifactId>
300
      <version>4.2.0.Final</version>
301
    </dependency>
302
    <dependency>
303
      <groupId>org.hibernate.javax.persistence</groupId>
304
      <artifactId>hibernate-jpa-2.0-api</artifactId>
305
      <version>1.0.1.Final</version>
306
    </dependency>
307
    <dependency>
308
      <groupId>org.hibernate</groupId>
309
      <artifactId>hibernate-envers</artifactId>
310
      <version>4.1.10.Final</version>
311
    </dependency>
312
    <dependency>
313
      <groupId>org.hibernate</groupId>
314
      <artifactId>hibernate-entitymanager</artifactId>
315
      <version>4.1.10.Final</version>
316
    </dependency>
317
    <dependency>
318
      <groupId>dom4j</groupId>
319
      <artifactId>dom4j</artifactId>
320
      <version>1.6</version>
321
    </dependency>
322
    <dependency>
323
      <groupId>org.jadira.usertype</groupId>
324
      <artifactId>usertype.jodatime</artifactId>
325
      <version>2.0.1</version>
326
    </dependency>
327
    <dependency>
328
      <groupId>org.jadira.usertype</groupId>
329
      <artifactId>usertype.spi</artifactId>
330
      <version>2.0.1</version>
331
    </dependency>
332

    
333
    <dependency>
334
      <groupId>junit</groupId>
335
      <artifactId>junit</artifactId>
336
      <version>4.11</version>
337
      <scope>test</scope>
338
    </dependency>
339
    <dependency>
340
      <groupId>log4j</groupId>
341
      <artifactId>log4j</artifactId>
342
      <version>1.2.17</version>
343
    </dependency>
344
    <dependency>
345
      <groupId>org.jdom</groupId>
346
      <artifactId>jdom</artifactId>
347
      <version>1.1.3</version>
348
    </dependency>
349
    <dependency>
350
      <groupId>org.springframework</groupId>
351
      <artifactId>org.springframework.context</artifactId>
352
      <version>3.2.2.RELEASE</version>
353
    </dependency>
354
    <dependency>
355
      <groupId>org.springframework</groupId>
356
      <artifactId>org.springframework.context.support</artifactId>
357
      <version>3.2.2.RELEASE</version>
358
    </dependency>
359
    <dependency>
360
      <groupId>org.springframework</groupId>
361
      <artifactId>org.springframework.aspects</artifactId>
362
      <version>3.2.2.RELEASE</version>
363
    </dependency>
364
    <dependency>
365
      <groupId>org.springframework</groupId>
366
      <artifactId>org.springframework.test</artifactId>
367
      <version>3.2.2.RELEASE</version>
368
    </dependency>
369
    <dependency>
370
      <groupId>org.springframework</groupId>
371
      <artifactId>org.springframework.beans</artifactId>
372
      <version>3.2.2.RELEASE</version>
373
    </dependency>
374
    <dependency>
375
      <groupId>org.springframework</groupId>
376
      <artifactId>org.springframework.transaction</artifactId>
377
      <version>3.2.2.RELEASE</version>
378
    </dependency>
379
    <dependency>
380
      <groupId>org.springframework</groupId>
381
      <artifactId>org.springframework.web</artifactId>
382
      <version>3.2.2.RELEASE</version>
383
    </dependency>
384
    <dependency>
385
      <groupId>org.springframework</groupId>
386
      <artifactId>org.springframework.core</artifactId>
387
      <version>3.2.2.RELEASE</version>
388
    </dependency>
389
    <dependency>
390
      <groupId>org.springframework</groupId>
391
      <artifactId>org.springframework.aop</artifactId>
392
      <version>3.2.2.RELEASE</version>
393
    </dependency>
394
    <dependency>
395
      <groupId>org.springframework</groupId>
396
      <artifactId>org.springframework.expression</artifactId>
397
      <version>3.2.2.RELEASE</version>
398
    </dependency>
399
    <dependency>
400
      <groupId>org.springframework</groupId>
401
      <artifactId>org.springframework.orm</artifactId>
402
      <version>3.2.2.RELEASE</version>
403
    </dependency>
404
    <dependency>
405
      <groupId>org.springframework</groupId>
406
      <artifactId>org.springframework.jdbc</artifactId>
407
      <version>3.2.2.RELEASE</version>
408
    </dependency>
409
    <dependency>
410
      <groupId>org.springframework.security</groupId>
411
      <artifactId>spring-security-core</artifactId>
412
      <version>3.1.3.RELEASE</version>
413
    </dependency>
414
    <dependency>
415
      <groupId>org.springframework.security</groupId>
416
      <artifactId>spring-security-config</artifactId>
417
      <version>3.1.3.RELEASE</version>
418
    </dependency>
419
    <dependency>
420
      <groupId>org.springframework.security</groupId>
421
      <artifactId>spring-security-remoting</artifactId>
422
      <version>3.1.3.RELEASE</version>
423
    </dependency>
424
    <dependency>
425
      <groupId>org.jboss.logging</groupId>
426
      <artifactId>jboss-logging</artifactId>
427
      <version>3.1.3.GA</version>
428
    </dependency>
429
    <dependency>
430
      <groupId>org.hamcrest</groupId>
431
      <artifactId>hamcrest-core</artifactId>
432
      <version>1.3</version>
433
    </dependency>
434
    <dependency>
435
      <groupId>com.mchange</groupId>
436
      <artifactId>c3p0</artifactId>
437
      <version>0.9.2</version>
438
    </dependency>
439
    <dependency>
440
      <groupId>org.jboss.spec.javax.transaction</groupId>
441
      <artifactId>jboss-transaction-api_1.1_spec</artifactId>
442
      <version>1.0.0.Final</version>
443
    </dependency>
444
    <dependency>
445
      <groupId>org.aspectj</groupId>
446
      <artifactId>aspectjrt</artifactId>
447
      <version>1.7.1</version>
448
    </dependency>
449
    <dependency>
450
      <groupId>commons-logging</groupId>
451
      <artifactId>commons-logging</artifactId>
452
      <version>1.1.1</version>
453
    </dependency>
454
    <dependency>
455
      <groupId>commons-lang</groupId>
456
      <artifactId>commons-lang</artifactId>
457
      <version>2.6</version>
458
    </dependency>
459
    <dependency>
460
      <groupId>aopalliance</groupId>
461
      <artifactId>aopalliance</artifactId>
462
      <version>1.0</version>
463
    </dependency>
464
    <dependency>
465
      <groupId>joda-time</groupId>
466
      <artifactId>joda-time</artifactId>
467
      <version>2.1</version>
468
    </dependency>
469
    <dependency>
470
      <groupId>com.ibm.lsid</groupId>
471
      <artifactId>lsid-client</artifactId>
472
      <version>1.1.2</version>
473
    </dependency>
474
    <dependency>
475
      <groupId>com.ibm.lsid</groupId>
476
      <artifactId>lsid-server</artifactId>
477
      <version>1.1.2</version>
478
    </dependency>
479
    <dependency>
480
      <groupId>org.apache.lucene</groupId>
481
      <artifactId>lucene-core</artifactId>
482
      <version>3.6.2</version>
483
    </dependency>
484
    <dependency>
485
      <groupId>org.slf4j</groupId>
486
      <artifactId>slf4j-api</artifactId>
487
      <version>1.7.2</version>
488
    </dependency>
489
    <dependency>
490
      <groupId>org.javassist</groupId>
491
      <artifactId>javassist</artifactId>
492
      <version>3.17.1-GA</version>
493
    </dependency>
494
    <dependency>
495
      <groupId>au.com.bytecode</groupId>
496
      <artifactId>opencsv</artifactId>
497
      <version>2.4</version>
498
    </dependency>
499

    
500
    <!-- For Unit Tests Start -->
501

    
502
    <dependency>
503
      <groupId>org.unitils</groupId>
504
      <artifactId>unitils-core</artifactId>
505
      <version>3.4.2</version>
506
    </dependency>
507
    <dependency>
508
      <groupId>org.unitils</groupId>
509
      <artifactId>unitils-spring</artifactId>
510
      <version>3.4.2</version>
511
    </dependency>
512
    <dependency>
513
      <groupId>org.unitils</groupId>
514
      <artifactId>unitils-database</artifactId>
515
      <version>3.4.2</version>
516
    </dependency>
517
    <dependency>
518
      <groupId>commons-dbcp</groupId>
519
      <artifactId>commons-dbcp</artifactId>
520
      <version>1.4</version>
521
    </dependency>
522
    <dependency>
523
      <groupId>commons-pool</groupId>
524
      <artifactId>commons-pool</artifactId>
525
      <version>1.5.4</version>
526
    </dependency>
527
    <dependency>
528
      <groupId>org.unitils</groupId>
529
      <artifactId>unitils-dbmaintainer</artifactId>
530
      <version>3.4.2</version>
531
    </dependency>
532
    <dependency>
533
      <groupId>com.h2database</groupId>
534
      <artifactId>h2</artifactId>
535
      <version>1.4.181</version>
536
    </dependency>
537
    <dependency>
538
      <groupId>org.unitils</groupId>
539
      <artifactId>unitils-dbunit</artifactId>
540
      <version>3.4.2</version>
541
    </dependency>
542
    <dependency>
543
      <groupId>org.dbunit</groupId>
544
      <artifactId>dbunit</artifactId>
545
      <version>2.4.9</version>
546
    </dependency>
547
    <!-- For Unit Tests End -->
548

    
549
    <!-- For Hibernate Mapping Start -->
550
    <dependency>
551
      <groupId>wsdl4j</groupId>
552
      <artifactId>wsdl4j</artifactId>
553
      <version>1.6.3</version>
554
    </dependency>
555
    <dependency>
556
      <groupId>javax.validation</groupId>
557
      <artifactId>validation-api</artifactId>
558
      <version>1.1.0.Final</version>
559
    </dependency>
560
    <!-- For Hibernate Mapping End -->
561

    
562
  </dependencies>
563
</project>
564

    
(6-6/6)