Project

General

Profile

Download (19.6 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project>
3

    
4
  <parent>
5
    <groupId>eu.etaxonomy</groupId>
6
    <artifactId>taxeditor-parent</artifactId>
7
    <version>3.4.1-SNAPSHOT</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 Bundle</name>
13
  <description>Cdm Library Plugin Taxonomic Editor</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\-.*)\-[0-9]\.[0-9]\.[0-9]\-SNAPSHOT(\.war)"
88
                    to="\1\2" />
89
                </move>
90
                <move todir="./src/main/resources/etc/jetty">
91
                  <fileset dir="./src/main/resources/etc/jetty" />
92
                  <mapper type="regexp"
93
                    from="(^cdmlib\-.*)\-[0-9]\.[0-9]\.[0-9]\-[0-9.-]+(\.war)"
94
                    to="\1\2" />
95
                </move>
96
                <echo>Update cdmlib jars to SNAPSHOT when build with
97
                  timestamp
98
                </echo>
99
                <move todir="./lib">
100
                  <fileset dir="./lib" />
101
                  <mapper type="regexp"
102
                    from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\.jar)"
103
                    to="\1SNAPSHOT\2" />
104
                </move>
105
                <move todir="./lib">
106
                  <fileset dir="./lib" />
107
                  <mapper type="regexp"
108
                    from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\-sources\.jar)"
109
                    to="\1SNAPSHOT\2" />
110
                </move>
111
              </target>
112
            </configuration>
113
          </execution>
114
        </executions>
115
      </plugin>
116
    </plugins>
117
  </build>
118
  <profiles>
119
    <profile>
120
      <id>cleanCdmlibJars</id>
121
      <build>
122
        <plugins>
123
          <plugin>
124
            <artifactId>maven-clean-plugin</artifactId>
125
            <version>2.3</version>
126
            <configuration>
127
              <filesets>
128
                <fileset>
129
                  <directory>${basedir}/lib</directory>
130
                  <includes>
131
                    <include>cdmlib-*</include>
132
                  </includes>
133
                  <followSymlinks>false</followSymlinks>
134
                </fileset>
135
              </filesets>
136
            </configuration>
137
          </plugin>
138
        </plugins>
139
      </build>
140
    </profile>
141
    <profile>
142
      <id>cleanAllJars</id>
143
      <build>
144
        <plugins>
145
          <plugin>
146
            <artifactId>maven-clean-plugin</artifactId>
147
            <version>2.3</version>
148
            <configuration>
149
              <filesets>
150
                <fileset>
151
                  <directory>${basedir}/lib</directory>
152
                  <includes>
153
                    <include>*</include>
154
                  </includes>
155
                  <followSymlinks>false</followSymlinks>
156
                </fileset>
157
              </filesets>
158
            </configuration>
159
          </plugin>
160
        </plugins>
161
      </build>
162
    </profile>
163
    <profile>
164
      <id>copyAllJars</id>
165
      <build>
166
        <plugins>
167
          <plugin>
168
            <groupId>org.apache.maven.plugins</groupId>
169
            <artifactId>maven-dependency-plugin</artifactId>
170
            <version>2.4</version>
171
            <executions>
172
              <execution>
173
                <id>copy-all-dependencies</id>
174
                <phase>validate</phase>
175
                <goals>
176
                  <goal>copy-dependencies</goal>
177
                </goals>
178
                <configuration>
179
                  <excludeArtifactIds>
180
                    cdmlib-remote-webapp
181
                  </excludeArtifactIds>
182
                  <outputDirectory>${basedir}/lib</outputDirectory>
183
                  <overWriteReleases>true</overWriteReleases>
184
                  <overWriteSnapshots>true</overWriteSnapshots>
185
                  <excludeTransitive>true</excludeTransitive>
186
                </configuration>
187
              </execution>
188
            </executions>
189
          </plugin>
190
        </plugins>
191
      </build>
192
    </profile>
193
  </profiles>
194
  <repositories>
195
    <repository>
196
      <id>SpringSource Enterprise Bundle Repository - External Bundle
197
        Milestones
