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.1-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
>${project.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>
65 <distributionManagement>
67 <uniqueVersion>false
</uniqueVersion>
68 <id>wp5.e-taxonomy.eu
</id>
69 <name>Edit Maven Repository
</name>
70 <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/
</url>
71 <layout>default
</layout>
73 </distributionManagement>
76 <groupId>com.vaadin
</groupId>
77 <artifactId>vaadin-server
</artifactId>
78 <version>${vaadin.version}
</version>
81 <groupId>com.vaadin
</groupId>
82 <artifactId>vaadin-client-compiled
</artifactId>
83 <version>${vaadin.version}
</version>
85 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
86 For widgetset compilation, vaadin-client-compiler is automatically added
87 on the compilation classpath by vaadin-maven-plugin so normally there is
88 no need for an explicit dependency. -->
89 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
90 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
92 <groupId>com.vaadin
</groupId>
93 <artifactId>vaadin-client
</artifactId>
94 <version>${vaadin.version}
</version>
95 <scope>provided
</scope>
97 <!-- disabling push for the moment because it does not work with run-jetty-run
98 due to the fact that the latest (even nightly) version of run-jetty-run uses
99 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
100 included in this pom which is 9.2.5.xx, implying that enabling the dependency
101 and running the web app via 'mvn jetty:run' works fine. -->
102 <!-- <dependency> -->
103 <!-- <groupId>com.vaadin</groupId> -->
104 <!-- <artifactId>vaadin-push</artifactId> -->
105 <!-- <version>${vaadin.version}</version> -->
106 <!-- </dependency> -->
108 <groupId>com.vaadin
</groupId>
109 <artifactId>vaadin-themes
</artifactId>
110 <version>${vaadin.version}
</version>
113 <groupId>javax.servlet
</groupId>
114 <artifactId>javax.servlet-api
</artifactId>
115 <version>3.1.0</version>
116 <scope>provided
</scope>
119 <groupId>com.vaadin
</groupId>
120 <artifactId>vaadin-testbench-api
</artifactId>
121 <version>RELEASE
</version>
125 <groupId>eu.etaxonomy
</groupId>
126 <artifactId>cdmlib-services
</artifactId>
127 <version>${cdmlib.version}
</version>
128 <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>
147 <groupId>org.springmodules
</groupId>
148 <artifactId>spring-modules-cache
</artifactId>
149 <version>0.7</version>
152 <groupId>org.springframework
</groupId>
153 <artifactId>spring
</artifactId>
156 <groupId>org.springframework
</groupId>
157 <artifactId>spring-mock
</artifactId>
160 <scope>provided
</scope>
163 <groupId>com.thoughtworks.xstream
</groupId>
164 <artifactId>xstream
</artifactId>
165 <version>1.4.4</version>
166 <scope>provided
</scope>
169 <groupId>org.springframework
</groupId>
170 <artifactId>spring-mock
</artifactId>
171 <version>2.0.8</version>
172 <scope>provided
</scope>
175 <groupId>org.springframework
</groupId>
176 <artifactId>spring-context-support
</artifactId>
177 <version>3.2.2.RELEASE
</version>
178 <scope>provided
</scope>
181 <groupId>org.springframework
</groupId>
182 <artifactId>org.springframework.web
</artifactId>
183 <version>3.2.2.RELEASE
</version>
184 <scope>provided
</scope>
187 <groupId>org.springframework
</groupId>
188 <artifactId>org.springframework.web.servlet
</artifactId>
189 <version>3.2.2.RELEASE
</version>
190 <scope>provided
</scope>
193 <groupId>junit
</groupId>
194 <artifactId>junit
</artifactId>
195 <version>4.11</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 -->
344 <groupId>org.slf4j
</groupId>
345 <artifactId>slf4j-log4j12
</artifactId>
346 <version>1.7.2</version>
347 <scope>provided
</scope>
350 <groupId>org.slf4j
</groupId>
351 <artifactId>slf4j-api
</artifactId>
352 <version>1.7.2</version>
353 <scope>provided
</scope>
360 <groupId>org.apache.maven.plugins
</groupId>
361 <artifactId>maven-compiler-plugin
</artifactId>
367 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
368 <!-- directory is cleaned properly -->
370 <artifactId>maven-clean-plugin
</artifactId>
371 <version>2.4.1</version>
375 <directory>src/main/webapp/VAADIN/widgetsets
</directory>
381 <groupId>org.apache.maven.plugins
</groupId>
382 <artifactId>maven-war-plugin
</artifactId>
383 <version>2.2</version>
385 <failOnMissingWebXml>false
</failOnMissingWebXml>
386 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*
</warSourceExcludes>
390 <groupId>com.vaadin
</groupId>
391 <artifactId>vaadin-maven-plugin
</artifactId>
392 <version>${vaadin.plugin.version}
</version>
394 <extraJvmArgs>-Xmx512M -Xss1024k
</extraJvmArgs>
395 <!-- <runTarget>mobilemail</runTarget> -->
396 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets. This
397 way compatible with Vaadin eclipse plugin. -->
398 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
400 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
402 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
403 <persistentunitcachedir>${project.build.directory}
</persistentunitcachedir>
404 <deploy>${project.build.directory}/gwt-deploy
</deploy>
405 <!-- Compile report is not typically needed either, saves hunreds of
407 <compileReport>false
</compileReport>
408 <noServer>true
</noServer>
409 <!-- Remove draftCompile when project is ready -->
410 <draftCompile>false
</draftCompile>
413 <strict>true
</strict>
414 <runTarget>http://localhost:
8080/
</runTarget>
419 <!-- if you don't specify any modules, the plugin will find them -->
420 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
425 <goal>resources
</goal>
426 <goal>update-theme
</goal>
427 <goal>update-widgetset
</goal>
428 <goal>compile-theme
</goal>
436 <!-- <groupId>org.eclipse.jetty</groupId> -->
437 <!-- <artifactId>jetty-maven-plugin</artifactId> -->
438 <!-- <version>9.2.3.v20140905</version> -->
439 <!-- <configuration> -->
440 <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
441 <!-- <stopPort>8005</stopPort> -->
442 <!-- <stopKey>STOP</stopKey> -->
443 <!-- <useProvidedScope>true</useProvidedScope> -->
445 <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
447 <!-- </configuration> -->
448 <!-- <executions> -->
450 <!-- <id>start-jetty</id> -->
451 <!-- <phase>pre-integration-test</phase> -->
453 <!-- <goal>start</goal> -->
455 <!-- <configuration> -->
456 <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
457 <!-- <daemon>true</daemon> -->
458 <!-- </configuration> -->
459 <!-- </execution> -->
461 <!-- <id>stop-jetty</id> -->
462 <!-- <phase>post-integration-test</phase> -->
464 <!-- <goal>stop</goal> -->
466 <!-- </execution> -->
467 <!-- </executions> -->
471 <groupId>org.apache.maven.plugins
</groupId>
472 <artifactId>maven-failsafe-plugin
</artifactId>
473 <version>2.17</version>
475 <!-- Remove the skipTests line below to run TestBench tests -->
476 <!-- <skipTests>true</skipTests> -->
481 <goal>integration-test
</goal>
491 <groupId>org.apache.maven.wagon
</groupId>
492 <artifactId>wagon-scm
</artifactId>
493 <version>1.0-beta-
6</version>
496 <groupId>org.apache.maven.wagon
</groupId>
497 <artifactId>wagon-ssh
</artifactId>
498 <version>1.0-beta-
6</version>
501 <groupId>org.apache.maven.wagon
</groupId>
502 <artifactId>wagon-ssh-external
</artifactId>
503 <version>1.0-beta-
6</version>
506 <groupId>org.apache.maven.scm
</groupId>
507 <artifactId>maven-scm-manager-plexus
</artifactId>
508 <version>1.0</version>
511 <groupId>org.apache.maven.scm
</groupId>
512 <artifactId>maven-scm-provider-svnexe
</artifactId>
513 <version>1.0</version>
515 <!-- WebDAV plugin to upload snapshots -->
517 <groupId>org.apache.maven.wagon
</groupId>
518 <artifactId>wagon-webdav
</artifactId>
519 <version>1.0-beta-
2</version>
525 <artifactId>maven-eclipse-plugin
</artifactId>
527 <wtpversion>2.0</wtpversion>
528 <additionalProjectnatures>
529 <projectnature>com.vaadin.integration.eclipse.widgetsetNature
</projectnature>
530 </additionalProjectnatures>
531 <additionalBuildcommands>
532 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder
</buildcommand>
533 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder
</buildcommand>
534 </additionalBuildcommands>