Project

General

Profile

Download (17.6 KB) Statistics
| Branch: | Tag: | Revision:
1 203d4dca n.hoffmann
<?xml version="1.0" encoding="UTF-8"?>
2 80de230c Cherian Mathew
<project>
3
4
	<parent>
5
		<groupId>eu.etaxonomy</groupId>
6
		<artifactId>taxeditor-parent</artifactId>
7
		<version>3.4.0-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)" to="\1\2" />
88
								</move>
89
								<move todir="./src/main/resources/etc/jetty">
90
									<fileset dir="./src/main/resources/etc/jetty" />
91
									<mapper type="regexp"
92
										from="(^cdmlib\-.*)\-[0-9]\.[0-9]\.[0-9]\-[0-9.-]+(\.war)" to="\1\2" />
93
								</move>
94
								<echo>Update cdmlib jars to SNAPSHOT when build with
95
									timestamp
96
								</echo>
97
								<move todir="./lib">
98
									<fileset dir="./lib" />
99
									<mapper type="regexp"
100
										from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\.jar)" to="\1SNAPSHOT\2" />
101
								</move>
102
								<move todir="./lib">
103
									<fileset dir="./lib" />
104
									<mapper type="regexp"
105
										from="(^cdmlib\-.*\-[0-9]\.[0-9]\.[0-9]\-)[0-9.-]+(\-sources\.jar)"
106
										to="\1SNAPSHOT\2" />
107
								</move>
108
							</target>
109
						</configuration>
110
					</execution>
111
				</executions>
112
			</plugin>
113
		</plugins>
114
	</build>
115
	<profiles>
116
		<profile>
117
			<id>cleanCdmlibJars</id>
118
			<build>
119
				<plugins>
120
					<plugin>
121
						<artifactId>maven-clean-plugin</artifactId>
122
						<version>2.3</version>
123
						<configuration>
124
							<filesets>
125
								<fileset>
126
									<directory>${basedir}/lib</directory>
127
									<includes>
128
										<include>cdmlib-*</include>
129
									</includes>
130
									<followSymlinks>false</followSymlinks>
131
								</fileset>
132
							</filesets>
133
						</configuration>
134
					</plugin>
135
				</plugins>
136
			</build>
137
		</profile>
138
		<profile>
139
			<id>cleanAllJars</id>
140
			<build>
141
				<plugins>
142
					<plugin>
143
						<artifactId>maven-clean-plugin</artifactId>
144
						<version>2.3</version>
145
						<configuration>
146
							<filesets>
147
								<fileset>
148
									<directory>${basedir}/lib</directory>
149
									<includes>
150
										<include>*</include>
151
									</includes>
152
									<followSymlinks>false</followSymlinks>
153
								</fileset>
154
							</filesets>
155
						</configuration>
156
					</plugin>
157
				</plugins>
158
			</build>
159
		</profile>
160
		<profile>
161
			<id>copyAllJars</id>
162
			<build>
163
				<plugins>
164
					<plugin>
165
						<groupId>org.apache.maven.plugins</groupId>
166
						<artifactId>maven-dependency-plugin</artifactId>
167
						<version>2.4</version>
168
						<executions>
169
							<execution>
170
								<id>copy-all-dependencies</id>
171
								<phase>validate</phase>
172
								<goals>
173
									<goal>copy-dependencies</goal>
174
								</goals>
175
								<configuration>
176
									<excludeArtifactIds>
177
										cdmlib-remote-webapp
178
									</excludeArtifactIds>
179
									<outputDirectory>${basedir}/lib</outputDirectory>
180
									<overWriteReleases>true</overWriteReleases>
181
									<overWriteSnapshots>true</overWriteSnapshots>
182
									<excludeTransitive>true</excludeTransitive>
183
								</configuration>
184
							</execution>
185
						</executions>
186
					</plugin>
187
				</plugins>
188
			</build>
189
		</profile>
190
	</profiles>
191
	<repositories>
192
		<repository>
193
			<id>SpringSource Enterprise Bundle Repository - External Bundle
194
				Milestones
195
			</id>
