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"
3 xsi:
schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4 <modelVersion>4.0.0</modelVersion>
5 <groupId>eu.etaxonomy
</groupId>
6 <artifactId>cdm-vaadin
</artifactId>
7 <packaging>war
</packaging>
8 <version>3.4.0-SNAPSHOT
</version>
9 <name>Vaadin Web Application
</name>
12 <project.build.sourceEncoding
>UTF-
8</project.build.sourceEncoding
>
13 <vaadin.version
>7.3.5</vaadin.version
>
14 <vaadin.plugin.version
>${vaadin.version}
</vaadin.plugin.version
>
15 <cdmlib.version
>${version}
</cdmlib.version
>
16 <unitils.version
>3.3</unitils.version
>
19 <!-- the cdm internal repository -->
21 <id>EditRepository
</id>
22 <url>http://wp5.e-taxonomy.eu/mavenrepo/
</url>
24 <!-- current spring source repositories -->
26 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones
</id>
27 <url>http://repository.springsource.com/maven/bundles/milestone
</url>
30 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases
</id>
31 <url>http://repository.springsource.com/maven/bundles/release
</url>
34 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases
</id>
35 <url>http://repository.springsource.com/maven/bundles/external
</url>
38 <id>vaadin-addons
</id>
39 <url>http://maven.vaadin.com/vaadin-addons
</url>
43 <id>vaadin-snapshots
</id>
44 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/
</url>
46 <enabled>false
</enabled>
49 <enabled>true
</enabled>
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 <groupId>com.vaadin
</groupId>
68 <artifactId>vaadin-server
</artifactId>
69 <version>${vaadin.version}
</version>
72 <groupId>com.vaadin
</groupId>
73 <artifactId>vaadin-client-compiled
</artifactId>
74 <version>${vaadin.version}
</version>
76 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
77 For widgetset compilation, vaadin-client-compiler is automatically added
78 on the compilation classpath by vaadin-maven-plugin so normally there is
79 no need for an explicit dependency. -->
80 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
81 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
83 <groupId>com.vaadin
</groupId>
84 <artifactId>vaadin-client
</artifactId>
85 <version>${vaadin.version}
</version>
86 <scope>provided
</scope>
88 <!-- disabling push for the moment because it does not work with run-jetty-run
89 due to the fact that the latest (even nightly) version of run-jetty-run uses
90 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
91 included in this pom which is 9.2.5.xx, implying that enabling the dependency
92 and running the web app via 'mvn jetty:run' works fine. -->
94 <!-- <groupId>com.vaadin</groupId> -->
95 <!-- <artifactId>vaadin-push</artifactId> -->
96 <!-- <version>${vaadin.version}</version> -->
97 <!-- </dependency> -->
99 <groupId>com.vaadin
</groupId>
100 <artifactId>vaadin-themes
</artifactId>
101 <version>${vaadin.version}
</version>
104 <groupId>javax.servlet
</groupId>
105 <artifactId>javax.servlet-api
</artifactId>
106 <version>3.1.0</version>
107 <scope>provided
</scope>
110 <groupId>com.vaadin
</groupId>
111 <artifactId>vaadin-testbench-api
</artifactId>
112 <version>RELEASE
</version>
116 <groupId>eu.etaxonomy
</groupId>
117 <artifactId>cdmlib-services
</artifactId>
118 <version>${cdmlib.version}
</version>
119 <scope>provided
</scope>
123 <groupId>eu.etaxonomy
</groupId>
124 <artifactId>cdmlib-model
</artifactId>
125 <version>${cdmlib.version}
</version>
126 <scope>provided
</scope>
129 <groupId>eu.etaxonomy
</groupId>
130 <artifactId>cdmlib-persistence
</artifactId>
131 <type>test-jar
</type>
133 <version>${cdmlib.version}
</version>
138 <groupId>org.springmodules
</groupId>
139 <artifactId>spring-modules-cache
</artifactId>
140 <version>0.7</version>
143 <groupId>org.springframework
</groupId>
144 <artifactId>spring
</artifactId>
147 <groupId>org.springframework
</groupId>
148 <artifactId>spring-mock
</artifactId>
151 <scope>provided
</scope>
154 <groupId>com.thoughtworks.xstream
</groupId>
155 <artifactId>xstream
</artifactId>
156 <version>1.4.4</version>
157 <scope>provided
</scope>
160 <groupId>org.springframework
</groupId>
161 <artifactId>spring-mock
</artifactId>
162 <version>2.0.8</version>
163 <scope>provided
</scope>
166 <groupId>org.springframework
</groupId>
167 <artifactId>spring-context-support
</artifactId>
168 <version>3.2.2.RELEASE
</version>
169 <scope>provided
</scope>
172 <groupId>org.springframework
</groupId>
173 <artifactId>org.springframework.web
</artifactId>
174 <version>3.2.2.RELEASE
</version>
175 <scope>provided
</scope>
178 <groupId>org.springframework
</groupId>
179 <artifactId>org.springframework.web.servlet
</artifactId>
180 <version>3.2.2.RELEASE
</version>
181 <scope>provided
</scope>
184 <groupId>junit
</groupId>
185 <artifactId>junit
</artifactId>
186 <version>4.11</version>
191 <!-- unitils dependencies - start -->
193 <groupId>org.unitils
</groupId>
194 <artifactId>unitils-core
</artifactId>
195 <version>${unitils.version}
</version>
199 <groupId>org.unitils
</groupId>
200 <artifactId>unitils-database
</artifactId>
201 <version>${unitils.version}
</version>
205 <groupId>org.springframework
</groupId>
206 <artifactId>spring-jdbc
</artifactId>
211 <groupId>org.unitils
</groupId>
212 <artifactId>unitils-dbmaintainer
</artifactId>
213 <version>${unitils.version}
</version>
217 <groupId>org.hibernate
</groupId>
218 <artifactId>hibernate
</artifactId>
223 <groupId>org.unitils
</groupId>
224 <artifactId>unitils-dbunit
</artifactId>
225 <version>${unitils.version}
</version>
229 <groupId>org.springframework
</groupId>
230 <artifactId>spring-core
</artifactId>
233 <groupId>org.springframework
</groupId>
234 <artifactId>spring-jdbc
</artifactId>
237 <groupId>org.springframework
</groupId>
238 <artifactId>spring-beans
</artifactId>
243 <groupId>org.unitils
</groupId>
244 <artifactId>unitils-easymock
</artifactId>
245 <version>${unitils.version}
</version>
249 <groupId>org.unitils
</groupId>
250 <artifactId>unitils-mock
</artifactId>
251 <version>${unitils.version}
</version>
255 <groupId>org.unitils
</groupId>
256 <artifactId>unitils-inject
</artifactId>
257 <version>${unitils.version}
</version>
261 <groupId>org.unitils
</groupId>
262 <artifactId>unitils-orm
</artifactId>
263 <version>${unitils.version}
</version>
267 <groupId>org.springframework
</groupId>
268 <artifactId>spring-context
</artifactId>
271 <groupId>org.springframework
</groupId>
272 <artifactId>spring-orm
</artifactId>
275 <groupId>javax.persistence
</groupId>
276 <artifactId>persistence-api
</artifactId>
281 <groupId>org.unitils
</groupId>
282 <artifactId>unitils-spring
</artifactId>
283 <version>${unitils.version}
</version>
287 <groupId>org.springframework
</groupId>
288 <artifactId>spring-core
</artifactId>
291 <groupId>org.springframework
</groupId>
292 <artifactId>spring-context
</artifactId>
295 <groupId>org.springframework
</groupId>
296 <artifactId>spring-beans
</artifactId>
299 <groupId>org.springframework
</groupId>
300 <artifactId>spring-test
</artifactId>
303 <groupId>org.springframework
</groupId>
304 <artifactId>spring-tx
</artifactId>
309 <groupId>org.easymock
</groupId>
310 <artifactId>easymock
</artifactId>
311 <version>3.1</version>
315 <groupId>xmlunit
</groupId>
316 <artifactId>xmlunit
</artifactId>
317 <version>1.4</version>
321 <groupId>org.dbunit
</groupId>
322 <artifactId>dbunit
</artifactId>
323 <version>2.4.9</version>
327 <groupId>commons-dbcp
</groupId>
328 <artifactId>commons-dbcp
</artifactId>
329 <version>1.4</version>
332 <!-- unitils dependencies - end -->
335 <groupId>org.slf4j
</groupId>
336 <artifactId>slf4j-log4j12
</artifactId>
337 <version>1.7.2</version>
338 <scope>provided
</scope>
341 <groupId>org.slf4j
</groupId>
342 <artifactId>slf4j-api
</artifactId>
343 <version>1.7.2</version>
344 <scope>provided
</scope>
351 <groupId>org.apache.maven.plugins
</groupId>
352 <artifactId>maven-compiler-plugin
</artifactId>
358 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
359 <!-- directory is cleaned properly -->
361 <artifactId>maven-clean-plugin
</artifactId>
362 <version>2.4.1</version>
366 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
372 <groupId>org.apache.maven.plugins
</groupId>
373 <artifactId>maven-war-plugin
</artifactId>
374 <version>2.2</version>
376 <failOnMissingWebXml>false
</failOnMissingWebXml>
380 <groupId>com.vaadin
</groupId>
381 <artifactId>vaadin-maven-plugin
</artifactId>
382 <version>${vaadin.plugin.version}
</version>
384 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
385 <!-- <runTarget>mobilemail</runTarget> -->
386 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets. This
387 way compatible with Vaadin eclipse plugin. -->
388 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
390 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
392 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
393 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
394 <deploy>${project.build.directory}/gwt-deploy
</deploy>
395 <!-- Compile report is not typically needed either, saves hunreds of
397 <compileReport>false
</compileReport>
398 <noServer>true
</noServer>
399 <!-- Remove draftCompile when project is ready -->
400 <draftCompile>false
</draftCompile>
403 <strict>true
</strict>
404 <runTarget>http://localhost:
8080/
</runTarget>
409 <!-- if you don't specify any modules, the plugin will find them -->
410 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
415 <goal>resources
</goal>
416 <goal>update-theme
</goal>
417 <goal>update-widgetset
</goal>
418 <goal>compile-theme
</goal>
426 <groupId>org.eclipse.jetty
</groupId>
427 <artifactId>jetty-maven-plugin
</artifactId>
428 <version>9.2.3.v20140905
</version>
430 <scanIntervalSeconds>10</scanIntervalSeconds>
431 <stopPort>8005</stopPort>
432 <stopKey>STOP
</stopKey>
433 <useProvidedScope>true
</useProvidedScope>
435 <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml
</descriptor>
441 <phase>pre-integration-test
</phase>
446 <scanIntervalSeconds>0</scanIntervalSeconds>
447 <daemon>true
</daemon>
452 <phase>post-integration-test
</phase>
461 <groupId>org.apache.maven.plugins
</groupId>
462 <artifactId>maven-failsafe-plugin
</artifactId>
463 <version>2.17</version>
465 <!-- Remove the skipTests line below to run TestBench tests -->
466 <!-- <skipTests>true</skipTests> -->
471 <goal>integration-test
</goal>
483 <artifactId>maven-eclipse-plugin
</artifactId>
485 <wtpversion>2.0</wtpversion>
486 <additionalProjectnatures>
487 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
488 </additionalProjectnatures>
489 <additionalBuildcommands>
490 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
491 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
492 </additionalBuildcommands>