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.41.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.42.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>
119 updating to same version as in vaadin-server 7.7.28 due to https://vaadin.com/security/2021-10-27
120 is not possible due to code incompatibility
121 <groupId>org.jsoup</groupId>
122 <artifactId>jsoup</artifactId>
123 <version>1.14.3</version>
128 < ! - - FIXME move to cdmlib-test - - >
129 <groupId>org.springframework</groupId>
130 <artifactId>spring-mock</artifactId>
131 <version>4.2.3.RELEASE</version>
134 <groupId>org.seleniumhq.selenium</groupId>
135 <artifactId>selenium-api</artifactId>
136 <version>3.5.3</version>
139 <groupId>org.seleniumhq.selenium</groupId>
140 <artifactId>selenium-support</artifactId>
141 <version>3.5.3</version>
145 </dependencyManagement>
146 <distributionManagement>
148 <uniqueVersion>false
</uniqueVersion>
149 <id>cybertaxonomy.eu
</id>
150 <name>Edit Maven Repository
</name>
151 <url>scpexe://cybertaxonomy.org/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
152 <layout>default
</layout>
154 </distributionManagement>
157 <id>align-cdmlib-version
</id>
160 <name>align-cdmlib-version
</name>
166 <groupId>com.google.code.maven-replacer-plugin
</groupId>
167 <artifactId>replacer
</artifactId>
168 <version>1.5.3</version>
171 <phase>process-sources
</phase>
179 <!-- \u003C = < , \u003E = > -->
180 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
181 <value>$
1${project.version}
</value>
188 <id>java8-doclint-disabled
</id>
193 <javadoc.opts
>-Xdoclint:none
</javadoc.opts
>
200 <!-- all main resources without filtering -->
201 <directory>src/main/resources
</directory>
204 <!-- replace the place holders like ${...} in datasources.xml -->
205 <filtering>true
</filtering>
206 <directory>src/test/resources
</directory>
207 <targetPath>../test-classes
</targetPath>
209 <include>datasources.xml
</include>
213 <!-- all other test resources without filtering -->
214 <directory>src/test/resources
</directory>
215 <targetPath>../test-classes
</targetPath>
217 <exclude>datasources.xml
</exclude>
223 <groupId>org.apache.maven.plugins
</groupId>
224 <artifactId>maven-resources-plugin
</artifactId>
225 <version>3.2.0</version>
228 <groupId>org.apache.maven.plugins
</groupId>
229 <artifactId>maven-compiler-plugin
</artifactId>
230 <version>3.9.0</version>
232 <source>${maven.compiler.source}
</source>
233 <target>${maven.compiler.target}
</target>
234 <encoding>UTF-
8</encoding>
238 <groupId>org.apache.maven.plugins
</groupId>
239 <artifactId>maven-surefire-plugin
</artifactId>
240 <version>3.0.0-M7
</version>
242 <argLine>-Xms256m -Xmx512m
</argLine>
245 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
246 <!-- directory is cleaned properly -->
248 <artifactId>maven-clean-plugin
</artifactId>
249 <version>3.1.0</version>
253 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
259 <groupId>org.apache.maven.plugins
</groupId>
260 <artifactId>maven-javadoc-plugin
</artifactId>
261 <version>3.3.1</version>
263 <doclint>${doclint}
</doclint>
267 <groupId>org.apache.maven.plugins
</groupId>
268 <artifactId>maven-war-plugin
</artifactId>
269 <version>3.3.2</version>
271 <failOnMissingWebXml>false
</failOnMissingWebXml>
272 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
276 <groupId>com.vaadin
</groupId>
277 <artifactId>vaadin-maven-plugin
</artifactId>
278 <version>${vaadin.plugin.version}
</version>
280 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
281 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
282 This way compatible with Vaadin eclipse plugin. -->
283 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
</webappDirectory>
284 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
</hostedWebapp>
285 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
286 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
287 <deploy>${project.build.directory}/gwt-deploy
</deploy>
288 <!-- Compile report is not typically needed either, saves hunreds
290 <compileReport>false
</compileReport>
291 <noServer>true
</noServer>
292 <!-- Remove draftCompile when project is ready -->
293 <draftCompile>false
</draftCompile>
295 <runTarget>http://localhost:
8080/
</runTarget>
300 <!-- if you don't specify any modules, the plugin will find
302 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
307 <goal>resources
</goal>
308 <goal>update-theme
</goal>
309 <goal>update-widgetset
</goal>
310 <goal>compile-theme
</goal>
317 <groupId>org.eclipse.jetty
</groupId>
318 <artifactId>jetty-maven-plugin
</artifactId>
319 <version>9.4.15.v20190215
</version>
322 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
323 the last version compatible to java 7, but this was causing other problems related to asm
324 which could not be easily solved.
327 <useTestScope>true
</useTestScope>
328 <scanIntervalSeconds>2</scanIntervalSeconds>
332 <name>cdm.datasource
</name>
333 <value>h2_cdmTest
</value>
336 <name>hibernate.hbm2ddl.auto
</name>
337 <value>create-drop
</value>
341 The lucene index should be placed into the target folder,
342 so user.home needs to be set to this folder. user.home needs to be overridden
343 since it already exists, thus the force option is turned on above
345 <name>user.home
</name>
346 <value>${basedir}/target/
</value>
350 datasources.xml is prepared by <plugins><resources>..</resources> above
352 <name>cdm.beanDefinitionFile
</name>
353 <value>${project.build.directory}/test-classes/datasources.xml
</value>
359 <groupId>org.slf4j
</groupId>
360 <artifactId>slf4j-log4j12
</artifactId>
361 <version>1.6.4</version>
366 <groupId>org.apache.maven.plugins
</groupId>
367 <artifactId>maven-failsafe-plugin
</artifactId>
368 <version>3.0.0-M5
</version>
370 <!-- Remove the skipTests line below to run TestBench tests -->
371 <!-- <skipTests>true</skipTests> -->
376 <goal>integration-test
</goal>
382 <!-- Browser Driver Downloader -->
384 <groupId>com.lazerycode.selenium
</groupId>
385 <artifactId>driver-binary-downloader-maven-plugin
</artifactId>
386 <version>1.0.18</version>
389 <rootStandaloneServerDirectory>selenium/bin
</rootStandaloneServerDirectory>
390 <downloadedZipFileDirectory>selenium/zip
</downloadedZipFileDirectory>
395 <goal>selenium
</goal>
401 <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
402 <artifactId>jgitflow-maven-plugin</artifactId>
403 <version>1.0-m8</version> -->
404 <groupId>external.atlassian.jgitflow
</groupId>
405 <artifactId>jgitflow-maven-plugin
</artifactId>
406 <version>1.0-m6
</version>
408 <pushHotfixes>true
</pushHotfixes>
409 <pushReleases>true
</pushReleases>
410 <enableSshAgent>true
</enableSshAgent>
411 <allowSnapshots>true
</allowSnapshots>
412 <allowUntracked>true
</allowUntracked>
415 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
416 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
419 <groupId>com.jcraft
</groupId>
420 <artifactId>jsch
</artifactId>
421 <version>0.1.55</version>
426 <groupId>org.apache.maven.plugins
</groupId>
427 <artifactId>maven-enforcer-plugin
</artifactId>
428 <version>3.1.0</version>
436 <dependencyConvergence/>
437 <requireMavenVersion>
438 <version>[
3.6.3,)
</version>
439 </requireMavenVersion>
455 <!-- Binds by default to the lifecycle phase: validate -->
463 <groupId>org.apache.maven.wagon
</groupId>
464 <artifactId>wagon-scm
</artifactId>
465 <version>3.5.1</version>
468 <groupId>org.apache.maven.wagon
</groupId>
469 <artifactId>wagon-ssh
</artifactId>
470 <version>3.5.1</version>
473 <groupId>org.apache.maven.wagon
</groupId>
474 <artifactId>wagon-ssh-external
</artifactId>
475 <version>3.5.1</version>
478 <groupId>org.apache.maven.scm
</groupId>
479 <artifactId>maven-scm-manager-plexus
</artifactId>
480 <version>1.12.2</version>
483 <groupId>org.apache.maven.scm
</groupId>
484 <artifactId>maven-scm-provider-svnexe
</artifactId>
485 <version>1.12.2</version>
487 <!-- WebDAV plugin to upload snapshots -->
489 <groupId>org.apache.maven.wagon
</groupId>
490 <artifactId>wagon-webdav-jackrabbit
</artifactId>
491 <version>3.5.1</version>
497 <groupId>org.apache.maven.plugins
</groupId>
498 <artifactId>maven-eclipse-plugin
</artifactId>
499 <version>2.10</version>
501 <wtpversion>2.0</wtpversion>
502 <additionalProjectnatures>
503 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
504 </additionalProjectnatures>
505 <additionalBuildcommands>
506 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
507 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
508 </additionalBuildcommands>
511 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
513 <groupId>org.eclipse.m2e
</groupId>
514 <artifactId>lifecycle-mapping
</artifactId>
515 <version>1.0.0</version>
517 <lifecycleMappingMetadata>
520 <pluginExecutionFilter>
521 <groupId>com.lazerycode.selenium
</groupId>
523 driver-binary-downloader-maven-plugin
525 <versionRange>[
1.0.14,)
</versionRange>
527 <goal>selenium
</goal>
529 </pluginExecutionFilter>
535 </lifecycleMappingMetadata>
542 <!-- ============ Vaadin ============ -->
544 <groupId>com.vaadin
</groupId>
545 <artifactId>vaadin-spring
</artifactId>
546 <version>${vaadin-spring.version}
</version>
549 <groupId>org.vaadin.spring.addons
</groupId>
550 <artifactId>vaadin-spring-addon-eventbus
</artifactId>
551 <version>${vaadin-spring-addon-eventbus.version}
</version>
554 <groupId>com.vaadin
</groupId>
555 <artifactId>vaadin-server
</artifactId>
568 vaadin-server dependency jsoup upgraded due to https://vaadin.com/security/2021-10-27
569 further updating of vaadin 7 is no longer possible without purchasing the pro license
573 <groupId>com.vaadin
</groupId>
574 <artifactId>vaadin-client-compiled
</artifactId>
576 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
577 For widgetset compilation, vaadin-client-compiler is automatically added
578 on the compilation classpath by vaadin-maven-plugin so normally there is
579 no need for an explicit dependency. -->
580 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
581 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
583 <groupId>com.vaadin
</groupId>
584 <artifactId>vaadin-client
</artifactId>
588 <groupId>javax.validation
</groupId>
589 <artifactId>validation-api
</artifactId>
593 <!-- disabling push for the moment because it does not work with run-jetty-run
594 due to the fact that the latest (even nightly) version of run-jetty-run uses
595 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
596 included in this pom which is 9.2.5.xx, implying that enabling the dependency
597 and running the web app via 'mvn jetty:run' works fine. -->
598 <!-- <dependency> -->
599 <!-- <groupId>com.vaadin</groupId> -->
600 <!-- <artifactId>vaadin-push</artifactId> -->
601 <!-- <version>${vaadin.version}</version> -->
602 <!-- </dependency> -->
604 <groupId>com.vaadin
</groupId>
605 <artifactId>vaadin-themes
</artifactId>
607 <!-- vaadin addons / extensions -->
609 <groupId>org.vaadin.addons
</groupId>
610 <artifactId>contextmenu
</artifactId>
611 <version>4.5</version>
614 <groupId>org.vaadin.teemu
</groupId>
615 <artifactId>switch
</artifactId>
616 <version>2.0.4-SNAPSHOT
</version>
619 <groupId>org.vaadin
</groupId>
620 <artifactId>viritin
</artifactId>
621 <version>1.61</version>
624 <groupId>org.vaadin.addon
</groupId>
625 <artifactId>v-leaflet
</artifactId>
626 <version>1.0.3</version>
629 <groupId>org.vaadin.addons.lazyquerycontainer
</groupId>
630 <artifactId>vaadin-lazyquerycontainer
</artifactId>
631 <version>7.6.1.3</version>
634 <groupId>com.flowingcode.vaadin.addons
</groupId>
635 <artifactId>error-window-vaadin
</artifactId>
636 <version>1.0.0</version>
640 <groupId>org.vaadin.spring.extensions</groupId>
641 <artifactId>vaadin-spring-ext-test</artifactId>
642 <version>0.0.8-SNAPSHOT</version>
647 only in the edit repo
648 <groupId>org.vaadin.addons</groupId>
649 <artifactId>lazyloadwrapper</artifactId>
650 <version>0.1-alpha</version>
652 <!-- ============ cdmlib ============ -->
654 <groupId>eu.etaxonomy
</groupId>
655 <artifactId>cdmlib-remote
</artifactId>
656 <scope>compile
</scope>
659 <groupId>eu.etaxonomy
</groupId>
660 <artifactId>cdmlib-cache
</artifactId>
661 <version>${cdmlib.version}
</version>
664 <groupId>eu.etaxonomy
</groupId>
665 <artifactId>cdmlib-test
</artifactId>
669 <groupId>eu.etaxonomy
</groupId>
670 <artifactId>cdmlib-db
</artifactId>
671 <version>${cdmlib.version}
</version>
674 <!-- ============ Other ============ -->
676 to override version number coming with vaadin client
677 version is managed in cdmlib-parent
680 <groupId>javax.validation
</groupId>
681 <artifactId>validation-api
</artifactId>
684 <groupId>org.springmodules</groupId>
685 <artifactId>spring-modules-cache</artifactId>
686 <version>0.7</version>
689 <groupId>org.springframework</groupId>
690 <artifactId>spring</artifactId>
693 <groupId>org.springframework</groupId>
694 <artifactId>spring-mock</artifactId>
700 <groupId>org.springframework
</groupId>
701 <artifactId>spring-test
</artifactId>
705 <groupId>org.json
</groupId>
706 <artifactId>json
</artifactId>
709 <groupId>javax.servlet
</groupId>
710 <artifactId>javax.servlet-api
</artifactId>
711 <scope>provided
</scope>
713 <!-- ========== testing ======== -->
715 <groupId>com.codeborne
</groupId>
716 <artifactId>selenide
</artifactId>
717 <version>4.7.1</version>
721 <groupId>org.springframework.boot
</groupId>
722 <artifactId>spring-boot
</artifactId>
725 <groupId>org.springframework.boot
</groupId>
726 <artifactId>spring-boot-starter-jetty
</artifactId>
729 <groupId>org.springframework
</groupId>
730 <artifactId>spring-beans
</artifactId>