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>4.13.0-SNAPSHOT
</version>
8 <name>Vaadin Web Application
</name>
10 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
11 <vaadin.version
>7.7.10</vaadin.version
>
12 <vaadin-spring.version
>1.2.0</vaadin-spring.version
>
13 <vaadin.plugin.version
>${vaadin.version}
</vaadin.plugin.version
>
14 <cdmlib.version
>4.13.0-SNAPSHOT
</cdmlib.version
>
15 <unitils.version
>3.4.2</unitils.version
>
17 lucene.version must match the version as defined in cdmlib
19 <lucene.version
>5.4.1</lucene.version
>
20 <maven.compiler.source
>1.8</maven.compiler.source
>
21 <maven.compiler.target
>1.8</maven.compiler.target
>
27 <!-- the cdm internal repository -->
29 <id>EditRepository
</id>
30 <url>http://cybertaxonomy.eu/mavenrepo/
</url>
32 <!-- current spring source repositories -->
34 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
35 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
38 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
39 <url>http://repository.springsource.com/maven/bundles/release
</url>
42 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
43 <url>http://repository.springsource.com/maven/bundles/external
</url>
46 <id>vaadin-addons
</id>
47 <url>http://maven.vaadin.com/vaadin-addons
</url>
50 <id>vaadin-snapshots
</id>
51 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
53 <enabled>false
</enabled>
56 <enabled>true
</enabled>
62 <id>vaadin-snapshots
</id>
63 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
65 <enabled>false
</enabled>
68 <enabled>true
</enabled>
72 <dependencyManagement>
75 <groupId>com.vaadin
</groupId>
76 <artifactId>vaadin-bom
</artifactId>
77 <version>${vaadin.version}
</version>
82 <groupId>eu.etaxonomy
</groupId>
83 <artifactId>cdmlib-parent
</artifactId>
84 <version>${cdmlib.version}
</version>
89 <!-- Try updating in cdmlib to 20090211 -->
90 <groupId>org.json
</groupId>
91 <artifactId>json
</artifactId>
92 <version>20151123</version>
95 </dependencyManagement>
96 <distributionManagement>
98 <uniqueVersion>false
</uniqueVersion>
99 <id>wp5.e-taxonomy.eu
</id>
100 <name>Edit Maven Repository
</name>
101 <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
102 <layout>default
</layout>
104 </distributionManagement>
107 <id>align-cdmlib-version
</id>
110 <name>align-cdmlib-version
</name>
116 <groupId>com.google.code.maven-replacer-plugin
</groupId>
117 <artifactId>replacer
</artifactId>
118 <version>1.5.3</version>
121 <phase>process-sources
</phase>
129 <!-- \u003C = < , \u003E = > -->
130 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
131 <value>$
1${project.version}
</value>
138 <id>java8-doclint-disabled
</id>
143 <javadoc.opts
>-Xdoclint:none
</javadoc.opts
>
150 <!-- replace the place holders like ${...} in datasources.xml -->
151 <filtering>true
</filtering>
152 <directory>src/test/resources
</directory>
153 <targetPath>../test-classes
</targetPath>
155 <include>datasources.xml
</include>
159 <!-- all other test resources without filtering -->
160 <directory>src/test/resources
</directory>
161 <targetPath>../test-classes
</targetPath>
163 <exclude>datasources.xml
</exclude>
167 <!-- all main resources without filtering -->
168 <directory>src/main/resources
</directory>
173 <groupId>org.apache.maven.plugins
</groupId>
174 <artifactId>maven-resources-plugin
</artifactId>
175 <version>3.0.1</version>
178 <groupId>org.apache.maven.plugins
</groupId>
179 <artifactId>maven-compiler-plugin
</artifactId>
180 <version>3.3</version>
182 <source>${maven.compiler.source}
</source>
183 <target>${maven.compiler.target}
</target>
184 <encoding>UTF-
8</encoding>
188 <groupId>org.apache.maven.plugins
</groupId>
189 <artifactId>maven-surefire-plugin
</artifactId>
190 <version>2.19.1</version>
192 <argLine>-Xms256m -Xmx512m
</argLine>
195 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
196 <!-- directory is cleaned properly -->
198 <artifactId>maven-clean-plugin
</artifactId>
199 <version>2.4.1</version>
203 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
209 <groupId>org.apache.maven.plugins
</groupId>
210 <artifactId>maven-javadoc-plugin
</artifactId>
211 <version>2.9.1</version>
213 <additionalparam>${javadoc.opts}
</additionalparam>
217 <groupId>org.apache.maven.plugins
</groupId>
218 <artifactId>maven-war-plugin
</artifactId>
219 <version>2.2</version>
221 <failOnMissingWebXml>false
</failOnMissingWebXml>
222 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
226 <groupId>com.vaadin
</groupId>
227 <artifactId>vaadin-maven-plugin
</artifactId>
228 <version>${vaadin.plugin.version}
</version>
230 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
231 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
232 This way compatible with Vaadin eclipse plugin. -->
233 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
</webappDirectory>
234 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
</hostedWebapp>
235 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
236 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
237 <deploy>${project.build.directory}/gwt-deploy
</deploy>
238 <!-- Compile report is not typically needed either, saves hunreds
240 <compileReport>false
</compileReport>
241 <noServer>true
</noServer>
242 <!-- Remove draftCompile when project is ready -->
243 <draftCompile>false
</draftCompile>
245 <runTarget>http://localhost:
8080/
</runTarget>
250 <!-- if you don't specify any modules, the plugin will find
252 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
257 <goal>resources
</goal>
258 <goal>update-theme
</goal>
259 <goal>update-widgetset
</goal>
260 <goal>compile-theme
</goal>
267 <groupId>org.eclipse.jetty
</groupId>
268 <artifactId>jetty-maven-plugin
</artifactId>
269 <version>9.4.0.RC1
</version>
272 9.4.0.RC1 requires jdk 1.8, formerly we've been using version 9.1.3.v20140225 which was
273 the last version compatible to java 7, but this was causing other problems related to asm
274 which could not be easily solved.
277 <useTestScope>true
</useTestScope>
278 <scanIntervalSeconds>2</scanIntervalSeconds>
282 <name>cdm.datasource
</name>
283 <value>h2_cdmTest
</value>
287 The lucene index should be placed into the target folder,
288 so user.home needs to be set to this folder. user.home needs to be overridden
289 since it already exists, thus the force option is turned on above
291 <name>user.home
</name>
292 <value>${basedir}/target/
</value>
296 datasources.xml is prepared by <plugins><resources>..</resources> above
298 <name>cdm.beanDefinitionFile
</name>
299 <value>${project.build.directory}/test-classes/datasources.xml
</value>
302 <name>log4j.configuration
</name>
303 <value>file:///home/andreas/.cdmLibrary/log4j.properties
</value>
309 <groupId>org.slf4j
</groupId>
310 <artifactId>slf4j-log4j12
</artifactId>
311 <version>1.6.4</version>
316 <groupId>org.apache.maven.plugins
</groupId>
317 <artifactId>maven-failsafe-plugin
</artifactId>
318 <version>2.17</version>
320 <!-- Remove the skipTests line below to run TestBench tests -->
321 <!-- <skipTests>true</skipTests> -->
326 <goal>integration-test
</goal>
333 <groupId>external.atlassian.jgitflow
</groupId>
334 <artifactId>jgitflow-maven-plugin
</artifactId>
335 <version>1.0-m6
</version>
337 <pushHotfixes>true
</pushHotfixes>
338 <pushReleases>true
</pushReleases>
339 <enableSshAgent>true
</enableSshAgent>
340 <allowSnapshots>true
</allowSnapshots>
341 <allowUntracked>true
</allowUntracked>
344 <!-- upgrading dependency jsch.agent.version of jgit-flow plugin
345 to 0.1.53 in order have ssl key exchange algorithms compatible with openssh
348 <groupId>com.jcraft
</groupId>
349 <artifactId>jsch
</artifactId>
350 <version>0.1.53</version>
357 <groupId>org.apache.maven.wagon
</groupId>
358 <artifactId>wagon-scm
</artifactId>
359 <version>1.0-beta-
6</version>
362 <groupId>org.apache.maven.wagon
</groupId>
363 <artifactId>wagon-ssh
</artifactId>
364 <version>1.0-beta-
6</version>
367 <groupId>org.apache.maven.wagon
</groupId>
368 <artifactId>wagon-ssh-external
</artifactId>
369 <version>1.0-beta-
6</version>
372 <groupId>org.apache.maven.scm
</groupId>
373 <artifactId>maven-scm-manager-plexus
</artifactId>
374 <version>1.0</version>
377 <groupId>org.apache.maven.scm
</groupId>
378 <artifactId>maven-scm-provider-svnexe
</artifactId>
379 <version>1.0</version>
381 <!-- WebDAV plugin to upload snapshots -->
383 <groupId>org.apache.maven.wagon
</groupId>
384 <artifactId>wagon-webdav
</artifactId>
385 <version>1.0-beta-
2</version>
391 <artifactId>maven-eclipse-plugin
</artifactId>
393 <wtpversion>2.0</wtpversion>
394 <additionalProjectnatures>
395 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
396 </additionalProjectnatures>
397 <additionalBuildcommands>
398 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
399 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
400 </additionalBuildcommands>
407 <!-- ============ Vaadin ============ -->
409 <groupId>com.vaadin
</groupId>
410 <artifactId>vaadin-spring
</artifactId>
411 <version>${vaadin-spring.version}
</version>
414 <groupId>com.vaadin
</groupId>
415 <artifactId>vaadin-server
</artifactId>
418 <groupId>com.vaadin
</groupId>
419 <artifactId>vaadin-client-compiled
</artifactId>
421 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
422 For widgetset compilation, vaadin-client-compiler is automatically added
423 on the compilation classpath by vaadin-maven-plugin so normally there is
424 no need for an explicit dependency. -->
425 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
426 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
428 <groupId>com.vaadin
</groupId>
429 <artifactId>vaadin-client
</artifactId>
433 <groupId>javax.validation
</groupId>
434 <artifactId>validation-api
</artifactId>
438 <!-- disabling push for the moment because it does not work with run-jetty-run
439 due to the fact that the latest (even nightly) version of run-jetty-run uses
440 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
441 included in this pom which is 9.2.5.xx, implying that enabling the dependency
442 and running the web app via 'mvn jetty:run' works fine. -->
443 <!-- <dependency> -->
444 <!-- <groupId>com.vaadin</groupId> -->
445 <!-- <artifactId>vaadin-push</artifactId> -->
446 <!-- <version>${vaadin.version}</version> -->
447 <!-- </dependency> -->
449 <groupId>com.vaadin
</groupId>
450 <artifactId>vaadin-themes
</artifactId>
453 <groupId>com.vaadin
</groupId>
454 <artifactId>vaadin-testbench-api
</artifactId>
455 <version>RELEASE
</version>
458 <!-- vaadin addons / extensions -->
460 <groupId>org.vaadin.addons
</groupId>
461 <artifactId>contextmenu
</artifactId>
462 <version>4.5</version>
465 <groupId>org.vaadin.teemu
</groupId>
466 <artifactId>switch
</artifactId>
467 <version>2.0.4-SNAPSHOT
</version>
470 <groupId>org.vaadin
</groupId>
471 <artifactId>viritin
</artifactId>
472 <version>1.61</version>
475 <groupId>org.vaadin.addon
</groupId>
476 <artifactId>v-leaflet
</artifactId>
477 <version>1.0.3</version>
480 <groupId>org.vaadin.addons.lazyquerycontainer
</groupId>
481 <artifactId>vaadin-lazyquerycontainer
</artifactId>
482 <version>7.6.1.3</version>
485 <groupId>com.flowingcode.vaadin.addons
</groupId>
486 <artifactId>error-window-vaadin
</artifactId>
487 <version>1.0.0</version>
491 <groupId>org.vaadin.spring.extensions</groupId>
492 <artifactId>vaadin-spring-ext-test</artifactId>
493 <version>0.0.8-SNAPSHOT</version>
498 only in the edit repo
499 <groupId>org.vaadin.addons</groupId>
500 <artifactId>lazyloadwrapper</artifactId>
501 <version>0.1-alpha</version>
503 <!-- ============ cdmlib ============ -->
505 <groupId>eu.etaxonomy
</groupId>
506 <artifactId>cdmlib-remote
</artifactId>
507 <scope>compile
</scope>
510 <groupId>eu.etaxonomy
</groupId>
511 <artifactId>cdmlib-cache
</artifactId>
512 <version>${cdmlib.version}
</version>
515 <groupId>eu.etaxonomy
</groupId>
516 <artifactId>cdmlib-test
</artifactId>
520 <groupId>eu.etaxonomy
</groupId>
521 <artifactId>cdmlib-db
</artifactId>
522 <version>${cdmlib.version}
</version>
525 <!-- ============ Other ============ -->
527 to override version number coming with vaadin client
528 version is managed in cdmlib-parent
531 <groupId>javax.validation
</groupId>
532 <artifactId>validation-api
</artifactId>
535 <groupId>org.springmodules
</groupId>
536 <artifactId>spring-modules-cache
</artifactId>
537 <version>0.7</version>
540 <groupId>org.springframework
</groupId>
541 <artifactId>spring
</artifactId>
544 <groupId>org.springframework
</groupId>
545 <artifactId>spring-mock
</artifactId>
551 <groupId>org.springframework
</groupId>
552 <artifactId>spring-mock
</artifactId>
553 <version>2.0.8</version>
557 <groupId>org.json
</groupId>
558 <artifactId>json
</artifactId>
561 <groupId>javax.servlet
</groupId>
562 <artifactId>javax.servlet-api
</artifactId>
563 <scope>provided
</scope>