198
      </id>
199
      <url>http://repository.springsource.com/maven/bundles/milestone
200
      </url>
201
    </repository>
202
    <repository>
203
      <id>SpringSource Enterprise Bundle Repository - SpringSource
204
        Bundle
205
        Releases
206
      </id>
207
      <url>http://repository.springsource.com/maven/bundles/release
208
      </url>
209
    </repository>
210
    <repository>
211
      <id>SpringSource Enterprise Bundle Repository - External Bundle
212
        Releases
213
      </id>
214
      <url>http://repository.springsource.com/maven/bundles/external
215
      </url>
216
    </repository>
217
  </repositories>
218
  <dependencies>
219
    <dependency>
220
      <groupId>eu.etaxonomy</groupId>
221
      <artifactId>cdmlib-remote-webapp</artifactId>
222
      <version>${cdmlib.version}</version>
223
      <type>war</type>
224
    </dependency>
225
    <dependency>
226
      <groupId>eu.etaxonomy</groupId>
227
      <artifactId>cdmlib-commons</artifactId>
228
      <version>${cdmlib.version}</version>
229
    </dependency>
230
    <dependency>
231
      <groupId>eu.etaxonomy</groupId>
232
      <artifactId>cdmlib-model</artifactId>
233
      <version>${cdmlib.version}</version>
234
    </dependency>
235
    <dependency>
236
      <groupId>eu.etaxonomy</groupId>
237
      <artifactId>cdmlib-persistence</artifactId>
238
      <version>${cdmlib.version}</version>
239
    </dependency>
240
    <dependency>
241
      <groupId>eu.etaxonomy</groupId>
242
      <artifactId>cdmlib-remote</artifactId>
243
      <version>${cdmlib.version}</version>
244
    </dependency>
245
    <dependency>
246
      <groupId>eu.etaxonomy</groupId>
247
      <artifactId>cdmlib-print</artifactId>
248
      <version>${cdmlib.version}</version>
249
    </dependency>
250
    <dependency>
251
      <groupId>eu.etaxonomy</groupId>
252
      <artifactId>cdmlib-services</artifactId>
253
      <version>${cdmlib.version}</version>
254
    </dependency>
255
    <dependency>
256
      <groupId>eu.etaxonomy</groupId>
257
      <artifactId>cdmlib-io</artifactId>
258
      <version>${cdmlib.version}</version>
259
    </dependency>
260
    <dependency>
261
      <groupId>eu.etaxonomy</groupId>
262
      <artifactId>cdmlib-ext</artifactId>
263
      <version>${cdmlib.version}</version>
264
    </dependency>
265

    
266
    <dependency>
267
      <groupId>org.unitils</groupId>
268
      <artifactId>unitils-core</artifactId>
269
      <version>3.4.2</version>
270
    </dependency>
271
    <!-- <dependency> -->
272
    <!-- <groupId>org.eclipse.jetty</groupId> -->
273
    <!-- <artifactId>jetty-server</artifactId> -->
274
    <!-- <version>9.1.3.v20140225</version> -->
275
    <!-- </dependency> -->
276
    <!-- <dependency> -->
277
    <!-- <groupId>org.eclipse.jetty</groupId> -->
278
    <!-- <artifactId>jetty-util</artifactId> -->
279
    <!-- <version>9.1.3.v20140225</version> -->
280
    <!-- </dependency> -->
281
    <!-- <dependency> -->
282
    <!-- <groupId>org.eclipse.jetty</groupId> -->
283
    <!-- <artifactId>jetty-xml</artifactId> -->
284
    <!-- <version>9.1.3.v20140225</version> -->
285
    <!-- </dependency> -->
286
    <!-- <dependency> -->
287
    <!-- <groupId>org.eclipse.jetty</groupId> -->
288
    <!-- <artifactId>jetty-servlet</artifactId> -->
289
    <!-- <version>9.1.3.v20140225</version> -->
290
    <!-- </dependency> -->
291
    <!-- <dependency> -->
292
    <!-- <groupId>org.eclipse.jetty</groupId> -->
