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.37.0</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.37.0</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>20220320</version>
117 updating to same version as in vaadin-server 7.7.28 due to https://vaadin.com/security/2021-10-27
118 is not possible due to code incompatibility
119 <groupId>org.jsoup</groupId>
120 <artifactId>jsoup</artifactId>
121 <version>1.14.3</version>
126 < ! - - FIXME move to cdmlib-test - - >
127 <groupId>org.springframework</groupId>
128 <artifactId>spring-mock</artifactId>
129 <version>4.2.3.RELEASE</version>
132 <groupId>org.seleniumhq.selenium</groupId>
133 <artifactId>selenium-api</artifactId>
134 <version>3.5.3</version>
137 <groupId>org.seleniumhq.selenium</groupId>
138 <artifactId>selenium-support</artifactId>
139 <version>3.5.3</version>
143 </dependencyManagement>
144 <distributionManagement>
146 <uniqueVersion>false
</uniqueVersion>
147 <id>cybertaxonomy.eu
</id>
148 <name>Edit Maven Repository
</name>
149 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
150 <layout>default
</layout>
152 </distributionManagement>
155 <id>align-cdmlib-version
</id>
158 <name>align-cdmlib-version
</name>
164 <groupId>com.google.code.maven-replacer-plugin
</groupId>
165 <artifactId>replacer
</artifactId>
166 <version>1.5.3</version>
169 <phase>process-sources
</phase>
177 <!-- \u003C = < , \u003E = > -->
178 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
179 <value>$
1${project.version}
</value>
186 <id>java8-doclint-disabled
</id>
191 <javadoc.opts
>-Xdoclint:none
</javadoc.opts
>
198 <!-- all main resources without filtering -->
199 <directory>src/main/resources
</directory>
202 <!-- replace the place holders like ${...} in datasources.xml -->
203 <filtering>true
</filtering>
204 <directory>src/test/resources
</directory>
205 <targetPath>../test-classes
</targetPath>
207 <include>datasources.xml
</include>
211 <!-- all other test resources without filtering -->
212 <directory>src/test/resources
</directory>
213 <targetPath>../test-classes
</targetPath>
215 <exclude>datasources.xml
</exclude>
221 <groupId>org.apache.maven.plugins
</groupId>
222 <artifactId>maven-resources-plugin
</artifactId>
223 <version>3.2.0</version>
226 <groupId>org.apache.maven.plugins
</groupId>
227 <artifactId>maven-compiler-plugin
</artifactId>
228 <version>3.9.0</version>
230 <source>${maven.compiler.source}
</source>
231 <target>${maven.compiler.target}
</target>
232 <encoding>UTF-
8</encoding>
236 <groupId>org.apache.maven.plugins
</groupId>
237 <artifactId>maven-surefire-plugin
</artifactId>
238 <version>3.0.0-M7
</version>
240 <argLine>-Xms256m -Xmx512m
</argLine>
243 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
244 <!-- directory is cleaned properly -->
246 <artifactId>maven-clean-plugin
</artifactId>
247 <version>3.1.0</version>
251 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
257 <groupId>org.apache.maven.plugins
</groupId>
258 <artifactId>maven-javadoc-plugin
</artifactId>
259 <version>3.3.1</version>
261 <doclint>${doclint}
</doclint>
265 <groupId>org.apache.maven.plugins
</groupId>
266 <artifactId>maven-war-plugin
</artifactId>
267 <version>3.3.2</version>
269 <failOnMissingWebXml>false
</failOnMissingWebXml>
270 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
274 <groupId>com.vaadin
</groupId>
275 <artifactId>vaadin-maven-plugin
</artifactId>
276 <version>${vaadin.plugin.version}
</version>
278 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
279 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
280 This way compatible with Vaadin eclipse plugin. -->
281 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
</webappDirectory>
282 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
</hostedWebapp>
283 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
284 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
285 <deploy>${project.build.directory}/gwt-deploy
</deploy>
286 <!-- Compile report is not typically needed either, saves hunreds
288 <compileReport>false
</compileReport>
289 <noServer>true
</noServer>
290 <!-- Remove draftCompile when project is ready -->
291 <draftCompile>false
</draftCompile>
293 <runTarget>http://localhost:
8080/
</runTarget>
298 <!-- if you don't specify any modules, the plugin will find
300 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
305 <goal>resources
</goal>
306 <goal>update-theme
</goal>
307 <goal>update-widgetset
</goal>
308 <goal>compile-theme
</goal>
315 <groupId>org.eclipse.jetty
</groupId>
316 <artifactId>jetty-maven-plugin
</artifactId>
317 <version>9.4.15.v20190215
</version>
320 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
321 the last version compatible to java 7, but this was causing other problems related to asm
322 which could not be easily solved.
325 <useTestScope>true
</useTestScope>
326 <scanIntervalSeconds>2</scanIntervalSeconds>
330 <name>cdm.datasource
</name>
331 <value>h2_cdmTest
</value>
334 <name>hibernate.hbm2ddl.auto
</name>
335 <value>create-drop
</value>
339 The lucene index should be placed into the target folder,
340 so user.home needs to be set to this folder. user.home needs to be overridden
341 since it already exists, thus the force option is turned on above
343 <name>user.home
</name>
344 <value>${basedir}/target/
</value>
348 datasources.xml is prepared by <plugins><resources>..</resources> above
350 <name>cdm.beanDefinitionFile
</name>
351 <value>${project.build.directory}/test-classes/datasources.xml
</value>
357 <groupId>org.slf4j
</groupId>
358 <artifactId>slf4j-log4j12
</artifactId>
359 <version>1.6.4</version>
364 <groupId>org.apache.maven.plugins
</groupId>
365 <artifactId>maven-failsafe-plugin
</artifactId>
366 <version>3.0.0-M5
</version>
368 <!-- Remove the skipTests line below to run TestBench tests -->
369 <!-- <skipTests>true</skipTests> -->
374 <goal>integration-test
</goal>
380 <!-- Browser Driver Downloader -->
382 <groupId>com.lazerycode.selenium
</groupId>
383 <artifactId>driver-binary-downloader-maven-plugin
</artifactId>
384 <version>1.0.18</version>
387 <rootStandaloneServerDirectory>selenium/bin
</rootStandaloneServerDirectory>
388 <downloadedZipFileDirectory>selenium/zip
</downloadedZipFileDirectory>
393 <goal>selenium
</goal>
399 <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
400 <artifactId>jgitflow-maven-plugin</artifactId>
401 <version>1.0-m8</version> -->
402 <groupId>external.atlassian.jgitflow
</groupId>
403 <artifactId>jgitflow-maven-plugin
</artifactId>
404 <version>1.0-m6
</version>
406 <pushHotfixes>true
</pushHotfixes>
407 <pushReleases>true
</pushReleases>
408 <enableSshAgent>true
</enableSshAgent>
409 <allowSnapshots>true
</allowSnapshots>
410 <allowUntracked>true
</allowUntracked>
413 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
414 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
417 <groupId>com.jcraft
</groupId>
418 <artifactId>jsch
</artifactId>
419 <version>0.1.55</version>
424 <groupId>org.apache.maven.plugins
</groupId>
425 <artifactId>maven-enforcer-plugin
</artifactId>
426 <version>3.1.0</version>
434 <dependencyConvergence />
435 <requireMavenVersion>
436 <version>[
3.6.3,)
</version>
437 </requireMavenVersion>
451 <!-- Binds by default to the lifecycle phase: validate -->
459 <groupId>org.apache.maven.wagon
</groupId>
460 <artifactId>wagon-scm
</artifactId>
461 <version>3.5.1</version>
464 <groupId>org.apache.maven.wagon
</groupId>
465 <artifactId>wagon-ssh
</artifactId>
466 <version>3.5.1</version>
469 <groupId>org.apache.maven.wagon
</groupId>
470 <artifactId>wagon-ssh-external
</artifactId>
471 <version>3.5.1</version>
474 <groupId>org.apache.maven.scm
</groupId>
475 <artifactId>maven-scm-manager-plexus
</artifactId>
476 <version>1.12.2</version>
479 <groupId>org.apache.maven.scm
</groupId>
480 <artifactId>maven-scm-provider-svnexe
</artifactId>
481 <version>1.12.2</version>
483 <!-- WebDAV plugin to upload snapshots -->
485 <groupId>org.apache.maven.wagon
</groupId>
486 <artifactId>wagon-webdav-jackrabbit
</artifactId>
487 <version>3.5.1</version>
493 <groupId>org.apache.maven.plugins
</groupId>
494 <artifactId>maven-eclipse-plugin
</artifactId>
495 <version>2.10</version>
497 <wtpversion>2.0</wtpversion>
498 <additionalProjectnatures>
499 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
500 </additionalProjectnatures>
501 <additionalBuildcommands>
502 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
503 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
504 </additionalBuildcommands>
507 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
509 <groupId>org.eclipse.m2e
</groupId>
510 <artifactId>lifecycle-mapping
</artifactId>
511 <version>1.0.0</version>
513 <lifecycleMappingMetadata>
516 <pluginExecutionFilter>
517 <groupId>com.lazerycode.selenium
</groupId>
519 driver-binary-downloader-maven-plugin
521 <versionRange>[
1.0.14,)
</versionRange>
523 <goal>selenium
</goal>
525 </pluginExecutionFilter>
531 </lifecycleMappingMetadata>
538 <!-- ============ Vaadin ============ -->
540 <groupId>com.vaadin
</groupId>
541 <artifactId>vaadin-spring
</artifactId>
542 <version>${vaadin-spring.version}
</version>
545 <groupId>org.vaadin.spring.addons
</groupId>
546 <artifactId>vaadin-spring-addon-eventbus
</artifactId>
547 <version>${vaadin-spring-addon-eventbus.version}
</version>
550 <groupId>com.vaadin
</groupId>
551 <artifactId>vaadin-server
</artifactId>
562 vaadin-server dependency jsoup upgraded due to https://vaadin.com/security/2021-10-27
563 further updating of vaadin 7 is no longer possible without purchasing the pro license
567 <groupId>com.vaadin
</groupId>
568 <artifactId>vaadin-client-compiled
</artifactId>
570 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
571 For widgetset compilation, vaadin-client-compiler is automatically added
572 on the compilation classpath by vaadin-maven-plugin so normally there is
573 no need for an explicit dependency. -->
574 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
575 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
577 <groupId>com.vaadin
</groupId>
578 <artifactId>vaadin-client
</artifactId>
582 <groupId>javax.validation
</groupId>
583 <artifactId>validation-api
</artifactId>
587 <!-- disabling push for the moment because it does not work with run-jetty-run
588 due to the fact that the latest (even nightly) version of run-jetty-run uses
589 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
590 included in this pom which is 9.2.5.xx, implying that enabling the dependency
591 and running the web app via 'mvn jetty:run' works fine. -->
592 <!-- <dependency> -->
593 <!-- <groupId>com.vaadin</groupId> -->
594 <!-- <artifactId>vaadin-push</artifactId> -->
595 <!-- <version>${vaadin.version}</version> -->
596 <!-- </dependency> -->
598 <groupId>com.vaadin
</groupId>
599 <artifactId>vaadin-themes
</artifactId>
601 <!-- vaadin addons / extensions -->
603 <groupId>org.vaadin.addons
</groupId>
604 <artifactId>contextmenu
</artifactId>
605 <version>4.5</version>
608 <groupId>org.vaadin.teemu
</groupId>
609 <artifactId>switch
</artifactId>
610 <version>2.0.4-SNAPSHOT
</version>
613 <groupId>org.vaadin
</groupId>
614 <artifactId>viritin
</artifactId>
615 <version>1.61</version>
618 <groupId>org.vaadin.addon
</groupId>
619 <artifactId>v-leaflet
</artifactId>
620 <version>1.0.3</version>
623 <groupId>org.vaadin.addons.lazyquerycontainer
</groupId>
624 <artifactId>vaadin-lazyquerycontainer
</artifactId>
625 <version>7.6.1.3</version>
628 <groupId>com.flowingcode.vaadin.addons
</groupId>
629 <artifactId>error-window-vaadin
</artifactId>
630 <version>1.0.0</version>
634 <groupId>org.vaadin.spring.extensions</groupId>
635 <artifactId>vaadin-spring-ext-test</artifactId>
636 <version>0.0.8-SNAPSHOT</version>
641 only in the edit repo
642 <groupId>org.vaadin.addons</groupId>
643 <artifactId>lazyloadwrapper</artifactId>
644 <version>0.1-alpha</version>
646 <!-- ============ cdmlib ============ -->
648 <groupId>eu.etaxonomy
</groupId>
649 <artifactId>cdmlib-remote
</artifactId>
650 <scope>compile
</scope>
653 <groupId>eu.etaxonomy
</groupId>
654 <artifactId>cdmlib-cache
</artifactId>
655 <version>${cdmlib.version}
</version>
658 <groupId>eu.etaxonomy
</groupId>
659 <artifactId>cdmlib-test
</artifactId>
663 <groupId>eu.etaxonomy
</groupId>
664 <artifactId>cdmlib-db
</artifactId>
665 <version>${cdmlib.version}
</version>
668 <!-- ============ Other ============ -->
670 to override version number coming with vaadin client
671 version is managed in cdmlib-parent
674 <groupId>javax.validation
</groupId>
675 <artifactId>validation-api
</artifactId>
678 <groupId>org.springmodules</groupId>
679 <artifactId>spring-modules-cache</artifactId>
680 <version>0.7</version>
683 <groupId>org.springframework</groupId>
684 <artifactId>spring</artifactId>
687 <groupId>org.springframework</groupId>
688 <artifactId>spring-mock</artifactId>
694 <groupId>org.springframework
</groupId>
695 <artifactId>spring-test
</artifactId>
699 <groupId>org.json
</groupId>
700 <artifactId>json
</artifactId>
703 <groupId>javax.servlet
</groupId>
704 <artifactId>javax.servlet-api
</artifactId>
705 <scope>provided
</scope>
707 <!-- ========== testing ======== -->
709 <groupId>com.codeborne
</groupId>
710 <artifactId>selenide
</artifactId>
711 <version>4.7.1</version>
715 <groupId>org.springframework.boot
</groupId>
716 <artifactId>spring-boot
</artifactId>
719 <groupId>org.springframework.boot
</groupId>
720 <artifactId>spring-boot-starter-jetty
</artifactId>
723 <groupId>org.springframework
</groupId>
724 <artifactId>spring-beans
</artifactId>