196
			<url>http://repository.springsource.com/maven/bundles/milestone
197
			</url>
198
		</repository>
199
		<repository>
200
			<id>SpringSource Enterprise Bundle Repository - SpringSource
201
				Bundle
202
				Releases
203
			</id>
204
			<url>http://repository.springsource.com/maven/bundles/release
205
			</url>
206
		</repository>
207
		<repository>
208
			<id>SpringSource Enterprise Bundle Repository - External Bundle
209
				Releases
210
			</id>
211
			<url>http://repository.springsource.com/maven/bundles/external
212
			</url>
213
		</repository>
214
	</repositories>
215
	<dependencies>
216
		<dependency>
217
			<groupId>eu.etaxonomy</groupId>
218
			<artifactId>cdmlib-remote-webapp</artifactId>
219
			<version>${cdmlib.version}</version>
220
			<type>war</type>
221
		</dependency>
222 d5948f17 Cherian Mathew
    <dependency>
223
      <groupId>eu.etaxonomy</groupId>
224
      <artifactId>cdmlib-commons</artifactId>
225
      <version>${cdmlib.version}</version>
226
    </dependency>
227
    <dependency>
228
      <groupId>eu.etaxonomy</groupId>
229
      <artifactId>cdmlib-model</artifactId>
230
      <version>${cdmlib.version}</version>
231
    </dependency>
232
    <dependency>
233
      <groupId>eu.etaxonomy</groupId>
234
      <artifactId>cdmlib-persistence</artifactId>
235
      <version>${cdmlib.version}</version>
236
    </dependency>
237
    <dependency>
238
      <groupId>eu.etaxonomy</groupId>
239
      <artifactId>cdmlib-remote</artifactId>
240
      <version>${cdmlib.version}</version>
241
    </dependency>
242
    <dependency>
243
      <groupId>eu.etaxonomy</groupId>
244
      <artifactId>cdmlib-print</artifactId>
245
      <version>${cdmlib.version}</version>
246
    </dependency>
247
    <dependency>
248
      <groupId>eu.etaxonomy</groupId>
249
      <artifactId>cdmlib-services</artifactId>
250
      <version>${cdmlib.version}</version>
251
    </dependency>
252
    <dependency>
253
      <groupId>eu.etaxonomy</groupId>
254
      <artifactId>cdmlib-io</artifactId>
255
      <version>${cdmlib.version}</version>
256
    </dependency>
257
    <dependency>
258
      <groupId>eu.etaxonomy</groupId>
259
      <artifactId>cdmlib-ext</artifactId>
260
      <version>${cdmlib.version}</version>
261
    </dependency>
262 80de230c Cherian Mathew
263
		<dependency>
264
			<groupId>org.unitils</groupId>
265
			<artifactId>unitils-core</artifactId>
266
			<version>3.4.2</version>
267
		</dependency>
268
		<!-- <dependency> -->
269
		<!-- <groupId>org.eclipse.jetty</groupId> -->
270
		<!-- <artifactId>jetty-server</artifactId> -->
271
		<!-- <version>9.1.3.v20140225</version> -->
272
		<!-- </dependency> -->
273
		<!-- <dependency> -->
274
		<!-- <groupId>org.eclipse.jetty</groupId> -->
275
		<!-- <artifactId>jetty-util</artifactId> -->
276
		<!-- <version>9.1.3.v20140225</version> -->
277
		<!-- </dependency> -->
278
		<!-- <dependency> -->
279
		<!-- <groupId>org.eclipse.jetty</groupId> -->
280
		<!-- <artifactId>jetty-xml</artifactId> -->
281
		<!-- <version>9.1.3.v20140225</version> -->
282
		<!-- </dependency> -->
283
		<!-- <dependency> -->
284
		<!-- <groupId>org.eclipse.jetty</groupId> -->
285
		<!-- <artifactId>jetty-servlet</artifactId> -->
286
		<!-- <version>9.1.3.v20140225</version> -->
287
		<!-- </dependency> -->
288
		<!-- <dependency> -->
289
		<!-- <groupId>org.eclipse.jetty</groupId> -->
