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>5.31.0-SNAPSHOT
</version>
8 <name>Vaadin Web Application
</name>
10 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
11 <vaadin.version
>7.7.17</vaadin.version
>
12 <!-- LAST PUBLIC OPEN-SOURCE VERSION OF THE VAADIN 7 FRAMEWORK !!! -->
13 <vaadin-spring.version
>1.2.0</vaadin-spring.version
>
14 <vaadin.plugin.version
>${vaadin.version}
</vaadin.plugin.version
>
15 <vaadin-spring-addon-eventbus.version
>2.0.0.RELEASE
</vaadin-spring-addon-eventbus.version
>
16 <cdmlib.version
>5.32.0-SNAPSHOT
</cdmlib.version
>
17 <unitils.version
>3.4.2</unitils.version
>
18 <spring-boot.version
>1.3.1.RELEASE
</spring-boot.version
>
19 <!-- has spring 4.2.4-RELEASE as dependency -->
21 lucene.version must match the version as defined in cdmlib
23 <lucene.version
>5.4.1</lucene.version
>
24 <maven.compiler.source
>1.8</maven.compiler.source
>
25 <maven.compiler.target
>1.8</maven.compiler.target
>
26 <doclint>none
</doclint>
32 <!-- the cdm internal repository -->
34 <id>EditRepository
</id>
35 <url>https://cybertaxonomy.org/mavenrepo/
</url>
37 <!-- current spring source repositories -->
39 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
40 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
43 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
44 <url>http://repository.springsource.com/maven/bundles/release
</url>
47 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
48 <url>http://repository.springsource.com/maven/bundles/external
</url>
51 <id>vaadin-addons
</id>
52 <url>http://maven.vaadin.com/vaadin-addons
</url>
55 <id>vaadin-snapshots
</id>
56 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
58 <enabled>false
</enabled>
61 <enabled>true
</enabled>
67 <id>vaadin-snapshots
</id>
68 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
70 <enabled>false
</enabled>
73 <enabled>true
</enabled>
77 <dependencyManagement>
80 <groupId>eu.etaxonomy
</groupId>
81 <artifactId>cdmlib-parent
</artifactId>
82 <version>${cdmlib.version}
</version>
87 <groupId>org.springframework.boot
</groupId>
88 <artifactId>spring-boot-starter-parent
</artifactId>
89 <version>${spring-boot.version}
</version>
94 <groupId>com.vaadin
</groupId>
95 <artifactId>vaadin-bom
</artifactId>
96 <version>${vaadin.version}
</version>
101 <!-- Try updating in cdmlib to 20090211 -->
102 <groupId>org.json
</groupId>
103 <artifactId>json
</artifactId>
104 <version>20211205</version>
114 updating to same version as in vaadin-server 7.7.28 due to https://vaadin.com/security/2021-10-27
115 is not possible due to code incompatibility
116 <groupId>org.jsoup</groupId>
117 <artifactId>jsoup</artifactId>
118 <version>1.14.3</version>
123 < ! - - FIXME move to cdmlib-test - - >
124 <groupId>org.springframework</groupId>
125 <artifactId>spring-mock</artifactId>
126 <version>4.2.3.RELEASE</version>
129 <groupId>org.seleniumhq.selenium</groupId>
130 <artifactId>selenium-api</artifactId>
131 <version>3.5.3</version>
134 <groupId>org.seleniumhq.selenium</groupId>
135 <artifactId>selenium-support</artifactId>
136 <version>3.5.3</version>
140 </dependencyManagement>
141 <distributionManagement>
143 <uniqueVersion>false
</uniqueVersion>
144 <id>cybertaxonomy.eu
</id>
145 <name>Edit Maven Repository
</name>
146 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
147 <layout>default
</layout>
149 </distributionManagement>
152 <id>align-cdmlib-version
</id>
155 <name>align-cdmlib-version
</name>
161 <groupId>com.google.code.maven-replacer-plugin
</groupId>
162 <artifactId>replacer
</artifactId>
163 <version>1.5.3</version>
166 <phase>process-sources
</phase>
174 <!-- \u003C = < , \u003E = > -->
175 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
176 <value>$
1${project.version}
</value>
183 <id>java8-doclint-disabled
</id>
188 <javadoc.opts
>-Xdoclint:none
</javadoc.opts
>
195 <!-- all main resources without filtering -->
196 <directory>src/main/resources
</directory>
199 <!-- replace the place holders like ${...} in datasources.xml -->
200 <filtering>true
</filtering>
201 <directory>src/test/resources
</directory>
202 <targetPath>../test-classes
</targetPath>
204 <include>datasources.xml
</include>
208 <!-- all other test resources without filtering -->
209 <directory>src/test/resources
</directory>
210 <targetPath>../test-classes
</targetPath>
212 <exclude>datasources.xml
</exclude>
218 <groupId>org.apache.maven.plugins
</groupId>
219 <artifactId>maven-resources-plugin
</artifactId>
220 <version>3.2.0</version>
223 <groupId>org.apache.maven.plugins
</groupId>
224 <artifactId>maven-compiler-plugin
</artifactId>
225 <version>3.9.0</version>
227 <source>${maven.compiler.source}
</source>
228 <target>${maven.compiler.target}
</target>
229 <encoding>UTF-
8</encoding>
233 <groupId>org.apache.maven.plugins
</groupId>
234 <artifactId>maven-surefire-plugin
</artifactId>
235 <version>3.0.0-M5
</version>
237 <argLine>-Xms256m -Xmx512m
</argLine>
240 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
241 <!-- directory is cleaned properly -->
243 <artifactId>maven-clean-plugin
</artifactId>
244 <version>3.1.0</version>
248 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
254 <groupId>org.apache.maven.plugins
</groupId>
255 <artifactId>maven-javadoc-plugin
</artifactId>
256 <version>3.3.1</version>
258 <doclint>${doclint}
</doclint>
262 <groupId>org.apache.maven.plugins
</groupId>
263 <artifactId>maven-war-plugin
</artifactId>
264 <version>3.3.2</version>
266 <failOnMissingWebXml>false
</failOnMissingWebXml>
267 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
271 <groupId>com.vaadin
</groupId>
272 <artifactId>vaadin-maven-plugin
</artifactId>
273 <version>${vaadin.plugin.version}
</version>
275 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
276 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
277 This way compatible with Vaadin eclipse plugin. -->
278 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
</webappDirectory>
279 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
</hostedWebapp>
280 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
281 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
282 <deploy>${project.build.directory}/gwt-deploy
</deploy>
283 <!-- Compile report is not typically needed either, saves hunreds
285 <compileReport>false
</compileReport>
286 <noServer>true
</noServer>
287 <!-- Remove draftCompile when project is ready -->
288 <draftCompile>false
</draftCompile>
290 <runTarget>http://localhost:
8080/
</runTarget>
295 <!-- if you don't specify any modules, the plugin will find
297 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
302 <goal>resources
</goal>
303 <goal>update-theme
</goal>
304 <goal>update-widgetset
</goal>
305 <goal>compile-theme
</goal>
312 <groupId>org.eclipse.jetty
</groupId>
313 <artifactId>jetty-maven-plugin
</artifactId>
314 <version>9.4.15.v20190215
</version>
317 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
318 the last version compatible to java 7, but this was causing other problems related to asm
319 which could not be easily solved.
322 <useTestScope>true
</useTestScope>
323 <scanIntervalSeconds>2</scanIntervalSeconds>
327 <name>cdm.datasource
</name>
328 <value>h2_cdmTest
</value>
331 <name>hibernate.hbm2ddl.auto
</name>
332 <value>create-drop
</value>
336 The lucene index should be placed into the target folder,
337 so user.home needs to be set to this folder. user.home needs to be overridden
338 since it already exists, thus the force option is turned on above
340 <name>user.home
</name>
341 <value>${basedir}/target/
</value>
345 datasources.xml is prepared by <plugins><resources>..</resources> above
347 <name>cdm.beanDefinitionFile
</name>
348 <value>${project.build.directory}/test-classes/datasources.xml
</value>
354 <groupId>org.slf4j
</groupId>
355 <artifactId>slf4j-log4j12
</artifactId>
356 <version>1.6.4</version>
361 <groupId>org.apache.maven.plugins
</groupId>
362 <artifactId>maven-failsafe-plugin
</artifactId>
363 <version>3.0.0-M5
</version>
365 <!-- Remove the skipTests line below to run TestBench tests -->
366 <!-- <skipTests>true</skipTests> -->
371 <goal>integration-test
</goal>
377 <!-- Browser Driver Downloader -->
379 <groupId>com.lazerycode.selenium
</groupId>
380 <artifactId>driver-binary-downloader-maven-plugin
</artifactId>
381 <version>1.0.18</version>
384 <rootStandaloneServerDirectory>selenium/bin
</rootStandaloneServerDirectory>
385 <downloadedZipFileDirectory>selenium/zip
</downloadedZipFileDirectory>
390 <goal>selenium
</goal>
396 <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
397 <artifactId>jgitflow-maven-plugin</artifactId>
398 <version>1.0-m8</version> -->
399 <groupId>external.atlassian.jgitflow
</groupId>
400 <artifactId>jgitflow-maven-plugin
</artifactId>
401 <version>1.0-m6
</version>
403 <pushHotfixes>true
</pushHotfixes>
404 <pushReleases>true
</pushReleases>
405 <enableSshAgent>true
</enableSshAgent>
406 <allowSnapshots>true
</allowSnapshots>
407 <allowUntracked>true
</allowUntracked>
410 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
411 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
414 <groupId>com.jcraft
</groupId>
415 <artifactId>jsch
</artifactId>
416 <version>0.1.55</version>
421 <groupId>org.apache.maven.plugins
</groupId>
422 <artifactId>maven-enforcer-plugin
</artifactId>
423 <version>3.0.0</version>
431 <dependencyConvergence />
432 <requireMavenVersion>
433 <version>[
3.6.0,)
</version>
434 </requireMavenVersion>
445 <!-- Binds by default to the lifecycle phase: validate -->
453 <groupId>org.apache.maven.wagon
</groupId>
454 <artifactId>wagon-scm
</artifactId>
455 <version>3.5.1</version>
458 <groupId>org.apache.maven.wagon
</groupId>
459 <artifactId>wagon-ssh
</artifactId>
460 <version>3.5.1</version>
463 <groupId>org.apache.maven.wagon
</groupId>
464 <artifactId>wagon-ssh-external
</artifactId>
465 <version>3.5.1</version>
468 <groupId>org.apache.maven.scm
</groupId>
469 <artifactId>maven-scm-manager-plexus
</artifactId>
470 <version>1.12.2</version>
473 <groupId>org.apache.maven.scm
</groupId>
474 <artifactId>maven-scm-provider-svnexe
</artifactId>
475 <version>1.12.2</version>
477 <!-- WebDAV plugin to upload snapshots -->
479 <groupId>org.apache.maven.wagon
</groupId>
480 <artifactId>wagon-webdav-jackrabbit
</artifactId>
481 <version>3.5.1</version>
487 <groupId>org.apache.maven.plugins
</groupId>
488 <artifactId>maven-eclipse-plugin
</artifactId>
489 <version>2.10</version>
491 <wtpversion>2.0</wtpversion>
492 <additionalProjectnatures>
493 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
494 </additionalProjectnatures>
495 <additionalBuildcommands>
496 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
497 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
498 </additionalBuildcommands>
501 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
503 <groupId>org.eclipse.m2e
</groupId>
504 <artifactId>lifecycle-mapping
</artifactId>
505 <version>1.0.0</version>
507 <lifecycleMappingMetadata>
510 <pluginExecutionFilter>
511 <groupId>com.lazerycode.selenium
</groupId>
513 driver-binary-downloader-maven-plugin
515 <versionRange>[
1.0.14,)
</versionRange>
517 <goal>selenium
</goal>
519 </pluginExecutionFilter>
525 </lifecycleMappingMetadata>
532 <!-- ============ Vaadin ============ -->
534 <groupId>com.vaadin
</groupId>
535 <artifactId>vaadin-spring
</artifactId>
536 <version>${vaadin-spring.version}
</version>
539 <groupId>org.vaadin.spring.addons
</groupId>
540 <artifactId>vaadin-spring-addon-eventbus
</artifactId>
541 <version>${vaadin-spring-addon-eventbus.version}
</version>
544 <groupId>com.vaadin
</groupId>
545 <artifactId>vaadin-server
</artifactId>
553 vaadin-server dependency jsoup upgraded due to https://vaadin.com/security/2021-10-27
554 further updating of vaadin 7 is no longer possible without purchasing the pro license
558 <groupId>com.vaadin
</groupId>
559 <artifactId>vaadin-client-compiled
</artifactId>
561 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
562 For widgetset compilation, vaadin-client-compiler is automatically added
563 on the compilation classpath by vaadin-maven-plugin so normally there is
564 no need for an explicit dependency. -->
565 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
566 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
568 <groupId>com.vaadin
</groupId>
569 <artifactId>vaadin-client
</artifactId>
573 <groupId>javax.validation
</groupId>
574 <artifactId>validation-api
</artifactId>
578 <!-- disabling push for the moment because it does not work with run-jetty-run
579 due to the fact that the latest (even nightly) version of run-jetty-run uses
580 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
581 included in this pom which is 9.2.5.xx, implying that enabling the dependency
582 and running the web app via 'mvn jetty:run' works fine. -->
583 <!-- <dependency> -->
584 <!-- <groupId>com.vaadin</groupId> -->
585 <!-- <artifactId>vaadin-push</artifactId> -->
586 <!-- <version>${vaadin.version}</version> -->
587 <!-- </dependency> -->
589 <groupId>com.vaadin
</groupId>
590 <artifactId>vaadin-themes
</artifactId>
592 <!-- vaadin addons / extensions -->
594 <groupId>org.vaadin.addons
</groupId>
595 <artifactId>contextmenu
</artifactId>
596 <version>4.5</version>
599 <groupId>org.vaadin.teemu
</groupId>
600 <artifactId>switch
</artifactId>
601 <version>2.0.4-SNAPSHOT
</version>
604 <groupId>org.vaadin
</groupId>
605 <artifactId>viritin
</artifactId>
606 <version>1.61</version>
609 <groupId>org.vaadin.addon
</groupId>
610 <artifactId>v-leaflet
</artifactId>
611 <version>1.0.3</version>
614 <groupId>org.vaadin.addons.lazyquerycontainer
</groupId>
615 <artifactId>vaadin-lazyquerycontainer
</artifactId>
616 <version>7.6.1.3</version>
619 <groupId>com.flowingcode.vaadin.addons
</groupId>
620 <artifactId>error-window-vaadin
</artifactId>
621 <version>1.0.0</version>
625 <groupId>org.vaadin.spring.extensions</groupId>
626 <artifactId>vaadin-spring-ext-test</artifactId>
627 <version>0.0.8-SNAPSHOT</version>
632 only in the edit repo
633 <groupId>org.vaadin.addons</groupId>
634 <artifactId>lazyloadwrapper</artifactId>
635 <version>0.1-alpha</version>
637 <!-- ============ cdmlib ============ -->
639 <groupId>eu.etaxonomy
</groupId>
640 <artifactId>cdmlib-remote
</artifactId>
641 <scope>compile
</scope>
644 <groupId>eu.etaxonomy
</groupId>
645 <artifactId>cdmlib-cache
</artifactId>
646 <version>${cdmlib.version}
</version>
649 <groupId>eu.etaxonomy
</groupId>
650 <artifactId>cdmlib-test
</artifactId>
654 <groupId>eu.etaxonomy
</groupId>
655 <artifactId>cdmlib-db
</artifactId>
656 <version>${cdmlib.version}
</version>
659 <!-- ============ Other ============ -->
661 to override version number coming with vaadin client
662 version is managed in cdmlib-parent
665 <groupId>javax.validation
</groupId>
666 <artifactId>validation-api
</artifactId>
669 <groupId>org.springmodules
</groupId>
670 <artifactId>spring-modules-cache
</artifactId>
671 <version>0.7</version>
674 <groupId>org.springframework
</groupId>
675 <artifactId>spring
</artifactId>
678 <groupId>org.springframework
</groupId>
679 <artifactId>spring-mock
</artifactId>
685 <groupId>org.springframework
</groupId>
686 <artifactId>spring-test
</artifactId>
690 <groupId>org.json
</groupId>
691 <artifactId>json
</artifactId>
694 <groupId>javax.servlet
</groupId>
695 <artifactId>javax.servlet-api
</artifactId>
696 <scope>provided
</scope>
698 <!-- ========== testing ======== -->
700 <groupId>com.codeborne
</groupId>
701 <artifactId>selenide
</artifactId>
702 <version>4.7.1</version>
706 <groupId>org.springframework.boot
</groupId>
707 <artifactId>spring-boot
</artifactId>
710 <groupId>org.springframework.boot
</groupId>
711 <artifactId>spring-boot-starter-jetty
</artifactId>
714 <groupId>org.springframework
</groupId>
715 <artifactId>spring-beans
</artifactId>