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