290
		<!-- <artifactId>jetty-webapp</artifactId> -->
291
		<!-- <version>9.1.3.v20140225</version> -->
292
		<!-- </dependency> -->
293
		<!-- <dependency> -->
294
		<!-- <groupId>org.eclipse.jetty</groupId> -->
295
		<!-- <artifactId>jetty-security</artifactId> -->
296
		<!-- <version>9.1.3.v20140225</version> -->
297
		<!-- </dependency> -->
298
		<!-- <dependency> -->
299
		<!-- <groupId>org.eclipse.jetty</groupId> -->
300
		<!-- <artifactId>jetty-http</artifactId> -->
301
		<!-- <version>${jetty.version}</version> -->
302
		<!-- </dependency> -->
303
		<!-- <dependency> -->
304
		<!-- <groupId>org.eclipse.jetty</groupId> -->
305
		<!-- <artifactId>jetty-io</artifactId> -->
306
		<!-- <version>${jetty.version}</version> -->
307
		<!-- </dependency> -->
308
		<!-- <dependency> -->
309
		<!-- <groupId>javax.servlet</groupId> -->
310
		<!-- <artifactId>javax.servlet-api</artifactId> -->
311
		<!-- <version>3.1.0</version> -->
312
		<!-- </dependency> -->
313
314
		<!-- <dependency> -->
315
		<!-- <groupId>javax.servlet</groupId> -->
316
		<!-- <artifactId>jsp-api</artifactId> -->
317
		<!-- <version>2.0</version> -->
318
		<!-- </dependency> -->
319
320
		<dependency>
321
			<groupId>net.sf.ehcache</groupId>
322
			<artifactId>ehcache-core</artifactId>
323
			<version>2.4.3</version>
324
		</dependency>
325
		<dependency>
326
			<groupId>org.hibernate</groupId>
327
			<artifactId>hibernate-core</artifactId>
328
			<version>4.1.10.Final</version>
329
		</dependency>
330
		<dependency>
331
			<groupId>org.hibernate.common</groupId>
332
			<artifactId>hibernate-commons-annotations</artifactId>
333
			<version>4.0.1.Final</version>
334
		</dependency>
335
		<dependency>
336
			<groupId>org.hibernate</groupId>
337
			<artifactId>hibernate-search-engine</artifactId>
338
			<version>4.2.0.Final</version>
339
		</dependency>
340
		<dependency>
341
			<groupId>org.hibernate.javax.persistence</groupId>
342
			<artifactId>hibernate-jpa-2.0-api</artifactId>
343
			<version>1.0.1.Final</version>
344
		</dependency>
345
		<dependency>
346
			<groupId>org.hibernate</groupId>
347
			<artifactId>hibernate-envers</artifactId>
348
			<version>4.1.10.Final</version>
349
		</dependency>
350
		<dependency>
351
			<groupId>org.hibernate</groupId>
352
			<artifactId>hibernate-entitymanager</artifactId>
353
			<version>4.1.10.Final</version>
354
		</dependency>
355
		<dependency>
356
			<groupId>dom4j</groupId>
357
			<artifactId>dom4j</artifactId>
358
			<version>1.6</version>
359
		</dependency>
360
		<dependency>
361
			<groupId>org.jadira.usertype</groupId>
362
			<artifactId>usertype.jodatime</artifactId>
363
			<version>2.0.1</version>
364
		</dependency>
365
		<dependency>
366
			<groupId>org.jadira.usertype</groupId>
367
			<artifactId>usertype.spi</artifactId>
368
			<version>2.0.1</version>
369
		</dependency>
370
371
		<dependency>
372
			<groupId>junit</groupId>
373
			<artifactId>junit</artifactId>
374
			<version>4.11</version>
375
			<scope>test</scope>
376
		</dependency>
377
		<dependency>
378
			<groupId>log4j</groupId>
379
			<artifactId>log4j</artifactId>
380
			<version>1.2.17</version>
381
		</dependency>
382
		<dependency>
383
			<groupId>org.jdom</groupId>
384
			<artifactId>jdom</artifactId>