293
    <!-- <artifactId>jetty-webapp</artifactId> -->
294
    <!-- <version>9.1.3.v20140225</version> -->
295
    <!-- </dependency> -->
296
    <!-- <dependency> -->
297
    <!-- <groupId>org.eclipse.jetty</groupId> -->
298
    <!-- <artifactId>jetty-security</artifactId> -->
299
    <!-- <version>9.1.3.v20140225</version> -->
300
    <!-- </dependency> -->
301
    <!-- <dependency> -->
302
    <!-- <groupId>org.eclipse.jetty</groupId> -->
303
    <!-- <artifactId>jetty-http</artifactId> -->
304
    <!-- <version>${jetty.version}</version> -->
305
    <!-- </dependency> -->
306
    <!-- <dependency> -->
307
    <!-- <groupId>org.eclipse.jetty</groupId> -->
308
    <!-- <artifactId>jetty-io</artifactId> -->
309
    <!-- <version>${jetty.version}</version> -->
310
    <!-- </dependency> -->
311
    <!-- <dependency> -->
312
    <!-- <groupId>javax.servlet</groupId> -->
313
    <!-- <artifactId>javax.servlet-api</artifactId> -->
314
    <!-- <version>3.1.0</version> -->
315
    <!-- </dependency> -->
316

    
317
    <!-- <dependency> -->
318
    <!-- <groupId>javax.servlet</groupId> -->
319
    <!-- <artifactId>jsp-api</artifactId> -->
320
    <!-- <version>2.0</version> -->
321
    <!-- </dependency> -->
322

    
323
    <dependency>
324
      <groupId>net.sf.ehcache</groupId>
325
      <artifactId>ehcache-core</artifactId>
326
      <version>2.4.3</version>
327
    </dependency>
328
    <dependency>
329
      <groupId>org.hibernate</groupId>
330
      <artifactId>hibernate-core</artifactId>
331
      <version>4.1.10.Final</version>
332
    </dependency>
333
    <dependency>
334
      <groupId>org.hibernate.common</groupId>
335
      <artifactId>hibernate-commons-annotations</artifactId>
336
      <version>4.0.1.Final</version>
337
    </dependency>
338
    <dependency>
339
      <groupId>org.hibernate</groupId>
340
      <artifactId>hibernate-search-engine</artifactId>
341
      <version>4.2.0.Final</version>
342
    </dependency>
343
    <dependency>
344
      <groupId>org.hibernate.javax.persistence</groupId>
345
      <artifactId>hibernate-jpa-2.0-api</artifactId>
346
      <version>1.0.1.Final</version>
347
    </dependency>
348
    <dependency>
349
      <groupId>org.hibernate</groupId>
350
      <artifactId>hibernate-envers</artifactId>
351
      <version>4.1.10.Final</version>
352
    </dependency>
353
    <dependency>
354
      <groupId>org.hibernate</groupId>
355
      <artifactId>hibernate-entitymanager</artifactId>
356
      <version>4.1.10.Final</version>
357
    </dependency>
358
    <dependency>
359
      <groupId>dom4j</groupId>
360
      <artifactId>dom4j</artifactId>
361
      <version>1.6</version>
362
    </dependency>
363
    <dependency>
364
      <groupId>org.jadira.usertype</groupId>
365
      <artifactId>usertype.jodatime</artifactId>
366
      <version>2.0.1</version>
367
    </dependency>
368
    <dependency>
369
      <groupId>org.jadira.usertype</groupId>
370
      <artifactId>usertype.spi</artifactId>
371
      <version>2.0.1</version>
372
    </dependency>
373

    
374
    <dependency>
375
      <groupId>junit</groupId>
376
      <artifactId>junit</artifactId>
377
      <version>4.11</version>
378
      <scope>test</scope>
379
    </dependency>
380
    <dependency>
381
      <groupId>log4j</groupId>
382
      <artifactId>log4j</artifactId>
383
      <version>1.2.17</version>
384
    </dependency>
385
    <dependency>
386
      <groupId>org.jdom</groupId>
387
      <artifactId>jdom</artifactId>
388
      <version>1.1.3</version>
