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