Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

taxeditor / eu.etaxonomy.taxeditor.cdmlib / pom.xml @ 82b02bfc

History | View | Annotate | Download (15.8 KB)

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>4.3.0</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,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

    
240
    <dependency>
241
      <groupId>net.sf.ehcache</groupId>
242
      <artifactId>ehcache-core</artifactId>
243
      <version>2.4.3</version>
244
    </dependency>
245
    <dependency>
246
      <groupId>org.hibernate</groupId>
247
      <artifactId>hibernate-core</artifactId>
248
      <version>4.1.10.Final</version>
249
    </dependency>
250
    <dependency>
251
      <groupId>org.hibernate.common</groupId>
252
      <artifactId>hibernate-commons-annotations</artifactId>
253
      <version>4.0.1.Final</version>
254
    </dependency>
255
    <dependency>
256
      <groupId>org.hibernate</groupId>
257
      <artifactId>hibernate-search-engine</artifactId>
258
      <version>4.2.0.Final</version>
259
    </dependency>
260
    <dependency>
261
      <groupId>org.hibernate.javax.persistence</groupId>
262
      <artifactId>hibernate-jpa-2.0-api</artifactId>
263
      <version>1.0.1.Final</version>
264
    </dependency>
265
    <dependency>
266
      <groupId>org.hibernate</groupId>
267
      <artifactId>hibernate-envers</artifactId>
268
      <version>4.1.10.Final</version>
269
    </dependency>
270
    <dependency>
271
      <groupId>org.hibernate</groupId>
272
      <artifactId>hibernate-entitymanager</artifactId>
273
      <version>4.1.10.Final</version>
274
    </dependency>
275
    <dependency>
276
      <groupId>dom4j</groupId>
277
      <artifactId>dom4j</artifactId>
278
      <version>1.6</version>
279
    </dependency>
280
    <dependency>
281
      <groupId>org.jadira.usertype</groupId>
282
      <artifactId>usertype.jodatime</artifactId>
283
      <version>2.0.1</version>
284
    </dependency>
285
    <dependency>
286
      <groupId>org.jadira.usertype</groupId>
287
      <artifactId>usertype.spi</artifactId>
288
      <version>2.0.1</version>
289
    </dependency>
290

    
291
    <dependency>
292
      <groupId>junit</groupId>
293
      <artifactId>junit</artifactId>
294
      <version>4.11</version>
295
      <scope>test</scope>
296
    </dependency>
297
    <dependency>
298
      <groupId>log4j</groupId>
299
      <artifactId>log4j</artifactId>
300
      <version>1.2.17</version>
301
    </dependency>
302
    <dependency>
303
      <groupId>org.jdom</groupId>
304
      <artifactId>jdom</artifactId>
305
      <version>1.1.3</version>
306
    </dependency>
307
    <dependency>
308
      <groupId>org.springframework</groupId>
309
      <artifactId>spring-context</artifactId>
310
      <version>4.2.4.RELEASE</version>
311
    </dependency>
312
    <dependency>
313
      <groupId>org.springframework</groupId>
314
      <artifactId>spring-context-support</artifactId>
315
      <version>4.2.4.RELEASE</version>
316
    </dependency>
317
    <dependency>
318
      <groupId>org.springframework</groupId>
319
      <artifactId>spring-aspects</artifactId>
320
      <version>4.2.4.RELEASE</version>
321
    </dependency>
322
    <dependency>
323
      <groupId>org.springframework</groupId>
324
      <artifactId>spring-test</artifactId>
325
      <version>4.2.4.RELEASE</version>
326
    </dependency>
327
    <dependency>
328
      <groupId>org.springframework</groupId>
329
      <artifactId>spring-beans</artifactId>
330
      <version>4.2.4.RELEASE</version>
331
    </dependency>
332
    <dependency>
333
      <groupId>org.springframework</groupId>
334
      <artifactId>spring-tx</artifactId>
335
      <version>4.2.4.RELEASE</version>
336
    </dependency>
337
    <dependency>
338
                <groupId>org.springframework</groupId>
339
                <artifactId>spring-web</artifactId>
340
                <version>4.2.4.RELEASE</version>
341
        </dependency>
342
    <dependency>
343
      <groupId>org.springframework</groupId>
344
      <artifactId>spring-core</artifactId>
345
      <version>4.2.4.RELEASE</version>
346
    </dependency>
347
    <dependency>
348
      <groupId>org.springframework</groupId>
349
      <artifactId>spring-aop</artifactId>
350
      <version>4.2.4.RELEASE</version>
351
    </dependency>
352
    <dependency>
353
                <groupId>org.springframework</groupId>
354
                <artifactId>spring-expression</artifactId>
355
                <version>4.2.4.RELEASE</version>
356
        </dependency>
357
   <dependency>
358
                <groupId>org.springframework</groupId>
359
                <artifactId>spring-orm</artifactId>
360
                <version>4.2.4.RELEASE</version>
