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.34.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.34.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>20220320</version>
111 updating to same version as in vaadin-server 7.7.28 due to https://vaadin.com/security/2021-10-27
112 is not possible due to code incompatibility
113 <groupId>org.jsoup</groupId>
114 <artifactId>jsoup</artifactId>
115 <version>1.14.3</version>
120 < ! - - FIXME move to cdmlib-test - - >
121 <groupId>org.springframework</groupId>
122 <artifactId>spring-mock</artifactId>
123 <version>4.2.3.RELEASE</version>
126 <groupId>org.seleniumhq.selenium</groupId>
127 <artifactId>selenium-api</artifactId>
128 <version>3.5.3</version>
131 <groupId>org.seleniumhq.selenium</groupId>
132 <artifactId>selenium-support</artifactId>
133 <version>3.5.3</version>
137 </dependencyManagement>
138 <distributionManagement>
140 <uniqueVersion>false
</uniqueVersion>
141 <id>cybertaxonomy.eu
</id>
142 <name>Edit Maven Repository
</name>
143 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
144 <layout>default
</layout>
146 </distributionManagement>
149 <id>align-cdmlib-version
</id>
152 <name>align-cdmlib-version
</name>
158 <groupId>com.google.code.maven-replacer-plugin
</groupId>
159 <artifactId>replacer
</artifactId>
160 <version>1.5.3</version>
163 <phase>process-sources
</phase>
171 <!-- \u003C = < , \u003E = > -->
172 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
173 <value>$
1${project.version}
</value>
180 <id>java8-doclint-disabled
</id>
185 <javadoc.opts
>-Xdoclint:none
</javadoc.opts
>
192 <!-- all main resources without filtering -->
193 <directory>src/main/resources
</directory>
196 <!-- replace the place holders like ${...} in datasources.xml -->
197 <filtering>true
</filtering>
198 <directory>src/test/resources
</directory>
199 <targetPath>../test-classes
</targetPath>
201 <include>datasources.xml
</include>
205 <!-- all other test resources without filtering -->
206 <directory>src/test/resources
</directory>
207 <targetPath>../test-classes
</targetPath>
209 <exclude>datasources.xml
</exclude>
215 <groupId>org.apache.maven.plugins
</groupId>
216 <artifactId>maven-resources-plugin
</artifactId>
217 <version>3.2.0</version>
220 <groupId>org.apache.maven.plugins
</groupId>
221 <artifactId>maven-compiler-plugin
</artifactId>
222 <version>3.9.0</version>
224 <source>${maven.compiler.source}
</source>
225 <target>${maven.compiler.target}
</target>
226 <encoding>UTF-
8</encoding>
230 <groupId>org.apache.maven.plugins
</groupId>
231 <artifactId>maven-surefire-plugin
</artifactId>
232 <version>3.0.0-M7
</version>
234 <argLine>-Xms256m -Xmx512m
</argLine>
237 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
238 <!-- directory is cleaned properly -->
240 <artifactId>maven-clean-plugin
</artifactId>
241 <version>3.1.0</version>
245 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
251 <groupId>org.apache.maven.plugins
</groupId>
252 <artifactId>maven-javadoc-plugin
</artifactId>
253 <version>3.3.1</version>
255 <doclint>${doclint}
</doclint>
259 <groupId>org.apache.maven.plugins
</groupId>
260 <artifactId>maven-war-plugin
</artifactId>
261 <version>3.3.2</version>
263 <failOnMissingWebXml>false
</failOnMissingWebXml>
264 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
268 <groupId>com.vaadin
</groupId>
269 <artifactId>vaadin-maven-plugin
</artifactId>
270 <version>${vaadin.plugin.version}
</version>
272 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
273 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
274 This way compatible with Vaadin eclipse plugin. -->
275 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
</webappDirectory>
276 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
</hostedWebapp>
277 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
278 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
279 <deploy>${project.build.directory}/gwt-deploy
</deploy>
280 <!-- Compile report is not typically needed either, saves hunreds
282 <compileReport>false
</compileReport>
283 <noServer>true
</noServer>
284 <!-- Remove draftCompile when project is ready -->
285 <draftCompile>false
</draftCompile>
287 <runTarget>http://localhost:
8080/
</runTarget>
292 <!-- if you don't specify any modules, the plugin will find
294 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
299 <goal>resources
</goal>
300 <goal>update-theme
</goal>
301 <goal>update-widgetset
</goal>
302 <goal>compile-theme
</goal>
309 <groupId>org.eclipse.jetty
</groupId>
310 <artifactId>jetty-maven-plugin
</artifactId>
311 <version>9.4.15.v20190215
</version>
314 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
315 the last version compatible to java 7, but this was causing other problems related to asm
316 which could not be easily solved.
319 <useTestScope>true
</useTestScope>
320 <scanIntervalSeconds>2</scanIntervalSeconds>
324 <name>cdm.datasource
</name>
325 <value>h2_cdmTest
</value>
328 <name>hibernate.hbm2ddl.auto
</name>
329 <value>create-drop
</value>
333 The lucene index should be placed into the target folder,
334 so user.home needs to be set to this folder. user.home needs to be overridden
335 since it already exists, thus the force option is turned on above
337 <name>user.home
</name>
338 <value>${basedir}/target/
</value>
342 datasources.xml is prepared by <plugins><resources>..</resources> above
344 <name>cdm.beanDefinitionFile
</name>
345 <value>${project.build.directory}/test-classes/datasources.xml
</value>
351 <groupId>org.slf4j
</groupId>
352 <artifactId>slf4j-log4j12
</artifactId>
353 <version>1.6.4</version>
358 <groupId>org.apache.maven.plugins
</groupId>
359 <artifactId>maven-failsafe-plugin
</artifactId>
360 <version>3.0.0-M5
</version>
362 <!-- Remove the skipTests line below to run TestBench tests -->
363 <!-- <skipTests>true</skipTests> -->
368 <goal>integration-test
</goal>
374 <!-- Browser Driver Downloader -->
376 <groupId>com.lazerycode.selenium
</groupId>
377 <artifactId>driver-binary-downloader-maven-plugin
</artifactId>
378 <version>1.0.18</version>
381 <rootStandaloneServerDirectory>selenium/bin
</rootStandaloneServerDirectory>
382 <downloadedZipFileDirectory>selenium/zip
</downloadedZipFileDirectory>
387 <goal>selenium
</goal>
393 <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
394 <artifactId>jgitflow-maven-plugin</artifactId>
395 <version>1.0-m8</version> -->
396 <groupId>external.atlassian.jgitflow
</groupId>
397 <artifactId>jgitflow-maven-plugin
</artifactId>
398 <version>1.0-m6
</version>
400 <pushHotfixes>true
</pushHotfixes>
401 <pushReleases>true
</pushReleases>
402 <enableSshAgent>true
</enableSshAgent>
403 <allowSnapshots>true
</allowSnapshots>
404 <allowUntracked>true
</allowUntracked>
407 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
408 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
411 <groupId>com.jcraft
</groupId>
412 <artifactId>jsch
</artifactId>
413 <version>0.1.55</version>
418 <groupId>org.apache.maven.plugins
</groupId>
419 <artifactId>maven-enforcer-plugin
</artifactId>
420 <version>3.1.0</version>
428 <dependencyConvergence />
429 <requireMavenVersion>
430 <version>[
3.6.3,)
</version>
431 </requireMavenVersion>
439 <!-- Binds by default to the lifecycle phase: validate -->
447 <groupId>org.apache.maven.wagon
</groupId>
448 <artifactId>wagon-scm
</artifactId>
449 <version>3.5.1</version>
452 <groupId>org.apache.maven.wagon
</groupId>
453 <artifactId>wagon-ssh
</artifactId>
454 <version>3.5.1</version>
457 <groupId>org.apache.maven.wagon
</groupId>
458 <artifactId>wagon-ssh-external
</artifactId>
459 <version>3.5.1</version>
462 <groupId>org.apache.maven.scm
</groupId>
463 <artifactId>maven-scm-manager-plexus
</artifactId>
464 <version>1.12.2</version>
467 <groupId>org.apache.maven.scm
</groupId>
468 <artifactId>maven-scm-provider-svnexe
</artifactId>
469 <version>1.12.2</version>
471 <!-- WebDAV plugin to upload snapshots -->
473 <groupId>org.apache.maven.wagon
</groupId>
474 <artifactId>wagon-webdav-jackrabbit
</artifactId>
475 <version>3.5.1</version>
481 <groupId>org.apache.maven.plugins
</groupId>
482 <artifactId>maven-eclipse-plugin
</artifactId>
483 <version>2.10</version>
485 <wtpversion>2.0</wtpversion>
486 <additionalProjectnatures>
487 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
488 </additionalProjectnatures>
489 <additionalBuildcommands>
490 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
491 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
492 </additionalBuildcommands>
495 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
497 <groupId>org.eclipse.m2e
</groupId>
498 <artifactId>lifecycle-mapping
</artifactId>
499 <version>1.0.0</version>
501 <lifecycleMappingMetadata>
504 <pluginExecutionFilter>
505 <groupId>com.lazerycode.selenium
</groupId>
507 driver-binary-downloader-maven-plugin
509 <versionRange>[
1.0.14,)
</versionRange>
511 <goal>selenium
</goal>
513 </pluginExecutionFilter>
519 </lifecycleMappingMetadata>
526 <!-- ============ Vaadin ============ -->
528 <groupId>com.vaadin
</groupId>
529 <artifactId>vaadin-spring
</artifactId>
530 <version>${vaadin-spring.version}
</version>
533 <groupId>org.vaadin.spring.addons
</groupId>
534 <artifactId>vaadin-spring-addon-eventbus
</artifactId>
535 <version>${vaadin-spring-addon-eventbus.version}
</version>
538 <groupId>com.vaadin
</groupId>
539 <artifactId>vaadin-server
</artifactId>
544 vaadin-server dependency jsoup upgraded due to https://vaadin.com/security/2021-10-27
545 further updating of vaadin 7 is no longer possible without purchasing the pro license
549 <groupId>com.vaadin
</groupId>
550 <artifactId>vaadin-client-compiled
</artifactId>
552 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
553 For widgetset compilation, vaadin-client-compiler is automatically added
554 on the compilation classpath by vaadin-maven-plugin so normally there is
555 no need for an explicit dependency. -->
556 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
557 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
559 <groupId>com.vaadin
</groupId>
560 <artifactId>vaadin-client
</artifactId>
564 <groupId>javax.validation
</groupId>
565 <artifactId>validation-api
</artifactId>
569 <!-- disabling push for the moment because it does not work with run-jetty-run
570 due to the fact that the latest (even nightly) version of run-jetty-run uses
571 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
572 included in this pom which is 9.2.5.xx, implying that enabling the dependency
573 and running the web app via 'mvn jetty:run' works fine. -->
574 <!-- <dependency> -->
575 <!-- <groupId>com.vaadin</groupId> -->
576 <!-- <artifactId>vaadin-push</artifactId> -->
577 <!-- <version>${vaadin.version}</version> -->
578 <!-- </dependency> -->
580 <groupId>com.vaadin
</groupId>
581 <artifactId>vaadin-themes
</artifactId>
583 <!-- vaadin addons / extensions -->
585 <groupId>org.vaadin.addons
</groupId>
586 <artifactId>contextmenu
</artifactId>
587 <version>4.5</version>
590 <groupId>org.vaadin.teemu
</groupId>
591 <artifactId>switch
</artifactId>
592 <version>2.0.4-SNAPSHOT
</version>
595 <groupId>org.vaadin
</groupId>
596 <artifactId>viritin
</artifactId>
597 <version>1.61</version>
600 <groupId>org.vaadin.addon
</groupId>
601 <artifactId>v-leaflet
</artifactId>
602 <version>1.0.3</version>
605 <groupId>org.vaadin.addons.lazyquerycontainer
</groupId>
606 <artifactId>vaadin-lazyquerycontainer
</artifactId>
607 <version>7.6.1.3</version>
610 <groupId>com.flowingcode.vaadin.addons
</groupId>
611 <artifactId>error-window-vaadin
</artifactId>
612 <version>1.0.0</version>
616 <groupId>org.vaadin.spring.extensions</groupId>
617 <artifactId>vaadin-spring-ext-test</artifactId>
618 <version>0.0.8-SNAPSHOT</version>
623 only in the edit repo
624 <groupId>org.vaadin.addons</groupId>
625 <artifactId>lazyloadwrapper</artifactId>
626 <version>0.1-alpha</version>
628 <!-- ============ cdmlib ============ -->
630 <groupId>eu.etaxonomy
</groupId>
631 <artifactId>cdmlib-remote
</artifactId>
632 <scope>compile
</scope>
635 <groupId>eu.etaxonomy
</groupId>
636 <artifactId>cdmlib-cache
</artifactId>
637 <version>${cdmlib.version}
</version>
640 <groupId>eu.etaxonomy
</groupId>
641 <artifactId>cdmlib-test
</artifactId>
645 <groupId>eu.etaxonomy
</groupId>
646 <artifactId>cdmlib-db
</artifactId>
647 <version>${cdmlib.version}
</version>
650 <!-- ============ Other ============ -->
652 to override version number coming with vaadin client
653 version is managed in cdmlib-parent
656 <groupId>javax.validation
</groupId>
657 <artifactId>validation-api
</artifactId>
660 <groupId>org.springmodules</groupId>
661 <artifactId>spring-modules-cache</artifactId>
662 <version>0.7</version>
665 <groupId>org.springframework</groupId>
666 <artifactId>spring</artifactId>
669 <groupId>org.springframework</groupId>
670 <artifactId>spring-mock</artifactId>
676 <groupId>org.springframework
</groupId>
677 <artifactId>spring-test
</artifactId>
681 <groupId>org.json
</groupId>
682 <artifactId>json
</artifactId>
685 <groupId>javax.servlet
</groupId>
686 <artifactId>javax.servlet-api
</artifactId>
687 <scope>provided
</scope>
689 <!-- ========== testing ======== -->
691 <groupId>com.codeborne
</groupId>
692 <artifactId>selenide
</artifactId>
693 <version>4.7.1</version>
697 <groupId>org.springframework.boot
</groupId>
698 <artifactId>spring-boot
</artifactId>
701 <groupId>org.springframework.boot
</groupId>
702 <artifactId>spring-boot-starter-jetty
</artifactId>
705 <groupId>org.springframework
</groupId>
706 <artifactId>spring-beans
</artifactId>