Project

General

Profile

Download (19.7 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.6.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.eclipse.jetty</groupId> -->
268
    <!-- <artifactId>jetty-server</artifactId> -->
269
    <!-- <version>9.1.3.v20140225</version> -->
270
    <!-- </dependency> -->
271
    <!-- <dependency> -->
272
    <!-- <groupId>org.eclipse.jetty</groupId> -->
273
    <!-- <artifactId>jetty-util</artifactId> -->
274
    <!-- <version>9.1.3.v20140225</version> -->
275
    <!-- </dependency> -->
276
    <!-- <dependency> -->
277
    <!-- <groupId>org.eclipse.jetty</groupId> -->
278
    <!-- <artifactId>jetty-xml</artifactId> -->
279
    <!-- <version>9.1.3.v20140225</version> -->
280
    <!-- </dependency> -->
281
    <!-- <dependency> -->
282
    <!-- <groupId>org.eclipse.jetty</groupId> -->
283
    <!-- <artifactId>jetty-servlet</artifactId> -->
284
    <!-- <version>9.1.3.v20140225</version> -->
285
    <!-- </dependency> -->
286
    <!-- <dependency> -->
287
    <!-- <groupId>org.eclipse.jetty</groupId> -->
288
    <!-- <artifactId>jetty-webapp</artifactId> -->
289
    <!-- <version>9.1.3.v20140225</version> -->
290
    <!-- </dependency> -->
291
    <!-- <dependency> -->
292
    <!-- <groupId>org.eclipse.jetty</groupId> -->
293
    <!-- <artifactId>jetty-security</artifactId> -->
294
    <!-- <version>9.1.3.v20140225</version> -->
295
    <!-- </dependency> -->
296
    <!-- <dependency> -->
297
    <!-- <groupId>org.eclipse.jetty</groupId> -->
298
    <!-- <artifactId>jetty-http</artifactId> -->
299
    <!-- <version>${jetty.version}</version> -->
300
    <!-- </dependency> -->
301
    <!-- <dependency> -->
302
    <!-- <groupId>org.eclipse.jetty</groupId> -->
303
    <!-- <artifactId>jetty-io</artifactId> -->
304
    <!-- <version>${jetty.version}</version> -->
305
    <!-- </dependency> -->
306
    <!-- <dependency> -->
307
    <!-- <groupId>javax.servlet</groupId> -->
308
    <!-- <artifactId>javax.servlet-api</artifactId> -->
309
    <!-- <version>3.1.0</version> -->
310
    <!-- </dependency> -->
311

    
312
    <!-- <dependency> -->
313
    <!-- <groupId>javax.servlet</groupId> -->
314
    <!-- <artifactId>jsp-api</artifactId> -->
315
    <!-- <version>2.0</version> -->
316
    <!-- </dependency> -->
317

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

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

    
536
    <!-- For Unit Tests Start -->
537

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

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