361
        </dependency>
362
    <dependency>
363
                <groupId>org.springframework</groupId>
364
                <artifactId>spring-jdbc</artifactId>
365
                <version>4.2.4.RELEASE</version>
366
        </dependency>
367
    <dependency>
368
      <groupId>org.springframework.security</groupId>
369
      <artifactId>spring-security-core</artifactId>
370
      <version>4.0.3.RELEASE</version>
371
    </dependency>
372
    <dependency>
373
      <groupId>org.springframework.security</groupId>
374
      <artifactId>spring-security-config</artifactId>
375
      <version>4.0.3.RELEASE</version>
376
    </dependency>
377
    <dependency>
378
      <groupId>org.springframework.security</groupId>
379
      <artifactId>spring-security-remoting</artifactId>
380
      <version>4.0.3.RELEASE</version>
381
    </dependency>
382
    <dependency>
383
      <groupId>org.jboss.logging</groupId>
384
      <artifactId>jboss-logging</artifactId>
385
      <version>3.1.3.GA</version>
386
    </dependency>
387
    <dependency>
388
      <groupId>org.hamcrest</groupId>
389
      <artifactId>hamcrest-core</artifactId>
390
      <version>1.3</version>
391
    </dependency>
392
    <dependency>
393
      <groupId>org.jboss.spec.javax.transaction</groupId>
394
      <artifactId>jboss-transaction-api_1.1_spec</artifactId>
395
      <version>1.0.0.Final</version>
396
    </dependency>
397
    <dependency>
398
      <groupId>org.aspectj</groupId>
399
      <artifactId>aspectjrt</artifactId>
400
      <version>1.7.1</version>
401
    </dependency>
402
    <dependency>
403
      <groupId>commons-logging</groupId>
404
      <artifactId>commons-logging</artifactId>
405
      <version>1.1.1</version>
406
    </dependency>
407
    <dependency>
408
      <groupId>commons-lang</groupId>
409
      <artifactId>commons-lang</artifactId>
410
      <version>2.6</version>
411
    </dependency>
412
    <dependency>
413
      <groupId>aopalliance</groupId>
414
      <artifactId>aopalliance</artifactId>
415
      <version>1.0</version>
416
    </dependency>
417
    <dependency>
418
      <groupId>joda-time</groupId>
419
      <artifactId>joda-time</artifactId>
420
      <version>2.1</version>
421
    </dependency>
422
    <dependency>
423
      <groupId>com.ibm.lsid</groupId>
424
      <artifactId>lsid-client</artifactId>
425
      <version>1.1.2</version>
426
    </dependency>
427
    <dependency>
428
      <groupId>com.ibm.lsid</groupId>
429
      <artifactId>lsid-server</artifactId>
430
      <version>1.1.2</version>
431
    </dependency>
432
    <dependency>
433
      <groupId>org.apache.lucene</groupId>
434
      <artifactId>lucene-core</artifactId>
435
      <version>3.6.2</version>
436
    </dependency>
437
    <dependency>
438
      <groupId>org.slf4j</groupId>
439
      <artifactId>slf4j-api</artifactId>
440
      <version>1.7.2</version>
441
    </dependency>
442
    <dependency>
443
      <groupId>org.javassist</groupId>
444
      <artifactId>javassist</artifactId>
445
      <version>3.17.1-GA</version>
446
    </dependency>
447
    <dependency>
448
      <groupId>au.com.bytecode</groupId>
449
      <artifactId>opencsv</artifactId>
450
      <version>2.4</version>
451
    </dependency>
452

    
453
    <!-- For Unit Tests Start -->
454
        <!-- still needed? -->
455

    
456
    <dependency>
457
      <groupId>commons-dbcp</groupId>
458
      <artifactId>commons-dbcp</artifactId>
459
      <version>1.4</version>
460
    </dependency>
461
    <dependency>
462
      <groupId>commons-pool</groupId>
463
      <artifactId>commons-pool</artifactId>
464
      <version>1.5.4</version>
465
    </dependency>
466

    
467
 
468
    <!-- For Unit Tests End -->
469

    
470
    <!-- For Hibernate Mapping Start -->
471
    <dependency>
472
      <groupId>wsdl4j</groupId>
473
      <artifactId>wsdl4j</artifactId>
474
      <version>1.6.3</version>
475
    </dependency>
476
    <dependency>
477
      <groupId>javax.validation</groupId>
478
      <artifactId>validation-api</artifactId>
479
      <version>1.1.0.Final</version>
480
    </dependency>
481
    <!-- For Hibernate Mapping End -->
482

    
483
        <dependency>
484
                <groupId>com.itextpdf</groupId>
485
                <artifactId>itextpdf</artifactId>
486
                <version>5.5.8</version>
487
                <scope>compile</scope>
488
        </dependency>
489

    
490
  </dependencies>
491
</project>
492

    
Add picture from clipboard (Maximum size: 40 MB)