389
    </dependency>
390
    <dependency>
391
      <groupId>org.springframework</groupId>
392
      <artifactId>org.springframework.context</artifactId>
393
      <version>3.2.2.RELEASE</version>
394
    </dependency>
395
    <dependency>
396
      <groupId>org.springframework</groupId>
397
      <artifactId>org.springframework.context.support</artifactId>
398
      <version>3.2.2.RELEASE</version>
399
    </dependency>
400
    <dependency>
401
      <groupId>org.springframework</groupId>
402
      <artifactId>org.springframework.aspects</artifactId>
403
      <version>3.2.2.RELEASE</version>
404
    </dependency>
405
    <dependency>
406
      <groupId>org.springframework</groupId>
407
      <artifactId>org.springframework.test</artifactId>
408
      <version>3.2.2.RELEASE</version>
409
    </dependency>
410
    <dependency>
411
      <groupId>org.springframework</groupId>
412
      <artifactId>org.springframework.beans</artifactId>
413
      <version>3.2.2.RELEASE</version>
414
    </dependency>
415
    <dependency>
416
      <groupId>org.springframework</groupId>
417
      <artifactId>org.springframework.transaction</artifactId>
418
      <version>3.2.2.RELEASE</version>
419
    </dependency>
420
    <dependency>
421
      <groupId>org.springframework</groupId>
422
      <artifactId>org.springframework.web</artifactId>
423
      <version>3.2.2.RELEASE</version>
424
    </dependency>
425
    <dependency>
426
      <groupId>org.springframework</groupId>
427
      <artifactId>org.springframework.core</artifactId>
428
      <version>3.2.2.RELEASE</version>
429
    </dependency>
430
    <dependency>
431
      <groupId>org.springframework</groupId>
432
      <artifactId>org.springframework.aop</artifactId>
433
      <version>3.2.2.RELEASE</version>
434
    </dependency>
435
    <dependency>
436
      <groupId>org.springframework</groupId>
437
      <artifactId>org.springframework.expression</artifactId>
438
      <version>3.2.2.RELEASE</version>
439
    </dependency>
440
    <dependency>
441
      <groupId>org.springframework</groupId>
442
      <artifactId>org.springframework.orm</artifactId>
443
      <version>3.2.2.RELEASE</version>
444
    </dependency>
445
    <dependency>
446
      <groupId>org.springframework</groupId>
447
      <artifactId>org.springframework.jdbc</artifactId>
448
      <version>3.2.2.RELEASE</version>
449
    </dependency>
450
    <dependency>
451
      <groupId>org.springframework.security</groupId>
452
      <artifactId>spring-security-core</artifactId>
453
      <version>3.1.3.RELEASE</version>
454
    </dependency>
455
    <dependency>
456
      <groupId>org.springframework.security</groupId>
457
      <artifactId>spring-security-config</artifactId>
458
      <version>3.1.3.RELEASE</version>
459
    </dependency>
460
    <dependency>
461
      <groupId>org.springframework.security</groupId>
462
      <artifactId>spring-security-remoting</artifactId>
463
      <version>3.1.3.RELEASE</version>
464
    </dependency>
465
    <dependency>
466
      <groupId>org.jboss.logging</groupId>
467
      <artifactId>jboss-logging</artifactId>
468
      <version>3.1.3.GA</version>
469
    </dependency>
470
    <dependency>
471
      <groupId>org.hamcrest</groupId>
472
      <artifactId>hamcrest-core</artifactId>
473
      <version>1.3</version>
474
    </dependency>
475
    <dependency>
476
      <groupId>com.mchange</groupId>
477
      <artifactId>c3p0</artifactId>
478
      <version>0.9.2</version>
479
    </dependency>
480
    <dependency>
481
      <groupId>org.jboss.spec.javax.transaction</groupId>
482
      <artifactId>jboss-transaction-api_1.1_spec</artifactId>
483
      <version>1.0.0.Final</version>
484
    </dependency>
485
    <dependency>
486
      <groupId>org.aspectj</groupId>
487
      <artifactId>aspectjrt</artifactId>
