Project

General

Profile

Download (16.5 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.3.8-SNAPSHOT</version>
8
  </parent>
9
  <modelVersion>4.0.0</modelVersion>
10
  <artifactId>eu.etaxonomy.taxeditor.remoting</artifactId>
11
  <packaging>eclipse-plugin</packaging>
12
  <name>Remoting Bundle</name>
13
  <description>Remoting 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
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
  <dependencies>
195
    <dependency>
196
      <groupId>eu.etaxonomy</groupId>
197
      <artifactId>cdmlib-remote-webapp</artifactId>
198
      <version>${cdmlib.version}</version>
199
      <type>war</type>
200
    </dependency>
201
    <dependency>
202
      <groupId>eu.etaxonomy</groupId>
203
      <artifactId>cdmlib-services</artifactId>
204
      <version>${cdmlib.version}</version>
205
    </dependency>
206
    <dependency>
207
      <groupId>eu.etaxonomy</groupId>
208
      <artifactId>cdmlib-commons</artifactId>
209
      <version>${cdmlib.version}</version>
210
    </dependency>
211
    <dependency>
212
      <groupId>eu.etaxonomy</groupId>
213
      <artifactId>cdmlib-persistence</artifactId>
214
      <version>${cdmlib.version}</version>
215
    </dependency>
216
    <dependency>
217
      <groupId>eu.etaxonomy</groupId>
218
      <artifactId>cdmlib-ext</artifactId>
219
      <version>${cdmlib.version}</version>
220
    </dependency>
221
    <dependency>
222
      <groupId>eu.etaxonomy</groupId>
223
      <artifactId>cdmlib-model</artifactId>
224
      <version>${cdmlib.version}</version>
225
    </dependency>
226

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

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

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

    
471
    <!-- For Unit Tests -->
472
    <dependency>
473
      <groupId>org.unitils</groupId>
474
      <artifactId>unitils-spring</artifactId>
475
      <version>3.4.2</version>
476
    </dependency>
477
    <dependency>
478
      <groupId>org.unitils</groupId>
479
      <artifactId>unitils-database</artifactId>
480
      <version>3.4.2</version>
481
    </dependency>
482
    <dependency>
483
      <groupId>commons-dbcp</groupId>
484
      <artifactId>commons-dbcp</artifactId>
485
      <version>1.4</version>
486
    </dependency>
487
    <dependency>
488
      <groupId>commons-pool</groupId>
489
      <artifactId>commons-pool</artifactId>
490
      <version>1.5.4</version>
491
    </dependency>
492
    <dependency>
493
      <groupId>org.unitils</groupId>
494
      <artifactId>unitils-dbmaintainer</artifactId>
495
      <version>3.4.2</version>
496
    </dependency>
497
    <dependency>
498
      <groupId>com.h2database</groupId>
499
      <artifactId>h2</artifactId>
500
      <version>1.4.181</version>
501
    </dependency>
502
    <dependency>
503
      <groupId>org.unitils</groupId>
504
      <artifactId>unitils-dbunit</artifactId>
505
      <version>3.4.2</version>
506
    </dependency>
507
    <dependency>
508
      <groupId>org.dbunit</groupId>
509
      <artifactId>dbunit</artifactId>
510
      <version>2.4.9</version>
511
    </dependency>
512
  </dependencies>
513
</project>
(2-2/2)