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