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 <modelVersion>4.0.0</modelVersion>
4 <groupId>eu.etaxonomy
</groupId>
5 <artifactId>cdm-vaadin
</artifactId>
6 <packaging>war
</packaging>
7 <version>4.1.0-SNAPSHOT
</version>
8 <name>Vaadin Web Application
</name>
10 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
11 <vaadin.version
>7.6.3</vaadin.version
>
12 <vaadin.plugin.version
>${vaadin.version}
</vaadin.plugin.version
>
13 <cdmlib.version
>4.1.0-SNAPSHOT
</cdmlib.version
>
14 <unitils.version
>3.4.2</unitils.version
>
15 <spring.version
>4.2.4.RELEASE
</spring.version
>
21 <!-- the cdm internal repository -->
23 <id>EditRepository
</id>
24 <url>http://wp5.e-taxonomy.eu/mavenrepo/
</url>
26 <!-- current spring source repositories -->
28 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
29 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
32 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
33 <url>http://repository.springsource.com/maven/bundles/release
</url>
36 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
37 <url>http://repository.springsource.com/maven/bundles/external
</url>
40 <id>vaadin-addons
</id>
41 <url>http://maven.vaadin.com/vaadin-addons
</url>
44 <id>vaadin-snapshots
</id>
45 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
47 <enabled>false
</enabled>
50 <enabled>true
</enabled>
56 <id>vaadin-snapshots
</id>
57 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
59 <enabled>false
</enabled>
62 <enabled>true
</enabled>
66 <distributionManagement>
68 <uniqueVersion>false
</uniqueVersion>
69 <id>wp5.e-taxonomy.eu
</id>
70 <name>Edit Maven Repository
</name>
71 <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
72 <layout>default
</layout>
74 </distributionManagement>
79 <name>align-cdmlib-version
</name>
85 <groupId>com.google.code.maven-replacer-plugin
</groupId>
86 <artifactId>replacer
</artifactId>
87 <version>1.5.3</version>
90 <phase>process-sources
</phase>
98 <!-- \u003C = < , \u003E = > -->
99 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
100 <value>$
1${project.version}
</value>
110 <groupId>org.apache.maven.plugins
</groupId>
111 <artifactId>maven-compiler-plugin
</artifactId>
112 <version>3.3</version>
116 <encoding>UTF-
8</encoding>
120 <groupId>org.apache.maven.plugins
</groupId>
121 <artifactId>maven-surefire-plugin
</artifactId>
123 <argLine>-Xms256m -Xmx512m
</argLine>
126 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
127 <!-- directory is cleaned properly -->
129 <artifactId>maven-clean-plugin
</artifactId>
130 <version>2.4.1</version>
134 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
140 <groupId>org.apache.maven.plugins
</groupId>
141 <artifactId>maven-war-plugin
</artifactId>
142 <version>2.2</version>
144 <failOnMissingWebXml>false
</failOnMissingWebXml>
145 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
149 <groupId>com.vaadin
</groupId>
150 <artifactId>vaadin-maven-plugin
</artifactId>
151 <version>${vaadin.plugin.version}
</version>
153 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
154 <!-- <runTarget>mobilemail</runTarget> -->
155 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
156 This way compatible with Vaadin eclipse plugin. -->
157 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
159 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
161 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
162 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
163 <deploy>${project.build.directory}/gwt-deploy
</deploy>
164 <!-- Compile report is not typically needed either, saves hunreds
166 <compileReport>false
</compileReport>
167 <noServer>true
</noServer>
168 <!-- Remove draftCompile when project is ready -->
169 <draftCompile>false
</draftCompile>
171 <strict>true
</strict>
172 <runTarget>http://localhost:
8080/
</runTarget>
177 <!-- if you don't specify any modules, the plugin will find
179 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
184 <goal>resources
</goal>
185 <goal>update-theme
</goal>
186 <goal>update-widgetset
</goal>
187 <goal>compile-theme
</goal>
194 <!-- <groupId>org.eclipse.jetty</groupId> -->
195 <!-- <artifactId>jetty-maven-plugin</artifactId> -->
196 <!-- <version>9.2.3.v20140905</version> -->
197 <!-- <configuration> -->
198 <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
199 <!-- <stopPort>8005</stopPort> -->
200 <!-- <stopKey>STOP</stopKey> -->
201 <!-- <useProvidedScope>true</useProvidedScope> -->
203 <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
205 <!-- </configuration> -->
206 <!-- <executions> -->
208 <!-- <id>start-jetty</id> -->
209 <!-- <phase>pre-integration-test</phase> -->
211 <!-- <goal>start</goal> -->
213 <!-- <configuration> -->
214 <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
215 <!-- <daemon>true</daemon> -->
216 <!-- </configuration> -->
217 <!-- </execution> -->
219 <!-- <id>stop-jetty</id> -->
220 <!-- <phase>post-integration-test</phase> -->
222 <!-- <goal>stop</goal> -->
224 <!-- </execution> -->
225 <!-- </executions> -->
228 <groupId>org.apache.maven.plugins
</groupId>
229 <artifactId>maven-failsafe-plugin
</artifactId>
230 <version>2.17</version>
232 <!-- Remove the skipTests line below to run TestBench tests -->
233 <!-- <skipTests>true</skipTests> -->
238 <goal>integration-test
</goal>
245 <groupId>external.atlassian.jgitflow
</groupId>
246 <artifactId>jgitflow-maven-plugin
</artifactId>
247 <version>1.0-m6
</version>
249 <pushHotfixes>true
</pushHotfixes>
250 <pushReleases>true
</pushReleases>
251 <enableSshAgent>true
</enableSshAgent>
252 <allowSnapshots>true
</allowSnapshots>
253 <allowUntracked>true
</allowUntracked>
257 upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
258 in order have ssl key exchange algorithms compatible with openssh 6.7
261 <groupId>com.jcraft
</groupId>
262 <artifactId>jsch
</artifactId>
263 <version>0.1.53</version>
270 <groupId>org.apache.maven.wagon
</groupId>
271 <artifactId>wagon-scm
</artifactId>
272 <version>1.0-beta-
6</version>
275 <groupId>org.apache.maven.wagon
</groupId>
276 <artifactId>wagon-ssh
</artifactId>
277 <version>1.0-beta-
6</version>
280 <groupId>org.apache.maven.wagon
</groupId>
281 <artifactId>wagon-ssh-external
</artifactId>
282 <version>1.0-beta-
6</version>
285 <groupId>org.apache.maven.scm
</groupId>
286 <artifactId>maven-scm-manager-plexus
</artifactId>
287 <version>1.0</version>
290 <groupId>org.apache.maven.scm
</groupId>
291 <artifactId>maven-scm-provider-svnexe
</artifactId>
292 <version>1.0</version>
294 <!-- WebDAV plugin to upload snapshots -->
296 <groupId>org.apache.maven.wagon
</groupId>
297 <artifactId>wagon-webdav
</artifactId>
298 <version>1.0-beta-
2</version>
304 <artifactId>maven-eclipse-plugin
</artifactId>
306 <wtpversion>2.0</wtpversion>
307 <additionalProjectnatures>
308 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
309 </additionalProjectnatures>
310 <additionalBuildcommands>
311 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
312 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
313 </additionalBuildcommands>
321 <groupId>com.vaadin
</groupId>
322 <artifactId>vaadin-server
</artifactId>
323 <version>${vaadin.version}
</version>
326 <groupId>com.vaadin
</groupId>
327 <artifactId>vaadin-client-compiled
</artifactId>
328 <version>${vaadin.version}
</version>
330 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
331 For widgetset compilation, vaadin-client-compiler is automatically added
332 on the compilation classpath by vaadin-maven-plugin so normally there is
333 no need for an explicit dependency. -->
334 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
335 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
337 <groupId>com.vaadin
</groupId>
338 <artifactId>vaadin-client
</artifactId>
339 <version>${vaadin.version}
</version>
340 <scope>provided
</scope>
342 <!-- disabling push for the moment because it does not work with run-jetty-run
343 due to the fact that the latest (even nightly) version of run-jetty-run uses
344 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
345 included in this pom which is 9.2.5.xx, implying that enabling the dependency
346 and running the web app via 'mvn jetty:run' works fine. -->
347 <!-- <dependency> -->
348 <!-- <groupId>com.vaadin</groupId> -->
349 <!-- <artifactId>vaadin-push</artifactId> -->
350 <!-- <version>${vaadin.version}</version> -->
351 <!-- </dependency> -->
353 <groupId>com.vaadin
</groupId>
354 <artifactId>vaadin-themes
</artifactId>
355 <version>${vaadin.version}
</version>
358 <groupId>javax.servlet
</groupId>
359 <artifactId>javax.servlet-api
</artifactId>
360 <version>3.1.0</version>
361 <scope>provided
</scope>
364 <groupId>com.vaadin
</groupId>
365 <artifactId>vaadin-testbench-api
</artifactId>
366 <version>RELEASE
</version>
370 <groupId>eu.etaxonomy
</groupId>
371 <artifactId>cdmlib-services
</artifactId>
372 <version>${cdmlib.version}
</version>
377 <!-- <scope>provided</scope> -->
380 <groupId>eu.etaxonomy
</groupId>
381 <artifactId>cdmlib-test
</artifactId>
382 <version>${cdmlib.version}
</version>
385 <!-- to override version number coming with vaadin client -->
387 <groupId>javax.validation
</groupId>
388 <artifactId>validation-api
</artifactId>
389 <version>1.1.0.Final
</version>
392 <groupId>org.springmodules
</groupId>
393 <artifactId>spring-modules-cache
</artifactId>
394 <version>0.7</version>
397 <groupId>org.springframework
</groupId>
398 <artifactId>spring
</artifactId>
401 <groupId>org.springframework
</groupId>
402 <artifactId>spring-mock
</artifactId>
405 <scope>provided
</scope>
408 <groupId>com.thoughtworks.xstream
</groupId>
409 <artifactId>xstream
</artifactId>
410 <version>1.4.7</version>
411 <scope>provided
</scope>
414 <groupId>org.springframework
</groupId>
415 <artifactId>spring-mock
</artifactId>
416 <version>2.0.8</version>
417 <scope>provided
</scope>
420 <groupId>org.springframework
</groupId>
421 <artifactId>spring-context-support
</artifactId>
422 <version>${spring.version}
</version>
423 <scope>provided
</scope>
426 <groupId>org.springframework
</groupId>
427 <artifactId>spring-web
</artifactId>
428 <version>${spring.version}
</version>
431 <groupId>org.springframework
</groupId>
432 <artifactId>spring-webmvc
</artifactId>
433 <version>${spring.version}
</version>
435 <!-- vaadin addons / extensions -->
437 <groupId>org.vaadin.addons
</groupId>
438 <artifactId>contextmenu
</artifactId>
439 <version>4.5</version>
442 <groupId>junit
</groupId>
443 <artifactId>junit
</artifactId>
444 <version>4.11</version>
447 <!-- unitils dependencies - start -->
448 <!-- <dependency> -->
449 <!-- <groupId>org.unitils</groupId> -->
450 <!-- <artifactId>unitils-core</artifactId> -->
451 <!-- <version>${unitils.version}</version> -->
452 <!-- <scope>test</scope> -->
453 <!-- </dependency> -->
454 <!-- <dependency> -->
455 <!-- <groupId>org.unitils</groupId> -->
456 <!-- <artifactId>unitils-database</artifactId> -->
457 <!-- <version>${unitils.version}</version> -->
458 <!-- <scope>test</scope> -->
459 <!-- <exclusions> -->
461 <!-- <groupId>org.springframework</groupId> -->
462 <!-- <artifactId>spring-jdbc</artifactId> -->
463 <!-- </exclusion> -->
464 <!-- </exclusions> -->
465 <!-- </dependency> -->
466 <!-- <dependency> -->
467 <!-- <groupId>org.unitils</groupId> -->
468 <!-- <artifactId>unitils-dbmaintainer</artifactId> -->
469 <!-- <version>${unitils.version}</version> -->
470 <!-- <scope>test</scope> -->
471 <!-- <exclusions> -->
473 <!-- <groupId>org.hibernate</groupId> -->
474 <!-- <artifactId>hibernate</artifactId> -->
475 <!-- </exclusion> -->
476 <!-- </exclusions> -->
477 <!-- </dependency> -->
478 <!-- <dependency> -->
479 <!-- <groupId>org.unitils</groupId> -->
480 <!-- <artifactId>unitils-dbunit</artifactId> -->
481 <!-- <version>${unitils.version}</version> -->
482 <!-- <scope>test</scope> -->
483 <!-- <exclusions> -->
485 <!-- <groupId>org.springframework</groupId> -->
486 <!-- <artifactId>spring-core</artifactId> -->
487 <!-- </exclusion> -->
489 <!-- <groupId>org.springframework</groupId> -->
490 <!-- <artifactId>spring-jdbc</artifactId> -->
491 <!-- </exclusion> -->
493 <!-- <groupId>org.springframework</groupId> -->
494 <!-- <artifactId>spring-beans</artifactId> -->
495 <!-- </exclusion> -->
496 <!-- </exclusions> -->
497 <!-- </dependency> -->
498 <!-- <dependency> -->
499 <!-- <groupId>org.unitils</groupId> -->
500 <!-- <artifactId>unitils-easymock</artifactId> -->
501 <!-- <version>${unitils.version}</version> -->
502 <!-- <scope>test</scope> -->
503 <!-- </dependency> -->
504 <!-- <dependency> -->
505 <!-- <groupId>org.unitils</groupId> -->
506 <!-- <artifactId>unitils-mock</artifactId> -->
507 <!-- <version>${unitils.version}</version> -->
508 <!-- <scope>test</scope> -->
509 <!-- </dependency> -->
510 <!-- <dependency> -->
511 <!-- <groupId>org.unitils</groupId> -->
512 <!-- <artifactId>unitils-inject</artifactId> -->
513 <!-- <version>${unitils.version}</version> -->
514 <!-- <scope>test</scope> -->
515 <!-- </dependency> -->
516 <!-- <dependency> -->
517 <!-- <groupId>org.unitils</groupId> -->
518 <!-- <artifactId>unitils-orm</artifactId> -->
519 <!-- <version>${unitils.version}</version> -->
520 <!-- <scope>test</scope> -->
521 <!-- <exclusions> -->
523 <!-- <artifactId>*</artifactId> -->
524 <!-- <groupId>org.springframework</groupId> -->
525 <!-- </exclusion> -->
527 <!-- <artifactId>persistence-api</artifactId> -->
528 <!-- <groupId>javax.persistence</groupId> -->
529 <!-- </exclusion> -->
531 <!-- <artifactId>hibernate</artifactId> -->
532 <!-- <groupId>org.hibernate</groupId> -->
533 <!-- </exclusion> -->
534 <!-- </exclusions> -->
535 <!-- </dependency> -->
536 <!-- <dependency> -->
537 <!-- <groupId>org.unitils</groupId> -->
538 <!-- <artifactId>unitils-spring</artifactId> -->
539 <!-- <version>${unitils.version}</version> -->
540 <!-- <scope>test</scope> -->
541 <!-- <exclusions> -->
543 <!-- <groupId>org.springframework</groupId> -->
544 <!-- <artifactId>spring-core</artifactId> -->
545 <!-- </exclusion> -->
547 <!-- <groupId>org.springframework</groupId> -->
548 <!-- <artifactId>spring-context</artifactId> -->
549 <!-- </exclusion> -->
551 <!-- <groupId>org.springframework</groupId> -->
552 <!-- <artifactId>spring-beans</artifactId> -->
553 <!-- </exclusion> -->
555 <!-- <groupId>org.springframework</groupId> -->
556 <!-- <artifactId>spring-test</artifactId> -->
557 <!-- </exclusion> -->
559 <!-- <groupId>org.springframework</groupId> -->
560 <!-- <artifactId>spring-tx</artifactId> -->
561 <!-- </exclusion> -->
562 <!-- </exclusions> -->
563 <!-- </dependency> -->
564 <!-- <dependency> -->
565 <!-- <groupId>org.easymock</groupId> -->
566 <!-- <artifactId>easymock</artifactId> -->
567 <!-- <version>3.1</version> -->
568 <!-- <scope>test</scope> -->
569 <!-- </dependency> -->
570 <!-- <dependency> -->
571 <!-- <groupId>xmlunit</groupId> -->
572 <!-- <artifactId>xmlunit</artifactId> -->
573 <!-- <version>1.4</version> -->
574 <!-- <scope>test</scope> -->
575 <!-- </dependency> -->
576 <!-- <dependency> -->
577 <!-- <groupId>org.dbunit</groupId> -->
578 <!-- <artifactId>dbunit</artifactId> -->
579 <!-- <version>2.4.9</version> -->
580 <!-- <scope>test</scope> -->
581 <!-- </dependency> -->
582 <!-- <dependency> -->
583 <!-- <groupId>commons-dbcp</groupId> -->
584 <!-- <artifactId>commons-dbcp</artifactId> -->
585 <!-- <version>1.4</version> -->
586 <!-- <scope>test</scope> -->
587 <!-- </dependency> -->
588 <!-- unitils dependencies - end -->
590 <groupId>org.slf4j
</groupId>
591 <artifactId>slf4j-log4j12
</artifactId>
592 <version>1.7.2</version>
593 <scope>provided
</scope>
596 <groupId>org.slf4j
</groupId>
597 <artifactId>slf4j-api
</artifactId>
598 <version>1.7.2</version>
599 <scope>provided
</scope>
602 <groupId>org.json
</groupId>
603 <artifactId>json
</artifactId>
604 <version>20151123</version>