385
			<version>1.1.3</version>
386
		</dependency>
387
		<dependency>
388
			<groupId>org.springframework</groupId>
389
			<artifactId>org.springframework.context</artifactId>
390
			<version>3.2.2.RELEASE</version>
391
		</dependency>
392
		<dependency>
393
			<groupId>org.springframework</groupId>
394
			<artifactId>org.springframework.context.support</artifactId>
395
			<version>3.2.2.RELEASE</version>
396
		</dependency>
397
		<dependency>
398
			<groupId>org.springframework</groupId>
399
			<artifactId>org.springframework.aspects</artifactId>
400
			<version>3.2.2.RELEASE</version>
401
		</dependency>
402
		<dependency>
403
			<groupId>org.springframework</groupId>
404
			<artifactId>org.springframework.test</artifactId>
405
			<version>3.2.2.RELEASE</version>
406
		</dependency>
407
		<dependency>
408
			<groupId>org.springframework</groupId>
409
			<artifactId>org.springframework.beans</artifactId>
410
			<version>3.2.2.RELEASE</version>
411
		</dependency>
412
		<dependency>
413
			<groupId>org.springframework</groupId>
414
			<artifactId>org.springframework.transaction</artifactId>
415
			<version>3.2.2.RELEASE</version>
416
		</dependency>
417
		<dependency>
418
			<groupId>org.springframework</groupId>
419
			<artifactId>org.springframework.web</artifactId>
420
			<version>3.2.2.RELEASE</version>
421
		</dependency>
422
		<dependency>
423
			<groupId>org.springframework</groupId>
424
			<artifactId>org.springframework.core</artifactId>
425
			<version>3.2.2.RELEASE</version>
426
		</dependency>
427
		<dependency>
428
			<groupId>org.springframework</groupId>
429
			<artifactId>org.springframework.aop</artifactId>
430
			<version>3.2.2.RELEASE</version>
431
		</dependency>
432
		<dependency>
433
			<groupId>org.springframework</groupId>
434
			<artifactId>org.springframework.expression</artifactId>
435
			<version>3.2.2.RELEASE</version>
436
		</dependency>
437
		<dependency>
438
			<groupId>org.springframework</groupId>
439
			<artifactId>org.springframework.orm</artifactId>
440
			<version>3.2.2.RELEASE</version>
441
		</dependency>
442
		<dependency>
443
			<groupId>org.springframework</groupId>
444
			<artifactId>org.springframework.jdbc</artifactId>
445
			<version>3.2.2.RELEASE</version>
446
		</dependency>
447
		<dependency>
448
			<groupId>org.springframework.security</groupId>
449
			<artifactId>spring-security-core</artifactId>
450
			<version>3.1.3.RELEASE</version>
451
		</dependency>
452
		<dependency>
453
			<groupId>org.springframework.security</groupId>
454
			<artifactId>spring-security-config</artifactId>
455
			<version>3.1.3.RELEASE</version>
456
		</dependency>
457
		<dependency>
458
			<groupId>org.springframework.security</groupId>
459
			<artifactId>spring-security-remoting</artifactId>
460
			<version>3.1.3.RELEASE</version>
461
		</dependency>
462
		<dependency>
463
			<groupId>org.jboss.logging</groupId>
464
			<artifactId>jboss-logging</artifactId>
465
			<version>3.1.3.GA</version>
466
		</dependency>
467
		<dependency>
468
			<groupId>org.hamcrest</groupId>
469
			<artifactId>hamcrest-core</artifactId>
470
			<version>1.3</version>
471
		</dependency>
472
		<dependency>
473
			<groupId>com.mchange</groupId>
474
			<artifactId>c3p0</artifactId>
475
			<version>0.9.2</version>
476
		</dependency>
477
		<dependency>
478
			<groupId>org.jboss.spec.javax.transaction</groupId>
479
			<artifactId>jboss-transaction-api_1.1_spec</artifactId>
480
			<version>1.0.0.Final</version>
481
		</dependency>
482
		<dependency>
483
			<groupId>org.aspectj</groupId>
