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