488
      <version>1.7.1</version>
489
    </dependency>
490
    <dependency>
491
      <groupId>commons-logging</groupId>
492
      <artifactId>commons-logging</artifactId>
493
      <version>1.1.1</version>
494
    </dependency>
495
    <dependency>
496
      <groupId>commons-lang</groupId>
497
      <artifactId>commons-lang</artifactId>
498
      <version>2.6</version>
499
    </dependency>
500
    <dependency>
501
      <groupId>aopalliance</groupId>
502
      <artifactId>aopalliance</artifactId>
503
      <version>1.0</version>
504
    </dependency>
505
    <dependency>
506
      <groupId>joda-time</groupId>
507
      <artifactId>joda-time</artifactId>
508
      <version>2.1</version>
509
    </dependency>
510
    <dependency>
511
      <groupId>com.ibm.lsid</groupId>
512
      <artifactId>lsid-client</artifactId>
513
      <version>1.1.2</version>
514
    </dependency>
515
    <dependency>
516
      <groupId>com.ibm.lsid</groupId>
517
      <artifactId>lsid-server</artifactId>
518
      <version>1.1.2</version>
519
    </dependency>
520
    <dependency>
521
      <groupId>org.apache.lucene</groupId>
522
      <artifactId>lucene-core</artifactId>
523
      <version>3.6.2</version>
524
    </dependency>
525
    <dependency>
526
      <groupId>org.slf4j</groupId>
527
      <artifactId>slf4j-api</artifactId>
528
      <version>1.7.2</version>
529
    </dependency>
530
    <dependency>
531
      <groupId>org.javassist</groupId>
532
      <artifactId>javassist</artifactId>
533
      <version>3.17.1-GA</version>
534
    </dependency>
535
    <dependency>
536
      <groupId>au.com.bytecode</groupId>
537
      <artifactId>opencsv</artifactId>
538
      <version>2.4</version>
539
    </dependency>
540

    
541
    <!-- For Unit Tests Start -->
542
    <dependency>
543
      <groupId>org.unitils</groupId>
544
      <artifactId>unitils-spring</artifactId>
545
      <version>3.4.2</version>
546
    </dependency>
547
    <dependency>
548
      <groupId>org.unitils</groupId>
549
      <artifactId>unitils-database</artifactId>
550
      <version>3.4.2</version>
551
    </dependency>
552
    <dependency>
553
      <groupId>commons-dbcp</groupId>
554
      <artifactId>commons-dbcp</artifactId>
555
      <version>1.4</version>
556
    </dependency>
557
    <dependency>
558
      <groupId>commons-pool</groupId>
559
      <artifactId>commons-pool</artifactId>
560
      <version>1.5.4</version>
561
    </dependency>
562
    <dependency>
563
      <groupId>org.unitils</groupId>
564
      <artifactId>unitils-dbmaintainer</artifactId>
565
      <version>3.4.2</version>
566
    </dependency>
567
    <dependency>
568
      <groupId>com.h2database</groupId>
569
      <artifactId>h2</artifactId>
570
      <version>1.4.181</version>
571
    </dependency>
572
    <dependency>
573
      <groupId>org.unitils</groupId>
574
      <artifactId>unitils-dbunit</artifactId>
575
      <version>3.4.2</version>
576
    </dependency>
577
    <dependency>
578
      <groupId>org.dbunit</groupId>
579
      <artifactId>dbunit</artifactId>
580
      <version>2.4.9</version>
581
    </dependency>
582
    <!-- For Unit Tests End -->
583

    
584
    <!-- For Hibernate Mapping Start -->
585
    <dependency>
586
      <groupId>wsdl4j</groupId>
587
      <artifactId>wsdl4j</artifactId>
588
      <version>1.6.3</version>
589
    </dependency>
590
    <dependency>
591
      <groupId>javax.validation</groupId>
592
      <artifactId>validation-api</artifactId>
593
      <version>1.1.0.Final</version>
594
    </dependency>
595
    <!-- For Hibernate Mapping End -->
596
  </dependencies>
597
</project>
(5-5/5)