484
			<artifactId>aspectjrt</artifactId>
485
			<version>1.7.1</version>
486
		</dependency>
487
		<dependency>
488
			<groupId>commons-logging</groupId>
489
			<artifactId>commons-logging</artifactId>
490
			<version>1.1.1</version>
491
		</dependency>
492
		<dependency>
493
			<groupId>commons-lang</groupId>
494
			<artifactId>commons-lang</artifactId>
495
			<version>2.6</version>
496
		</dependency>
497
		<dependency>
498
			<groupId>aopalliance</groupId>
499
			<artifactId>aopalliance</artifactId>
500
			<version>1.0</version>
501
		</dependency>
502
		<dependency>
503
			<groupId>joda-time</groupId>
504
			<artifactId>joda-time</artifactId>
505
			<version>2.1</version>
506
		</dependency>
507
		<dependency>
508
			<groupId>com.ibm.lsid</groupId>
509
			<artifactId>lsid-client</artifactId>
510
			<version>1.1.2</version>
511
		</dependency>
512
		<dependency>
513
			<groupId>com.ibm.lsid</groupId>
514
			<artifactId>lsid-server</artifactId>
515
			<version>1.1.2</version>
516
		</dependency>
517
		<dependency>
518
			<groupId>org.apache.lucene</groupId>
519
			<artifactId>lucene-core</artifactId>
520
			<version>3.6.2</version>
521
		</dependency>
522
		<dependency>
523
			<groupId>org.slf4j</groupId>
524
			<artifactId>slf4j-api</artifactId>
525
			<version>1.7.2</version>
526
		</dependency>
527
		<dependency>
528
			<groupId>org.javassist</groupId>
529
			<artifactId>javassist</artifactId>
530
			<version>3.17.1-GA</version>
531
		</dependency>
532
		<dependency>
533
			<groupId>au.com.bytecode</groupId>
534
			<artifactId>opencsv</artifactId>
535
			<version>2.4</version>
536
		</dependency>
537
538
539
		<!-- For Unit Tests Start -->
540
		<dependency>
541
			<groupId>org.unitils</groupId>
542
			<artifactId>unitils-spring</artifactId>
543
			<version>3.4.2</version>
544
		</dependency>
545
		<dependency>
546
			<groupId>org.unitils</groupId>
547
			<artifactId>unitils-database</artifactId>
548
			<version>3.4.2</version>
549
		</dependency>
550
		<dependency>
551
			<groupId>commons-dbcp</groupId>
552
			<artifactId>commons-dbcp</artifactId>
553
			<version>1.4</version>
554
		</dependency>
555
		<dependency>
556
			<groupId>commons-pool</groupId>
557
			<artifactId>commons-pool</artifactId>
558
			<version>1.5.4</version>
559
		</dependency>
560
		<dependency>
561
			<groupId>org.unitils</groupId>
562
			<artifactId>unitils-dbmaintainer</artifactId>
563
			<version>3.4.2</version>
564
		</dependency>
565
		<dependency>
566
			<groupId>com.h2database</groupId>
567
			<artifactId>h2</artifactId>
568
			<version>1.4.181</version>
569
		</dependency>
570
		<dependency>
571
			<groupId>org.unitils</groupId>
572
			<artifactId>unitils-dbunit</artifactId>
573
			<version>3.4.2</version>
574
		</dependency>
575
		<dependency>
576
			<groupId>org.dbunit</groupId>
577
			<artifactId>dbunit</artifactId>
578
			<version>2.4.9</version>
579
		</dependency>
580
		<!-- For Unit Tests End -->
581
582
		<!-- For Hibernate Mapping Start -->
583
		<dependency>
584
			<groupId>wsdl4j</groupId>
585
			<artifactId>wsdl4j</artifactId>
586
			<version>1.6.3</version>
587
		</dependency>
588
		<dependency>
589
			<groupId>javax.validation</groupId>
590
			<artifactId>validation-api</artifactId>
591
			<version>1.1.0.Final</version>
592
		</dependency>
593
		<!-- For Hibernate Mapping End -->
594
	</dependencies>
595
</project>