Add newer itextpdf dependency to avoid conflict with itextpdf 5.0.2 from
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / pom.xml
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>3.13.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 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>org.eclipse.jetty</groupId> -->
242 <!-- <artifactId>jetty-server</artifactId> -->
243 <!-- <version>9.1.3.v20140225</version> -->
244 <!-- </dependency> -->
245 <!-- <dependency> -->
246 <!-- <groupId>org.eclipse.jetty</groupId> -->
247 <!-- <artifactId>jetty-util</artifactId> -->
248 <!-- <version>9.1.3.v20140225</version> -->
249 <!-- </dependency> -->
250 <!-- <dependency> -->
251 <!-- <groupId>org.eclipse.jetty</groupId> -->
252 <!-- <artifactId>jetty-xml</artifactId> -->
253 <!-- <version>9.1.3.v20140225</version> -->
254 <!-- </dependency> -->
255 <!-- <dependency> -->
256 <!-- <groupId>org.eclipse.jetty</groupId> -->
257 <!-- <artifactId>jetty-servlet</artifactId> -->
258 <!-- <version>9.1.3.v20140225</version> -->
259 <!-- </dependency> -->
260 <!-- <dependency> -->
261 <!-- <groupId>org.eclipse.jetty</groupId> -->
262 <!-- <artifactId>jetty-webapp</artifactId> -->
263 <!-- <version>9.1.3.v20140225</version> -->
264 <!-- </dependency> -->
265 <!-- <dependency> -->
266 <!-- <groupId>org.eclipse.jetty</groupId> -->
267 <!-- <artifactId>jetty-security</artifactId> -->
268 <!-- <version>9.1.3.v20140225</version> -->
269 <!-- </dependency> -->
270 <!-- <dependency> -->
271 <!-- <groupId>org.eclipse.jetty</groupId> -->
272 <!-- <artifactId>jetty-http</artifactId> -->
273 <!-- <version>${jetty.version}</version> -->
274 <!-- </dependency> -->
275 <!-- <dependency> -->
276 <!-- <groupId>org.eclipse.jetty</groupId> -->
277 <!-- <artifactId>jetty-io</artifactId> -->
278 <!-- <version>${jetty.version}</version> -->
279 <!-- </dependency> -->
280 <!-- <dependency> -->
281 <!-- <groupId>javax.servlet</groupId> -->
282 <!-- <artifactId>javax.servlet-api</artifactId> -->
283 <!-- <version>3.1.0</version> -->
284 <!-- </dependency> -->
285
286 <!-- <dependency> -->
287 <!-- <groupId>javax.servlet</groupId> -->
288 <!-- <artifactId>jsp-api</artifactId> -->
289 <!-- <version>2.0</version> -->
290 <!-- </dependency> -->
291
292 <dependency>
293 <groupId>net.sf.ehcache</groupId>
294 <artifactId>ehcache-core</artifactId>
295 <version>2.4.3</version>
296 </dependency>
297 <dependency>
298 <groupId>org.hibernate</groupId>
299 <artifactId>hibernate-core</artifactId>
300 <version>4.1.10.Final</version>
301 </dependency>
302 <dependency>
303 <groupId>org.hibernate.common</groupId>
304 <artifactId>hibernate-commons-annotations</artifactId>
305 <version>4.0.1.Final</version>
306 </dependency>
307 <dependency>
308 <groupId>org.hibernate</groupId>
309 <artifactId>hibernate-search-engine</artifactId>
310 <version>4.2.0.Final</version>
311 </dependency>
312 <dependency>
313 <groupId>org.hibernate.javax.persistence</groupId>
314 <artifactId>hibernate-jpa-2.0-api</artifactId>
315 <version>1.0.1.Final</version>
316 </dependency>
317 <dependency>
318 <groupId>org.hibernate</groupId>
319 <artifactId>hibernate-envers</artifactId>
320 <version>4.1.10.Final</version>
321 </dependency>
322 <dependency>
323 <groupId>org.hibernate</groupId>
324 <artifactId>hibernate-entitymanager</artifactId>
325 <version>4.1.10.Final</version>
326 </dependency>
327 <dependency>
328 <groupId>dom4j</groupId>
329 <artifactId>dom4j</artifactId>
330 <version>1.6</version>
331 </dependency>
332 <dependency>
333 <groupId>org.jadira.usertype</groupId>
334 <artifactId>usertype.jodatime</artifactId>
335 <version>2.0.1</version>
336 </dependency>
337 <dependency>
338 <groupId>org.jadira.usertype</groupId>
339 <artifactId>usertype.spi</artifactId>
340 <version>2.0.1</version>
341 </dependency>
342
343 <dependency>
344 <groupId>junit</groupId>
345 <artifactId>junit</artifactId>
346 <version>4.11</version>
347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>log4j</groupId>
351 <artifactId>log4j</artifactId>
352 <version>1.2.17</version>
353 </dependency>
354 <dependency>
355 <groupId>org.jdom</groupId>
356 <artifactId>jdom</artifactId>
357 <version>1.1.3</version>
358 </dependency>
359 <dependency>
360 <groupId>org.springframework</groupId>
361 <artifactId>spring-context</artifactId>
362 <version>4.2.4.RELEASE</version>
363 </dependency>
364 <dependency>
365 <groupId>org.springframework</groupId>
366 <artifactId>spring-context-support</artifactId>
367 <version>4.2.4.RELEASE</version>
368 </dependency>
369 <dependency>
370 <groupId>org.springframework</groupId>
371 <artifactId>spring-aspects</artifactId>
372 <version>4.2.4.RELEASE</version>
373 </dependency>
374 <dependency>
375 <groupId>org.springframework</groupId>
376 <artifactId>spring-test</artifactId>
377 <version>4.2.4.RELEASE</version>
378 </dependency>
379 <dependency>
380 <groupId>org.springframework</groupId>
381 <artifactId>spring-beans</artifactId>
382 <version>4.2.4.RELEASE</version>
383 </dependency>
384 <dependency>
385 <groupId>org.springframework</groupId>
386 <artifactId>spring-tx</artifactId>
387 <version>4.2.4.RELEASE</version>
388 </dependency>
389 <dependency>
390 <groupId>org.springframework</groupId>
391 <artifactId>spring-web</artifactId>
392 <version>4.2.4.RELEASE</version>
393 </dependency>
394 <dependency>
395 <groupId>org.springframework</groupId>
396 <artifactId>spring-core</artifactId>
397 <version>4.2.4.RELEASE</version>
398 </dependency>
399 <dependency>
400 <groupId>org.springframework</groupId>
401 <artifactId>spring-aop</artifactId>
402 <version>4.2.4.RELEASE</version>
403 </dependency>
404 <dependency>
405 <groupId>org.springframework</groupId>
406 <artifactId>spring-expression</artifactId>
407 <version>4.2.4.RELEASE</version>
408 </dependency>
409 <dependency>
410 <groupId>org.springframework</groupId>
411 <artifactId>spring-orm</artifactId>
412 <version>4.2.4.RELEASE</version>
413 </dependency>
414 <dependency>
415 <groupId>org.springframework</groupId>
416 <artifactId>spring-jdbc</artifactId>
417 <version>4.2.4.RELEASE</version>
418 </dependency>
419 <dependency>
420 <groupId>org.springframework.security</groupId>
421 <artifactId>spring-security-core</artifactId>
422 <version>4.0.3.RELEASE</version>
423 </dependency>
424 <dependency>
425 <groupId>org.springframework.security</groupId>
426 <artifactId>spring-security-config</artifactId>
427 <version>4.0.3.RELEASE</version>
428 </dependency>
429 <dependency>
430 <groupId>org.springframework.security</groupId>
431 <artifactId>spring-security-remoting</artifactId>
432 <version>4.0.3.RELEASE</version>
433 </dependency>
434 <dependency>
435 <groupId>org.jboss.logging</groupId>
436 <artifactId>jboss-logging</artifactId>
437 <version>3.1.3.GA</version>
438 </dependency>
439 <dependency>
440 <groupId>org.hamcrest</groupId>
441 <artifactId>hamcrest-core</artifactId>
442 <version>1.3</version>
443 </dependency>
444 <dependency>
445 <groupId>com.mchange</groupId>
446 <artifactId>c3p0</artifactId>
447 <version>0.9.2</version>
448 </dependency>
449 <dependency>
450 <groupId>org.jboss.spec.javax.transaction</groupId>
451 <artifactId>jboss-transaction-api_1.1_spec</artifactId>
452 <version>1.0.0.Final</version>
453 </dependency>
454 <dependency>
455 <groupId>org.aspectj</groupId>
456 <artifactId>aspectjrt</artifactId>
457 <version>1.7.1</version>
458 </dependency>
459 <dependency>
460 <groupId>commons-logging</groupId>
461 <artifactId>commons-logging</artifactId>
462 <version>1.1.1</version>
463 </dependency>
464 <dependency>
465 <groupId>commons-lang</groupId>
466 <artifactId>commons-lang</artifactId>
467 <version>2.6</version>
468 </dependency>
469 <dependency>
470 <groupId>aopalliance</groupId>
471 <artifactId>aopalliance</artifactId>
472 <version>1.0</version>
473 </dependency>
474 <dependency>
475 <groupId>joda-time</groupId>
476 <artifactId>joda-time</artifactId>
477 <version>2.1</version>
478 </dependency>
479 <dependency>
480 <groupId>com.ibm.lsid</groupId>
481 <artifactId>lsid-client</artifactId>
482 <version>1.1.2</version>
483 </dependency>
484 <dependency>
485 <groupId>com.ibm.lsid</groupId>
486 <artifactId>lsid-server</artifactId>
487 <version>1.1.2</version>
488 </dependency>
489 <dependency>
490 <groupId>org.apache.lucene</groupId>
491 <artifactId>lucene-core</artifactId>
492 <version>3.6.2</version>
493 </dependency>
494 <dependency>
495 <groupId>org.slf4j</groupId>
496 <artifactId>slf4j-api</artifactId>
497 <version>1.7.2</version>
498 </dependency>
499 <dependency>
500 <groupId>org.javassist</groupId>
501 <artifactId>javassist</artifactId>
502 <version>3.17.1-GA</version>
503 </dependency>
504 <dependency>
505 <groupId>au.com.bytecode</groupId>
506 <artifactId>opencsv</artifactId>
507 <version>2.4</version>
508 </dependency>
509
510 <!-- For Unit Tests Start -->
511
512 <dependency>
513 <groupId>org.unitils</groupId>
514 <artifactId>unitils-core</artifactId>
515 <version>3.4.2</version>
516 </dependency>
517 <dependency>
518 <groupId>org.unitils</groupId>
519 <artifactId>unitils-spring</artifactId>
520 <version>3.4.2</version>
521 </dependency>
522 <dependency>
523 <groupId>org.unitils</groupId>
524 <artifactId>unitils-database</artifactId>
525 <version>3.4.2</version>
526 </dependency>
527 <dependency>
528 <groupId>commons-dbcp</groupId>
529 <artifactId>commons-dbcp</artifactId>
530 <version>1.4</version>
531 </dependency>
532 <dependency>
533 <groupId>commons-pool</groupId>
534 <artifactId>commons-pool</artifactId>
535 <version>1.5.4</version>
536 </dependency>
537 <dependency>
538 <groupId>org.unitils</groupId>
539 <artifactId>unitils-dbmaintainer</artifactId>
540 <version>3.4.2</version>
541 </dependency>
542 <dependency>
543 <groupId>com.h2database</groupId>
544 <artifactId>h2</artifactId>
545 <version>1.4.181</version>
546 </dependency>
547 <dependency>
548 <groupId>org.unitils</groupId>
549 <artifactId>unitils-dbunit</artifactId>
550 <version>3.4.2</version>
551 </dependency>
552 <dependency>
553 <groupId>org.dbunit</groupId>
554 <artifactId>dbunit</artifactId>
555 <version>2.4.9</version>
556 </dependency>
557 <!-- For Unit Tests End -->
558
559 <!-- For Hibernate Mapping Start -->
560 <dependency>
561 <groupId>wsdl4j</groupId>
562 <artifactId>wsdl4j</artifactId>
563 <version>1.6.3</version>
564 </dependency>
565 <dependency>
566 <groupId>javax.validation</groupId>
567 <artifactId>validation-api</artifactId>
568 <version>1.1.0.Final</version>
569 </dependency>
570 <!-- For Hibernate Mapping End -->
571
572 <dependency>
573 <groupId>com.itextpdf</groupId>
574 <artifactId>itextpdf</artifactId>
575 <version>5.5.8</version>
576 <scope>compile</scope>
577 </dependency>
578
579
580 </dependencies>
581 </project>
582