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.29.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.29.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
>
31 <!-- the cdm internal repository -->
33 <id>EditRepository
</id>
34 <url>https://cybertaxonomy.eu/mavenrepo/
</url>
36 <!-- current spring source repositories -->
38 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
39 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
42 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
43 <url>http://repository.springsource.com/maven/bundles/release
</url>
46 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
47 <url>http://repository.springsource.com/maven/bundles/external
</url>
50 <id>vaadin-addons
</id>
51 <url>http://maven.vaadin.com/vaadin-addons
</url>
54 <id>vaadin-snapshots
</id>
55 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
57 <enabled>false
</enabled>
60 <enabled>true
</enabled>
66 <id>vaadin-snapshots
</id>
67 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
69 <enabled>false
</enabled>
72 <enabled>true
</enabled>
76 <dependencyManagement>
79 <groupId>eu.etaxonomy
</groupId>
80 <artifactId>cdmlib-parent
</artifactId>
81 <version>${cdmlib.version}
</version>
86 <groupId>org.springframework.boot
</groupId>
87 <artifactId>spring-boot-starter-parent
</artifactId>
88 <version>${spring-boot.version}
</version>
93 <groupId>com.vaadin
</groupId>
94 <artifactId>vaadin-bom
</artifactId>
95 <version>${vaadin.version}
</version>
100 <!-- Try updating in cdmlib to 20090211 -->
101 <groupId>org.json
</groupId>
102 <artifactId>json
</artifactId>
103 <version>20211205</version>
108 updating to same version as in vaadin-server 7.7.28 due to https://vaadin.com/security/2021-10-27
109 is not possible due to code incompatibility
110 <groupId>org.jsoup</groupId>
111 <artifactId>jsoup</artifactId>
112 <version>1.14.3</version>
117 < ! - - FIXME move to cdmlib-test - - >
118 <groupId>org.springframework</groupId>
119 <artifactId>spring-mock</artifactId>
120 <version>4.2.3.RELEASE</version>
123 <groupId>org.seleniumhq.selenium</groupId>
124 <artifactId>selenium-api</artifactId>
125 <version>3.5.3</version>
128 <groupId>org.seleniumhq.selenium</groupId>
129 <artifactId>selenium-support</artifactId>
130 <version>3.5.3</version>
134 </dependencyManagement>
135 <distributionManagement>
137 <uniqueVersion>false
</uniqueVersion>
138 <id>cybertaxonomy.eu
</id>
139 <name>Edit Maven Repository
</name>
140 <url>scpexe://cybertaxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
141 <layout>default
</layout>
143 </distributionManagement>
146 <id>align-cdmlib-version
</id>
149 <name>align-cdmlib-version
</name>
155 <groupId>com.google.code.maven-replacer-plugin
</groupId>
156 <artifactId>replacer
</artifactId>
157 <version>1.5.3</version>
160 <phase>process-sources
</phase>
168 <!-- \u003C = < , \u003E = > -->
169 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
170 <value>$
1${project.version}
</value>
177 <id>java8-doclint-disabled
</id>
182 <javadoc.opts
>-Xdoclint:none
</javadoc.opts
>
189 <!-- all main resources without filtering -->
190 <directory>src/main/resources
</directory>
193 <!-- replace the place holders like ${...} in datasources.xml -->
194 <filtering>true
</filtering>
195 <directory>src/test/resources
</directory>
196 <targetPath>../test-classes
</targetPath>
198 <include>datasources.xml
</include>
202 <!-- all other test resources without filtering -->
203 <directory>src/test/resources
</directory>
204 <targetPath>../test-classes
</targetPath>
206 <exclude>datasources.xml
</exclude>
212 <groupId>org.apache.maven.plugins
</groupId>
213 <artifactId>maven-resources-plugin
</artifactId>
214 <version>3.2.0</version>
217 <groupId>org.apache.maven.plugins
</groupId>
218 <artifactId>maven-compiler-plugin
</artifactId>
219 <version>3.3</version>
221 <source>${maven.compiler.source}
</source>
222 <target>${maven.compiler.target}
</target>
223 <encoding>UTF-
8</encoding>
227 <groupId>org.apache.maven.plugins
</groupId>
228 <artifactId>maven-surefire-plugin
</artifactId>
229 <version>2.19.1</version>
231 <argLine>-Xms256m -Xmx512m
</argLine>
234 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
235 <!-- directory is cleaned properly -->
237 <artifactId>maven-clean-plugin
</artifactId>
238 <version>2.4.1</version>
242 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
248 <groupId>org.apache.maven.plugins
</groupId>
249 <artifactId>maven-javadoc-plugin
</artifactId>
250 <version>2.9.1</version>
252 <additionalparam>${javadoc.opts}
</additionalparam>
256 <groupId>org.apache.maven.plugins
</groupId>
257 <artifactId>maven-war-plugin
</artifactId>
258 <version>2.2</version>
260 <failOnMissingWebXml>false
</failOnMissingWebXml>
261 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
265 <groupId>com.vaadin
</groupId>
266 <artifactId>vaadin-maven-plugin
</artifactId>
267 <version>${vaadin.plugin.version}
</version>
269 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
270 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
271 This way compatible with Vaadin eclipse plugin. -->
272 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
</webappDirectory>
273 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
</hostedWebapp>
274 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
275 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
276 <deploy>${project.build.directory}/gwt-deploy
</deploy>
277 <!-- Compile report is not typically needed either, saves hunreds
279 <compileReport>false
</compileReport>
280 <noServer>true
</noServer>
281 <!-- Remove draftCompile when project is ready -->
282 <draftCompile>false
</draftCompile>
284 <runTarget>http://localhost:
8080/
</runTarget>
289 <!-- if you don't specify any modules, the plugin will find
291 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
296 <goal>resources
</goal>
297 <goal>update-theme
</goal>
298 <goal>update-widgetset
</goal>
299 <goal>compile-theme
</goal>
306 <groupId>org.eclipse.jetty
</groupId>
307 <artifactId>jetty-maven-plugin
</artifactId>
308 <version>9.4.15.v20190215
</version>
311 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
312 the last version compatible to java 7, but this was causing other problems related to asm
313 which could not be easily solved.
316 <useTestScope>true
</useTestScope>
317 <scanIntervalSeconds>2</scanIntervalSeconds>
321 <name>cdm.datasource
</name>
322 <value>h2_cdmTest
</value>
325 <name>hibernate.hbm2ddl.auto
</name>
326 <value>create-drop
</value>
330 The lucene index should be placed into the target folder,
331 so user.home needs to be set to this folder. user.home needs to be overridden
332 since it already exists, thus the force option is turned on above
334 <name>user.home
</name>
335 <value>${basedir}/target/
</value>
339 datasources.xml is prepared by <plugins><resources>..</resources> above
341 <name>cdm.beanDefinitionFile
</name>
342 <value>${project.build.directory}/test-classes/datasources.xml
</value>
348 <groupId>org.slf4j
</groupId>
349 <artifactId>slf4j-log4j12
</artifactId>
350 <version>1.6.4</version>
355 <groupId>org.apache.maven.plugins
</groupId>
356 <artifactId>maven-failsafe-plugin
</artifactId>
357 <version>2.17</version>
359 <!-- Remove the skipTests line below to run TestBench tests -->
360 <!-- <skipTests>true</skipTests> -->
365 <goal>integration-test
</goal>
371 <!-- Browser Driver Downloader -->
373 <groupId>com.lazerycode.selenium
</groupId>
374 <artifactId>driver-binary-downloader-maven-plugin
</artifactId>
375 <version>1.0.14</version>
378 <rootStandaloneServerDirectory>selenium/bin
</rootStandaloneServerDirectory>
379 <downloadedZipFileDirectory>selenium/zip
</downloadedZipFileDirectory>
384 <goal>selenium
</goal>
390 <groupId>ch.dvbern.oss.maven.jgitflow
</groupId>
391 <artifactId>jgitflow-maven-plugin
</artifactId>
392 <version>1.0-m8
</version>
394 <pushHotfixes>true
</pushHotfixes>
395 <pushReleases>true
</pushReleases>
396 <enableSshAgent>true
</enableSshAgent>
397 <allowSnapshots>true
</allowSnapshots>
398 <allowUntracked>true
</allowUntracked>
401 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
402 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
405 <groupId>com.jcraft
</groupId>
406 <artifactId>jsch
</artifactId>
407 <version>0.1.53</version>
412 <groupId>org.apache.maven.plugins
</groupId>
413 <artifactId>maven-enforcer-plugin
</artifactId>
414 <version>3.0.0-M2
</version>
422 <dependencyConvergence />
423 <requireMavenVersion>
424 <version>[
3.6.0,)
</version>
425 </requireMavenVersion>
431 <!-- Binds by default to the lifecycle phase: validate -->
439 <groupId>org.apache.maven.wagon
</groupId>
440 <artifactId>wagon-scm
</artifactId>
441 <version>3.5.1</version>
444 <groupId>org.apache.maven.wagon
</groupId>
445 <artifactId>wagon-ssh
</artifactId>
446 <version>3.5.1</version>
449 <groupId>org.apache.maven.wagon
</groupId>
450 <artifactId>wagon-ssh-external
</artifactId>
451 <version>3.5.1</version>
454 <groupId>org.apache.maven.scm
</groupId>
455 <artifactId>maven-scm-manager-plexus
</artifactId>
456 <version>1.12.2</version>
459 <groupId>org.apache.maven.scm
</groupId>
460 <artifactId>maven-scm-provider-svnexe
</artifactId>
461 <version>1.12.2</version>
463 <!-- WebDAV plugin to upload snapshots -->
465 <groupId>org.apache.maven.wagon
</groupId>
466 <artifactId>wagon-webdav-jackrabbit
</artifactId>
467 <version>3.5.1</version>
473 <artifactId>maven-eclipse-plugin
</artifactId>
475 <wtpversion>2.0</wtpversion>
476 <additionalProjectnatures>
477 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
478 </additionalProjectnatures>
479 <additionalBuildcommands>
480 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
481 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
482 </additionalBuildcommands>
485 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
487 <groupId>org.eclipse.m2e
</groupId>
488 <artifactId>lifecycle-mapping
</artifactId>
489 <version>1.0.0</version>
491 <lifecycleMappingMetadata>
494 <pluginExecutionFilter>
495 <groupId>com.lazerycode.selenium
</groupId>
497 driver-binary-downloader-maven-plugin
499 <versionRange>[
1.0.14,)
</versionRange>
501 <goal>selenium
</goal>
503 </pluginExecutionFilter>
509 </lifecycleMappingMetadata>
516 <!-- ============ Vaadin ============ -->
518 <groupId>com.vaadin
</groupId>
519 <artifactId>vaadin-spring
</artifactId>
520 <version>${vaadin-spring.version}
</version>
523 <groupId>org.vaadin.spring.addons
</groupId>
524 <artifactId>vaadin-spring-addon-eventbus
</artifactId>
525 <version>${vaadin-spring-addon-eventbus.version}
</version>
528 <groupId>com.vaadin
</groupId>
529 <artifactId>vaadin-server
</artifactId>
532 vaadin-server dependency jsoup upgraded due to https://vaadin.com/security/2021-10-27
533 further updating of vaadin 7 is no longer possible without purchasing the pro license
537 <groupId>com.vaadin
</groupId>
538 <artifactId>vaadin-client-compiled
</artifactId>
540 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
541 For widgetset compilation, vaadin-client-compiler is automatically added
542 on the compilation classpath by vaadin-maven-plugin so normally there is
543 no need for an explicit dependency. -->
544 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
545 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
547 <groupId>com.vaadin
</groupId>
548 <artifactId>vaadin-client
</artifactId>
552 <groupId>javax.validation
</groupId>
553 <artifactId>validation-api
</artifactId>
557 <!-- disabling push for the moment because it does not work with run-jetty-run
558 due to the fact that the latest (even nightly) version of run-jetty-run uses
559 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
560 included in this pom which is 9.2.5.xx, implying that enabling the dependency
561 and running the web app via 'mvn jetty:run' works fine. -->
562 <!-- <dependency> -->
563 <!-- <groupId>com.vaadin</groupId> -->
564 <!-- <artifactId>vaadin-push</artifactId> -->
565 <!-- <version>${vaadin.version}</version> -->
566 <!-- </dependency> -->
568 <groupId>com.vaadin
</groupId>
569 <artifactId>vaadin-themes
</artifactId>
571 <!-- vaadin addons / extensions -->
573 <groupId>org.vaadin.addons
</groupId>
574 <artifactId>contextmenu
</artifactId>
575 <version>4.5</version>
578 <groupId>org.vaadin.teemu
</groupId>
579 <artifactId>switch
</artifactId>
580 <version>2.0.4-SNAPSHOT
</version>
583 <groupId>org.vaadin
</groupId>
584 <artifactId>viritin
</artifactId>
585 <version>1.61</version>
588 <groupId>org.vaadin.addon
</groupId>
589 <artifactId>v-leaflet
</artifactId>
590 <version>1.0.3</version>
593 <groupId>org.vaadin.addons.lazyquerycontainer
</groupId>
594 <artifactId>vaadin-lazyquerycontainer
</artifactId>
595 <version>7.6.1.3</version>
598 <groupId>com.flowingcode.vaadin.addons
</groupId>
599 <artifactId>error-window-vaadin
</artifactId>
600 <version>1.0.0</version>
604 <groupId>org.vaadin.spring.extensions</groupId>
605 <artifactId>vaadin-spring-ext-test</artifactId>
606 <version>0.0.8-SNAPSHOT</version>
611 only in the edit repo
612 <groupId>org.vaadin.addons</groupId>
613 <artifactId>lazyloadwrapper</artifactId>
614 <version>0.1-alpha</version>
616 <!-- ============ cdmlib ============ -->
618 <groupId>eu.etaxonomy
</groupId>
619 <artifactId>cdmlib-remote
</artifactId>
620 <scope>compile
</scope>
623 <groupId>eu.etaxonomy
</groupId>
624 <artifactId>cdmlib-cache
</artifactId>
625 <version>${cdmlib.version}
</version>
628 <groupId>eu.etaxonomy
</groupId>
629 <artifactId>cdmlib-test
</artifactId>
633 <groupId>eu.etaxonomy
</groupId>
634 <artifactId>cdmlib-db
</artifactId>
635 <version>${cdmlib.version}
</version>
638 <!-- ============ Other ============ -->
640 to override version number coming with vaadin client
641 version is managed in cdmlib-parent
644 <groupId>javax.validation
</groupId>
645 <artifactId>validation-api
</artifactId>
648 <groupId>org.springmodules
</groupId>
649 <artifactId>spring-modules-cache
</artifactId>
650 <version>0.7</version>
653 <groupId>org.springframework
</groupId>
654 <artifactId>spring
</artifactId>
657 <groupId>org.springframework
</groupId>
658 <artifactId>spring-mock
</artifactId>
664 <groupId>org.springframework
</groupId>
665 <artifactId>spring-test
</artifactId>
669 <groupId>org.json
</groupId>
670 <artifactId>json
</artifactId>
673 <groupId>javax.servlet
</groupId>
674 <artifactId>javax.servlet-api
</artifactId>
675 <scope>provided
</scope>
677 <!-- ========== testing ======== -->
679 <groupId>com.codeborne
</groupId>
680 <artifactId>selenide
</artifactId>
681 <version>4.7.1</version>
685 <groupId>org.springframework.boot
</groupId>
686 <artifactId>spring-boot
</artifactId>
689 <groupId>org.springframework.boot
</groupId>
690 <artifactId>spring-boot-starter-jetty
</artifactId>
693 <groupId>org.springframework
</groupId>
694 <artifactId>spring-beans
</artifactId>