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.0.0-SNAPSHOT
</version>
8 <name>Vaadin Web Application
</name>
10 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
11 <vaadin.version
>7.6.3</vaadin.version
>
12 <vaadin.plugin.version
>${vaadin.version}
</vaadin.plugin.version
>
13 <cdmlib.version
>4.0.0-SNAPSHOT
</cdmlib.version
>
14 <unitils.version
>3.4.2</unitils.version
>
15 <spring.version
>4.2.4.RELEASE
</spring.version
>
21 <!-- the cdm internal repository -->
23 <id>EditRepository
</id>
24 <url>http://wp5.e-taxonomy.eu/mavenrepo/
</url>
26 <!-- current spring source repositories -->
28 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
29 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
32 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
33 <url>http://repository.springsource.com/maven/bundles/release
</url>
36 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
37 <url>http://repository.springsource.com/maven/bundles/external
</url>
40 <id>vaadin-addons
</id>
41 <url>http://maven.vaadin.com/vaadin-addons
</url>
44 <id>vaadin-snapshots
</id>
45 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
47 <enabled>false
</enabled>
50 <enabled>true
</enabled>
56 <id>vaadin-snapshots
</id>
57 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
59 <enabled>false
</enabled>
62 <enabled>true
</enabled>
66 <distributionManagement>
68 <uniqueVersion>false
</uniqueVersion>
69 <id>wp5.e-taxonomy.eu
</id>
70 <name>Edit Maven Repository
</name>
71 <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
72 <layout>default
</layout>
74 </distributionManagement>
77 <groupId>com.vaadin
</groupId>
78 <artifactId>vaadin-server
</artifactId>
79 <version>${vaadin.version}
</version>
82 <groupId>com.vaadin
</groupId>
83 <artifactId>vaadin-client-compiled
</artifactId>
84 <version>${vaadin.version}
</version>
86 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
87 For widgetset compilation, vaadin-client-compiler is automatically added
88 on the compilation classpath by vaadin-maven-plugin so normally there is
89 no need for an explicit dependency. -->
90 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
91 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
93 <groupId>com.vaadin
</groupId>
94 <artifactId>vaadin-client
</artifactId>
95 <version>${vaadin.version}
</version>
96 <scope>provided
</scope>
98 <!-- disabling push for the moment because it does not work with run-jetty-run
99 due to the fact that the latest (even nightly) version of run-jetty-run uses
100 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
101 included in this pom which is 9.2.5.xx, implying that enabling the dependency
102 and running the web app via 'mvn jetty:run' works fine. -->
103 <!-- <dependency> -->
104 <!-- <groupId>com.vaadin</groupId> -->
105 <!-- <artifactId>vaadin-push</artifactId> -->
106 <!-- <version>${vaadin.version}</version> -->
107 <!-- </dependency> -->
109 <groupId>com.vaadin
</groupId>
110 <artifactId>vaadin-themes
</artifactId>
111 <version>${vaadin.version}
</version>
114 <groupId>javax.servlet
</groupId>
115 <artifactId>javax.servlet-api
</artifactId>
116 <version>3.1.0</version>
117 <scope>provided
</scope>
120 <groupId>com.vaadin
</groupId>
121 <artifactId>vaadin-testbench-api
</artifactId>
122 <version>RELEASE
</version>
126 <groupId>eu.etaxonomy
</groupId>
127 <artifactId>cdmlib-services
</artifactId>
128 <version>${cdmlib.version}
</version>
129 <scope>provided
</scope>
132 <groupId>eu.etaxonomy
</groupId>
133 <artifactId>cdmlib-model
</artifactId>
134 <version>${cdmlib.version}
</version>
135 <scope>provided
</scope>
138 <groupId>eu.etaxonomy
</groupId>
139 <artifactId>cdmlib-persistence
</artifactId>
140 <type>test-jar
</type>
142 <version>${cdmlib.version}
</version>
145 <groupId>org.springmodules
</groupId>
146 <artifactId>spring-modules-cache
</artifactId>
147 <version>0.7</version>
150 <groupId>org.springframework
</groupId>
151 <artifactId>spring
</artifactId>
154 <groupId>org.springframework
</groupId>
155 <artifactId>spring-mock
</artifactId>
158 <scope>provided
</scope>
161 <groupId>com.thoughtworks.xstream
</groupId>
162 <artifactId>xstream
</artifactId>
163 <version>1.4.4</version>
164 <scope>provided
</scope>
167 <groupId>org.springframework
</groupId>
168 <artifactId>spring-mock
</artifactId>
169 <version>2.0.8</version>
170 <scope>provided
</scope>
173 <groupId>org.springframework
</groupId>
174 <artifactId>spring-context-support
</artifactId>
175 <version>${spring.version}
</version>
176 <scope>provided
</scope>
179 <groupId>org.springframework
</groupId>
180 <artifactId>spring-web
</artifactId>
181 <version>${spring.version}
</version>
184 <groupId>org.springframework
</groupId>
185 <artifactId>spring-webmvc
</artifactId>
186 <version>${spring.version}
</version>
189 <groupId>junit
</groupId>
190 <artifactId>junit
</artifactId>
191 <version>4.11</version>
194 <!-- vaadin addons / extensions -->
196 <groupId>org.vaadin.addons
</groupId>
197 <artifactId>contextmenu
</artifactId>
198 <version>4.5</version>
200 <!-- unitils dependencies - start -->
202 <groupId>org.unitils
</groupId>
203 <artifactId>unitils-core
</artifactId>
204 <version>${unitils.version}
</version>
208 <groupId>org.unitils
</groupId>
209 <artifactId>unitils-database
</artifactId>
210 <version>${unitils.version}
</version>
214 <groupId>org.springframework
</groupId>
215 <artifactId>spring-jdbc
</artifactId>
220 <groupId>org.unitils
</groupId>
221 <artifactId>unitils-dbmaintainer
</artifactId>
222 <version>${unitils.version}
</version>
226 <groupId>org.hibernate
</groupId>
227 <artifactId>hibernate
</artifactId>
232 <groupId>org.unitils
</groupId>
233 <artifactId>unitils-dbunit
</artifactId>
234 <version>${unitils.version}
</version>
238 <groupId>org.springframework
</groupId>
239 <artifactId>spring-core
</artifactId>
242 <groupId>org.springframework
</groupId>
243 <artifactId>spring-jdbc
</artifactId>
246 <groupId>org.springframework
</groupId>
247 <artifactId>spring-beans
</artifactId>
252 <groupId>org.unitils
</groupId>
253 <artifactId>unitils-easymock
</artifactId>
254 <version>${unitils.version}
</version>
258 <groupId>org.unitils
</groupId>
259 <artifactId>unitils-mock
</artifactId>
260 <version>${unitils.version}
</version>
264 <groupId>org.unitils
</groupId>
265 <artifactId>unitils-inject
</artifactId>
266 <version>${unitils.version}
</version>
270 <groupId>org.unitils
</groupId>
271 <artifactId>unitils-orm
</artifactId>
272 <version>${unitils.version}
</version>
276 <groupId>org.springframework
</groupId>
277 <artifactId>spring-context
</artifactId>
280 <groupId>org.springframework
</groupId>
281 <artifactId>spring-orm
</artifactId>
284 <groupId>javax.persistence
</groupId>
285 <artifactId>persistence-api
</artifactId>
290 <groupId>org.unitils
</groupId>
291 <artifactId>unitils-spring
</artifactId>
292 <version>${unitils.version}
</version>
296 <groupId>org.springframework
</groupId>
297 <artifactId>spring-core
</artifactId>
300 <groupId>org.springframework
</groupId>
301 <artifactId>spring-context
</artifactId>
304 <groupId>org.springframework
</groupId>
305 <artifactId>spring-beans
</artifactId>
308 <groupId>org.springframework
</groupId>
309 <artifactId>spring-test
</artifactId>
312 <groupId>org.springframework
</groupId>
313 <artifactId>spring-tx
</artifactId>
318 <groupId>org.easymock
</groupId>
319 <artifactId>easymock
</artifactId>
320 <version>3.1</version>
324 <groupId>xmlunit
</groupId>
325 <artifactId>xmlunit
</artifactId>
326 <version>1.4</version>
330 <groupId>org.dbunit
</groupId>
331 <artifactId>dbunit
</artifactId>
332 <version>2.4.9</version>
336 <groupId>commons-dbcp
</groupId>
337 <artifactId>commons-dbcp
</artifactId>
338 <version>1.4</version>
341 <!-- unitils dependencies - end -->
343 <groupId>org.slf4j
</groupId>
344 <artifactId>slf4j-log4j12
</artifactId>
345 <version>1.7.2</version>
346 <scope>provided
</scope>
349 <groupId>org.slf4j
</groupId>
350 <artifactId>slf4j-api
</artifactId>
351 <version>1.7.2</version>
352 <scope>provided
</scope>
355 <groupId>p6spy
</groupId>
356 <artifactId>p6spy
</artifactId>
357 <version>2.1.3</version>
361 <groupId>org.json
</groupId>
362 <artifactId>json
</artifactId>
363 <version>20151123</version>
371 <name>align-cdmlib-version
</name>
377 <groupId>com.google.code.maven-replacer-plugin
</groupId>
378 <artifactId>replacer
</artifactId>
379 <version>1.5.3</version>
382 <phase>process-sources
</phase>
390 <!-- \u003C = < , \u003E = > -->
391 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*
</token>
392 <value>$
1${project.version}
</value>
402 <groupId>org.apache.maven.plugins
</groupId>
403 <artifactId>maven-compiler-plugin
</artifactId>
404 <version>3.3</version>
408 <encoding>UTF-
8</encoding>
412 <groupId>org.apache.maven.plugins
</groupId>
413 <artifactId>maven-surefire-plugin
</artifactId>
415 <argLine>-Xms256m -Xmx512m
</argLine>
418 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
419 <!-- directory is cleaned properly -->
421 <artifactId>maven-clean-plugin
</artifactId>
422 <version>2.4.1</version>
426 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
432 <groupId>org.apache.maven.plugins
</groupId>
433 <artifactId>maven-war-plugin
</artifactId>
434 <version>2.2</version>
436 <failOnMissingWebXml>false
</failOnMissingWebXml>
437 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
441 <groupId>com.vaadin
</groupId>
442 <artifactId>vaadin-maven-plugin
</artifactId>
443 <version>${vaadin.plugin.version}
</version>
445 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
446 <!-- <runTarget>mobilemail</runTarget> -->
447 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
448 This way compatible with Vaadin eclipse plugin. -->
449 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
451 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
453 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
454 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
455 <deploy>${project.build.directory}/gwt-deploy
</deploy>
456 <!-- Compile report is not typically needed either, saves hunreds
458 <compileReport>false
</compileReport>
459 <noServer>true
</noServer>
460 <!-- Remove draftCompile when project is ready -->
461 <draftCompile>false
</draftCompile>
463 <strict>true
</strict>
464 <runTarget>http://localhost:
8080/
</runTarget>
469 <!-- if you don't specify any modules, the plugin will find
471 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
476 <goal>resources
</goal>
477 <goal>update-theme
</goal>
478 <goal>update-widgetset
</goal>
479 <goal>compile-theme
</goal>
486 <!-- <groupId>org.eclipse.jetty</groupId> -->
487 <!-- <artifactId>jetty-maven-plugin</artifactId> -->
488 <!-- <version>9.2.3.v20140905</version> -->
489 <!-- <configuration> -->
490 <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
491 <!-- <stopPort>8005</stopPort> -->
492 <!-- <stopKey>STOP</stopKey> -->
493 <!-- <useProvidedScope>true</useProvidedScope> -->
495 <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
497 <!-- </configuration> -->
498 <!-- <executions> -->
500 <!-- <id>start-jetty</id> -->
501 <!-- <phase>pre-integration-test</phase> -->
503 <!-- <goal>start</goal> -->
505 <!-- <configuration> -->
506 <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
507 <!-- <daemon>true</daemon> -->
508 <!-- </configuration> -->
509 <!-- </execution> -->
511 <!-- <id>stop-jetty</id> -->
512 <!-- <phase>post-integration-test</phase> -->
514 <!-- <goal>stop</goal> -->
516 <!-- </execution> -->
517 <!-- </executions> -->
520 <groupId>org.apache.maven.plugins
</groupId>
521 <artifactId>maven-failsafe-plugin
</artifactId>
522 <version>2.17</version>
524 <!-- Remove the skipTests line below to run TestBench tests -->
525 <!-- <skipTests>true</skipTests> -->
530 <goal>integration-test
</goal>
537 <groupId>external.atlassian.jgitflow
</groupId>
538 <artifactId>jgitflow-maven-plugin
</artifactId>
539 <version>1.0-m6
</version>
541 <pushHotfixes>true
</pushHotfixes>
542 <pushReleases>true
</pushReleases>
543 <enableSshAgent>true
</enableSshAgent>
544 <allowSnapshots>true
</allowSnapshots>
545 <allowUntracked>true
</allowUntracked>
549 upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
550 in order have ssl key exchange algorithms compatible with openssh 6.7
553 <groupId>com.jcraft
</groupId>
554 <artifactId>jsch
</artifactId>
555 <version>0.1.53</version>
562 <groupId>org.apache.maven.wagon
</groupId>
563 <artifactId>wagon-scm
</artifactId>
564 <version>1.0-beta-
6</version>
567 <groupId>org.apache.maven.wagon
</groupId>
568 <artifactId>wagon-ssh
</artifactId>
569 <version>1.0-beta-
6</version>
572 <groupId>org.apache.maven.wagon
</groupId>
573 <artifactId>wagon-ssh-external
</artifactId>
574 <version>1.0-beta-
6</version>
577 <groupId>org.apache.maven.scm
</groupId>
578 <artifactId>maven-scm-manager-plexus
</artifactId>
579 <version>1.0</version>
582 <groupId>org.apache.maven.scm
</groupId>
583 <artifactId>maven-scm-provider-svnexe
</artifactId>
584 <version>1.0</version>
586 <!-- WebDAV plugin to upload snapshots -->
588 <groupId>org.apache.maven.wagon
</groupId>
589 <artifactId>wagon-webdav
</artifactId>
590 <version>1.0-beta-
2</version>
596 <artifactId>maven-eclipse-plugin
</artifactId>
598 <wtpversion>2.0</wtpversion>
599 <additionalProjectnatures>
600 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
601 </additionalProjectnatures>
602 <additionalBuildcommands>
603 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
604 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
605 </additionalBuildcommands>