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.44.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.44.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>
124 updating to same version as in vaadin-server 7.7.28 due to https://vaadin.com/security/2021-10-27
125 is not possible due to code incompatibility
126 <groupId>org.jsoup</groupId>
127 <artifactId>jsoup</artifactId>
128 <version>1.14.3</version>
133 < ! - - FIXME move to cdmlib-test - - >
134 <groupId>org.springframework</groupId>
135 <artifactId>spring-mock</artifactId>
136 <version>4.2.3.RELEASE</version>
139 <groupId>org.seleniumhq.selenium</groupId>
140 <artifactId>selenium-api</artifactId>
141 <version>3.5.3</version>
144 <groupId>org.seleniumhq.selenium</groupId>
145 <artifactId>selenium-support</artifactId>
146 <version>3.5.3</version>
150 </dependencyManagement>
151 <distributionManagement>
153 <uniqueVersion>false
</uniqueVersion>
154 <id>cybertaxonomy.eu
</id>
155 <name>Edit Maven Repository
</name>
156 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
157 <layout>default
</layout>
159 </distributionManagement>
162 <id>align-cdmlib-version
</id>
165 <name>align-cdmlib-version
</name>
171 <groupId>com.google.code.maven-replacer-plugin
</groupId>
172 <artifactId>replacer
</artifactId>
173 <version>1.5.3</version>
176 <phase>process-sources
</phase>
184 <!-- \u003C = < , \u003E = > -->
185 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
186 <value>$
1${project.version}
</value>
193 <id>java8-doclint-disabled
</id>
198 <javadoc.opts
>-Xdoclint:none
</javadoc.opts
>
205 <!-- all main resources without filtering -->
206 <directory>src/main/resources
</directory>
209 <!-- replace the place holders like ${...} in datasources.xml -->
210 <filtering>true
</filtering>
211 <directory>src/test/resources
</directory>
212 <targetPath>../test-classes
</targetPath>
214 <include>datasources.xml
</include>
218 <!-- all other test resources without filtering -->
219 <directory>src/test/resources
</directory>
220 <targetPath>../test-classes
</targetPath>
222 <exclude>datasources.xml
</exclude>
228 <groupId>org.apache.maven.plugins
</groupId>
229 <artifactId>maven-resources-plugin
</artifactId>
230 <version>3.2.0</version>
233 <groupId>org.apache.maven.plugins
</groupId>
234 <artifactId>maven-compiler-plugin
</artifactId>
235 <version>3.9.0</version>
237 <source>${maven.compiler.source}
</source>
238 <target>${maven.compiler.target}
</target>
239 <encoding>UTF-
8</encoding>
243 <groupId>org.apache.maven.plugins
</groupId>
244 <artifactId>maven-surefire-plugin
</artifactId>
245 <version>3.0.0-M7
</version>
247 <argLine>-Xms256m -Xmx512m
</argLine>
250 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
251 <!-- directory is cleaned properly -->
253 <artifactId>maven-clean-plugin
</artifactId>
254 <version>3.1.0</version>
258 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
264 <groupId>org.apache.maven.plugins
</groupId>
265 <artifactId>maven-javadoc-plugin
</artifactId>
266 <version>3.3.1</version>
268 <doclint>${doclint}
</doclint>
272 <groupId>org.apache.maven.plugins
</groupId>
273 <artifactId>maven-war-plugin
</artifactId>
274 <version>3.3.2</version>
276 <failOnMissingWebXml>false
</failOnMissingWebXml>
277 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
281 <groupId>com.vaadin
</groupId>
282 <artifactId>vaadin-maven-plugin
</artifactId>
283 <version>${vaadin.plugin.version}
</version>
285 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
286 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
287 This way compatible with Vaadin eclipse plugin. -->
288 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
</webappDirectory>
289 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
</hostedWebapp>
290 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
291 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
292 <deploy>${project.build.directory}/gwt-deploy
</deploy>
293 <!-- Compile report is not typically needed either, saves hunreds
295 <compileReport>false
</compileReport>
296 <noServer>true
</noServer>
297 <!-- Remove draftCompile when project is ready -->
298 <draftCompile>false
</draftCompile>
300 <runTarget>http://localhost:
8080/
</runTarget>
305 <!-- if you don't specify any modules, the plugin will find
307 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
312 <goal>resources
</goal>
313 <goal>update-theme
</goal>
314 <goal>update-widgetset
</goal>
315 <goal>compile-theme
</goal>
322 <groupId>org.eclipse.jetty
</groupId>
323 <artifactId>jetty-maven-plugin
</artifactId>
324 <version>9.4.15.v20190215
</version>
327 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
328 the last version compatible to java 7, but this was causing other problems related to asm
329 which could not be easily solved.
332 <useTestScope>true
</useTestScope>
333 <scanIntervalSeconds>2</scanIntervalSeconds>
337 <name>cdm.datasource
</name>
338 <value>h2_cdmTest
</value>
341 <name>hibernate.hbm2ddl.auto
</name>
342 <value>create-drop
</value>
346 The lucene index should be placed into the target folder,
347 so user.home needs to be set to this folder. user.home needs to be overridden
348 since it already exists, thus the force option is turned on above
350 <name>user.home
</name>
351 <value>${basedir}/target/
</value>
355 datasources.xml is prepared by <plugins><resources>..</resources> above
357 <name>cdm.beanDefinitionFile
</name>
358 <value>${project.build.directory}/test-classes/datasources.xml
</value>
364 <groupId>org.slf4j
</groupId>
365 <artifactId>slf4j-log4j12
</artifactId>
366 <version>1.6.4</version>
371 <groupId>org.apache.maven.plugins
</groupId>
372 <artifactId>maven-failsafe-plugin
</artifactId>
373 <version>3.0.0-M5
</version>
375 <!-- Remove the skipTests line below to run TestBench tests -->
376 <!-- <skipTests>true</skipTests> -->
381 <goal>integration-test
</goal>
387 <!-- Browser Driver Downloader -->
389 <groupId>com.lazerycode.selenium
</groupId>
390 <artifactId>driver-binary-downloader-maven-plugin
</artifactId>
391 <version>1.0.18</version>
394 <rootStandaloneServerDirectory>selenium/bin
</rootStandaloneServerDirectory>
395 <downloadedZipFileDirectory>selenium/zip
</downloadedZipFileDirectory>
400 <goal>selenium
</goal>
406 <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
407 <artifactId>jgitflow-maven-plugin</artifactId>
408 <version>1.0-m8</version> -->
409 <groupId>external.atlassian.jgitflow
</groupId>
410 <artifactId>jgitflow-maven-plugin
</artifactId>
411 <version>1.0-m6
</version>
413 <pushHotfixes>true
</pushHotfixes>
414 <pushReleases>true
</pushReleases>
415 <enableSshAgent>true
</enableSshAgent>
416 <allowSnapshots>true
</allowSnapshots>
417 <allowUntracked>true
</allowUntracked>
420 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
421 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
424 <groupId>com.jcraft
</groupId>
425 <artifactId>jsch
</artifactId>
426 <version>0.1.55</version>
431 <groupId>org.apache.maven.plugins
</groupId>
432 <artifactId>maven-enforcer-plugin
</artifactId>
433 <version>3.1.0</version>
441 <dependencyConvergence/>
442 <requireMavenVersion>
443 <version>[
3.6.3,)
</version>
444 </requireMavenVersion>
465 <!-- Binds by default to the lifecycle phase: validate -->
473 <groupId>org.apache.maven.wagon
</groupId>
474 <artifactId>wagon-scm
</artifactId>
475 <version>3.5.1</version>
478 <groupId>org.apache.maven.wagon
</groupId>
479 <artifactId>wagon-ssh
</artifactId>
480 <version>3.5.1</version>
483 <groupId>org.apache.maven.wagon
</groupId>
484 <artifactId>wagon-ssh-external
</artifactId>
485 <version>3.5.1</version>
488 <groupId>org.apache.maven.scm
</groupId>
489 <artifactId>maven-scm-manager-plexus
</artifactId>
490 <version>1.12.2</version>
493 <groupId>org.apache.maven.scm
</groupId>
494 <artifactId>maven-scm-provider-svnexe
</artifactId>
495 <version>1.12.2</version>
497 <!-- WebDAV plugin to upload snapshots -->
499 <groupId>org.apache.maven.wagon
</groupId>
500 <artifactId>wagon-webdav-jackrabbit
</artifactId>
501 <version>3.5.1</version>
507 <groupId>org.apache.maven.plugins
</groupId>
508 <artifactId>maven-eclipse-plugin
</artifactId>
509 <version>2.10</version>
511 <wtpversion>2.0</wtpversion>
512 <additionalProjectnatures>
513 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
514 </additionalProjectnatures>
515 <additionalBuildcommands>
516 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
517 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
518 </additionalBuildcommands>
521 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
523 <groupId>org.eclipse.m2e
</groupId>
524 <artifactId>lifecycle-mapping
</artifactId>
525 <version>1.0.0</version>
527 <lifecycleMappingMetadata>
530 <pluginExecutionFilter>
531 <groupId>com.lazerycode.selenium
</groupId>
533 driver-binary-downloader-maven-plugin
535 <versionRange>[
1.0.14,)
</versionRange>
537 <goal>selenium
</goal>
539 </pluginExecutionFilter>
545 </lifecycleMappingMetadata>
552 <!-- ============ Vaadin ============ -->
554 <groupId>com.vaadin
</groupId>
555 <artifactId>vaadin-spring
</artifactId>
556 <version>${vaadin-spring.version}
</version>
559 <groupId>org.vaadin.spring.addons
</groupId>
560 <artifactId>vaadin-spring-addon-eventbus
</artifactId>
561 <version>${vaadin-spring-addon-eventbus.version}
</version>
564 <groupId>com.vaadin
</groupId>
565 <artifactId>vaadin-server
</artifactId>
583 vaadin-server dependency jsoup upgraded due to https://vaadin.com/security/2021-10-27
584 further updating of vaadin 7 is no longer possible without purchasing the pro license
588 <groupId>com.vaadin
</groupId>
589 <artifactId>vaadin-client-compiled
</artifactId>
591 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
592 For widgetset compilation, vaadin-client-compiler is automatically added
593 on the compilation classpath by vaadin-maven-plugin so normally there is
594 no need for an explicit dependency. -->
595 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
596 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
598 <groupId>com.vaadin
</groupId>
599 <artifactId>vaadin-client
</artifactId>
603 <groupId>javax.validation
</groupId>
604 <artifactId>validation-api
</artifactId>
608 <!-- disabling push for the moment because it does not work with run-jetty-run
609 due to the fact that the latest (even nightly) version of run-jetty-run uses
610 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
611 included in this pom which is 9.2.5.xx, implying that enabling the dependency
612 and running the web app via 'mvn jetty:run' works fine. -->
613 <!-- <dependency> -->
614 <!-- <groupId>com.vaadin</groupId> -->
615 <!-- <artifactId>vaadin-push</artifactId> -->
616 <!-- <version>${vaadin.version}</version> -->
617 <!-- </dependency> -->
619 <groupId>com.vaadin
</groupId>
620 <artifactId>vaadin-themes
</artifactId>
622 <!-- vaadin addons / extensions -->
624 <groupId>org.vaadin.addons
</groupId>
625 <artifactId>contextmenu
</artifactId>
626 <version>4.5</version>
629 <groupId>org.vaadin.teemu
</groupId>
630 <artifactId>switch
</artifactId>
631 <version>2.0.4-SNAPSHOT
</version>
634 <groupId>org.vaadin
</groupId>
635 <artifactId>viritin
</artifactId>
636 <version>1.61</version>
639 <groupId>org.vaadin.addon
</groupId>
640 <artifactId>v-leaflet
</artifactId>
641 <version>1.0.3</version>
644 <groupId>org.vaadin.addons.lazyquerycontainer
</groupId>
645 <artifactId>vaadin-lazyquerycontainer
</artifactId>
646 <version>7.6.1.3</version>
649 <groupId>com.flowingcode.vaadin.addons
</groupId>
650 <artifactId>error-window-vaadin
</artifactId>
651 <version>1.0.0</version>
655 <groupId>org.vaadin.spring.extensions</groupId>
656 <artifactId>vaadin-spring-ext-test</artifactId>
657 <version>0.0.8-SNAPSHOT</version>
662 only in the edit repo
663 <groupId>org.vaadin.addons</groupId>
664 <artifactId>lazyloadwrapper</artifactId>
665 <version>0.1-alpha</version>
667 <!-- ============ cdmlib ============ -->
669 <groupId>eu.etaxonomy
</groupId>
670 <artifactId>cdmlib-remote
</artifactId>
671 <scope>compile
</scope>
674 <groupId>eu.etaxonomy
</groupId>
675 <artifactId>cdmlib-cache
</artifactId>
676 <version>${cdmlib.version}
</version>
679 <groupId>eu.etaxonomy
</groupId>
680 <artifactId>cdmlib-test
</artifactId>
684 <groupId>eu.etaxonomy
</groupId>
685 <artifactId>cdmlib-db
</artifactId>
686 <version>${cdmlib.version}
</version>
689 <!-- ============ Other ============ -->
691 to override version number coming with vaadin client
692 version is managed in cdmlib-parent
695 <groupId>javax.validation
</groupId>
696 <artifactId>validation-api
</artifactId>
699 <groupId>org.springmodules</groupId>
700 <artifactId>spring-modules-cache</artifactId>
701 <version>0.7</version>
704 <groupId>org.springframework</groupId>
705 <artifactId>spring</artifactId>
708 <groupId>org.springframework</groupId>
709 <artifactId>spring-mock</artifactId>
715 <groupId>org.springframework
</groupId>
716 <artifactId>spring-test
</artifactId>
720 <groupId>org.json
</groupId>
721 <artifactId>json
</artifactId>
724 <groupId>javax.servlet
</groupId>
725 <artifactId>javax.servlet-api
</artifactId>
726 <scope>provided
</scope>
728 <!-- ========== testing ======== -->
730 <groupId>com.codeborne
</groupId>
731 <artifactId>selenide
</artifactId>
732 <version>4.7.1</version>
736 <groupId>org.springframework.boot
</groupId>
737 <artifactId>spring-boot
</artifactId>
740 <groupId>org.springframework.boot
</groupId>
741 <artifactId>spring-boot-starter-jetty
</artifactId>
744 <groupId>org.springframework
</groupId>
745 <artifactId>spring-beans
</artifactId>