Added SQL-Container to DB-Status App
[cdm-vaadin.git] / pom.xml
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.5.1-SNAPSHOT</version>
9 <name>Vaadin Web Application</name>
10
11 <properties>
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.4.2</unitils.version>
17 <spring.version>3.2.2.RELEASE</spring.version>
18 </properties>
19 <repositories>
20 <!-- the cdm internal repository -->
21 <repository>
22 <id>EditRepository</id>
23 <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
24 </repository>
25 <!-- current spring source repositories -->
26 <repository>
27 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
28 <url>http://repository.springsource.com/maven/bundles/milestone</url>
29 </repository>
30 <repository>
31 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
32 <url>http://repository.springsource.com/maven/bundles/release</url>
33 </repository>
34 <repository>
35 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
36 <url>http://repository.springsource.com/maven/bundles/external</url>
37 </repository>
38 <repository>
39 <id>vaadin-addons</id>
40 <url>http://maven.vaadin.com/vaadin-addons</url>
41 </repository>
42
43 <repository>
44 <id>vaadin-snapshots</id>
45 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
46 <releases>
47 <enabled>false</enabled>
48 </releases>
49 <snapshots>
50 <enabled>true</enabled>
51 </snapshots>
52 </repository>
53 </repositories>
54 <pluginRepositories>
55 <pluginRepository>
56 <id>vaadin-snapshots</id>
57 <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
58 <releases>
59 <enabled>false</enabled>
60 </releases>
61 <snapshots>
62 <enabled>true</enabled>
63 </snapshots>
64 </pluginRepository>
65 </pluginRepositories>
66 <distributionManagement>
67 <repository>
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>
73 </repository>
74 </distributionManagement>
75 <dependencies>
76 <dependency>
77 <groupId>com.vaadin</groupId>
78 <artifactId>vaadin-server</artifactId>
79 <version>${vaadin.version}</version>
80 </dependency>
81 <dependency>
82 <groupId>com.vaadin</groupId>
83 <artifactId>vaadin-client-compiled</artifactId>
84 <version>${vaadin.version}</version>
85 </dependency>
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> -->
92 <dependency>
93 <groupId>com.vaadin</groupId>
94 <artifactId>vaadin-client</artifactId>
95 <version>${vaadin.version}</version>
96 <scope>provided</scope>
97 </dependency>
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> -->
108 <dependency>
109 <groupId>com.vaadin</groupId>
110 <artifactId>vaadin-themes</artifactId>
111 <version>${vaadin.version}</version>
112 </dependency>
113 <dependency>
114 <groupId>javax.servlet</groupId>
115 <artifactId>javax.servlet-api</artifactId>
116 <version>3.1.0</version>
117 <scope>provided</scope>
118 </dependency>
119 <dependency>
120 <groupId>com.vaadin</groupId>
121 <artifactId>vaadin-testbench-api</artifactId>
122 <version>RELEASE</version>
123 <scope>test</scope>
124 </dependency>
125 <dependency>
126 <groupId>eu.etaxonomy</groupId>
127 <artifactId>cdmlib-services</artifactId>
128 <version>${cdmlib.version}</version>
129 <scope>provided</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>eu.etaxonomy</groupId>
134 <artifactId>cdmlib-model</artifactId>
135 <version>${cdmlib.version}</version>
136 <scope>provided</scope>
137 </dependency>
138 <dependency>
139 <groupId>eu.etaxonomy</groupId>
140 <artifactId>cdmlib-persistence</artifactId>
141 <type>test-jar</type>
142 <scope>test</scope>
143 <version>${cdmlib.version}</version>
144 </dependency>
145
146
147 <dependency>
148 <groupId>org.springmodules</groupId>
149 <artifactId>spring-modules-cache</artifactId>
150 <version>0.7</version>
151 <exclusions>
152 <exclusion>
153 <groupId>org.springframework</groupId>
154 <artifactId>spring</artifactId>
155 </exclusion>
156 <exclusion>
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-mock</artifactId>
159 </exclusion>
160 </exclusions>
161 <scope>provided</scope>
162 </dependency>
163 <dependency>
164 <groupId>com.thoughtworks.xstream</groupId>
165 <artifactId>xstream</artifactId>
166 <version>1.4.4</version>
167 <scope>provided</scope>
168 </dependency>
169 <dependency>
170 <groupId>org.springframework</groupId>
171 <artifactId>spring-mock</artifactId>
172 <version>2.0.8</version>
173 <scope>provided</scope>
174 </dependency>
175 <dependency>
176 <groupId>org.springframework</groupId>
177 <artifactId>spring-context-support</artifactId>
178 <version>${spring.version}</version>
179 <scope>provided</scope>
180 </dependency>
181 <dependency>
182 <groupId>org.springframework</groupId>
183 <artifactId>org.springframework.web</artifactId>
184 <version>${spring.version}</version>
185 <scope>provided</scope>
186 </dependency>
187 <dependency>
188 <groupId>org.springframework</groupId>
189 <artifactId>org.springframework.web.servlet</artifactId>
190 <version>${spring.version}</version>
191 <scope>provided</scope>
192 </dependency>
193 <dependency>
194 <groupId>junit</groupId>
195 <artifactId>junit</artifactId>
196 <version>4.11</version>
197 <scope>test</scope>
198 </dependency>
199
200
201 <!-- unitils dependencies - start -->
202 <dependency>
203 <groupId>org.unitils</groupId>
204 <artifactId>unitils-core</artifactId>
205 <version>${unitils.version}</version>
206 <scope>test</scope>
207 </dependency>
208 <dependency>
209 <groupId>org.unitils</groupId>
210 <artifactId>unitils-database</artifactId>
211 <version>${unitils.version}</version>
212 <scope>test</scope>
213 <exclusions>
214 <exclusion>
215 <groupId>org.springframework</groupId>
216 <artifactId>spring-jdbc</artifactId>
217 </exclusion>
218 </exclusions>
219 </dependency>
220 <dependency>
221 <groupId>org.unitils</groupId>
222 <artifactId>unitils-dbmaintainer</artifactId>
223 <version>${unitils.version}</version>
224 <scope>test</scope>
225 <exclusions>
226 <exclusion>
227 <groupId>org.hibernate</groupId>
228 <artifactId>hibernate</artifactId>
229 </exclusion>
230 </exclusions>
231 </dependency>
232 <dependency>
233 <groupId>org.unitils</groupId>
234 <artifactId>unitils-dbunit</artifactId>
235 <version>${unitils.version}</version>
236 <scope>test</scope>
237 <exclusions>
238 <exclusion>
239 <groupId>org.springframework</groupId>
240 <artifactId>spring-core</artifactId>
241 </exclusion>
242 <exclusion>
243 <groupId>org.springframework</groupId>
244 <artifactId>spring-jdbc</artifactId>
245 </exclusion>
246 <exclusion>
247 <groupId>org.springframework</groupId>
248 <artifactId>spring-beans</artifactId>
249 </exclusion>
250 </exclusions>
251 </dependency>
252 <dependency>
253 <groupId>org.unitils</groupId>
254 <artifactId>unitils-easymock</artifactId>
255 <version>${unitils.version}</version>
256 <scope>test</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.unitils</groupId>
260 <artifactId>unitils-mock</artifactId>
261 <version>${unitils.version}</version>
262 <scope>test</scope>
263 </dependency>
264 <dependency>
265 <groupId>org.unitils</groupId>
266 <artifactId>unitils-inject</artifactId>
267 <version>${unitils.version}</version>
268 <scope>test</scope>
269 </dependency>
270 <dependency>
271 <groupId>org.unitils</groupId>
272 <artifactId>unitils-orm</artifactId>
273 <version>${unitils.version}</version>
274 <scope>test</scope>
275 <exclusions>
276 <exclusion>
277 <groupId>org.springframework</groupId>
278 <artifactId>spring-context</artifactId>
279 </exclusion>
280 <exclusion>
281 <groupId>org.springframework</groupId>
282 <artifactId>spring-orm</artifactId>
283 </exclusion>
284 <exclusion>
285 <groupId>javax.persistence</groupId>
286 <artifactId>persistence-api</artifactId>
287 </exclusion>
288 </exclusions>
289 </dependency>
290 <dependency>
291 <groupId>org.unitils</groupId>
292 <artifactId>unitils-spring</artifactId>
293 <version>${unitils.version}</version>
294 <scope>test</scope>
295 <exclusions>
296 <exclusion>
297 <groupId>org.springframework</groupId>
298 <artifactId>spring-core</artifactId>
299 </exclusion>
300 <exclusion>
301 <groupId>org.springframework</groupId>
302 <artifactId>spring-context</artifactId>
303 </exclusion>
304 <exclusion>
305 <groupId>org.springframework</groupId>
306 <artifactId>spring-beans</artifactId>
307 </exclusion>
308 <exclusion>
309 <groupId>org.springframework</groupId>
310 <artifactId>spring-test</artifactId>
311 </exclusion>
312 <exclusion>
313 <groupId>org.springframework</groupId>
314 <artifactId>spring-tx</artifactId>
315 </exclusion>
316 </exclusions>
317 </dependency>
318 <dependency>
319 <groupId>org.easymock</groupId>
320 <artifactId>easymock</artifactId>
321 <version>3.1</version>
322 <scope>test</scope>
323 </dependency>
324 <dependency>
325 <groupId>xmlunit</groupId>
326 <artifactId>xmlunit</artifactId>
327 <version>1.4</version>
328 <scope>test</scope>
329 </dependency>
330 <dependency>
331 <groupId>org.dbunit</groupId>
332 <artifactId>dbunit</artifactId>
333 <version>2.4.9</version>
334 <scope>test</scope>
335 </dependency>
336 <dependency>
337 <groupId>commons-dbcp</groupId>
338 <artifactId>commons-dbcp</artifactId>
339 <version>1.4</version>
340 <scope>test</scope>
341 </dependency>
342 <!-- unitils dependencies - end -->
343
344 <dependency>
345 <groupId>org.slf4j</groupId>
346 <artifactId>slf4j-log4j12</artifactId>
347 <version>1.7.2</version>
348 <scope>provided</scope>
349 </dependency>
350 <dependency>
351 <groupId>org.slf4j</groupId>
352 <artifactId>slf4j-api</artifactId>
353 <version>1.7.2</version>
354 <scope>provided</scope>
355 </dependency>
356 <dependency>
357 <groupId>p6spy</groupId>
358 <artifactId>p6spy</artifactId>
359 <version>2.1.3</version>
360 <scope>test</scope>
361 </dependency>
362
363
364
365 </dependencies>
366
367 <build>
368 <plugins>
369 <plugin>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-compiler-plugin</artifactId>
372 <configuration>
373 <source>1.6</source>
374 <target>1.6</target>
375 </configuration>
376 </plugin>
377 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
378 <!-- directory is cleaned properly -->
379 <plugin>
380 <artifactId>maven-clean-plugin</artifactId>
381 <version>2.4.1</version>
382 <configuration>
383 <filesets>
384 <fileset>
385 <directory>src/main/webapp/VAADIN/widgetsets</directory>
386 </fileset>
387 </filesets>
388 </configuration>
389 </plugin>
390 <plugin>
391 <groupId>org.apache.maven.plugins</groupId>
392 <artifactId>maven-war-plugin</artifactId>
393 <version>2.2</version>
394 <configuration>
395 <failOnMissingWebXml>false</failOnMissingWebXml>
396 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*</warSourceExcludes>
397 </configuration>
398 </plugin>
399 <plugin>
400 <groupId>com.vaadin</groupId>
401 <artifactId>vaadin-maven-plugin</artifactId>
402 <version>${vaadin.plugin.version}</version>
403 <configuration>
404 <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
405 <!-- <runTarget>mobilemail</runTarget> -->
406 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
407 This way compatible with Vaadin eclipse plugin. -->
408 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
409 </webappDirectory>
410 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
411 </hostedWebapp>
412 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
413 <persistentunitcachedir>${project.build.directory}</persistentunitcachedir>
414 <deploy>${project.build.directory}/gwt-deploy</deploy>
415 <!-- Compile report is not typically needed either, saves hunreds
416 of mb disk -->
417 <compileReport>false</compileReport>
418 <noServer>true</noServer>
419 <!-- Remove draftCompile when project is ready -->
420 <draftCompile>false</draftCompile>
421
422 <style>OBF</style>
423 <strict>true</strict>
424 <runTarget>http://localhost:8080/</runTarget>
425 </configuration>
426 <executions>
427 <execution>
428 <configuration>
429 <!-- if you don't specify any modules, the plugin will find
430 them -->
431 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
432 </modules> -->
433 </configuration>
434 <goals>
435 <goal>clean</goal>
436 <goal>resources</goal>
437 <goal>update-theme</goal>
438 <goal>update-widgetset</goal>
439 <goal>compile-theme</goal>
440 <goal>compile</goal>
441 </goals>
442 </execution>
443 </executions>
444 </plugin>
445
446 <!-- <plugin> -->
447 <!-- <groupId>org.eclipse.jetty</groupId> -->
448 <!-- <artifactId>jetty-maven-plugin</artifactId> -->
449 <!-- <version>9.2.3.v20140905</version> -->
450 <!-- <configuration> -->
451 <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
452 <!-- <stopPort>8005</stopPort> -->
453 <!-- <stopKey>STOP</stopKey> -->
454 <!-- <useProvidedScope>true</useProvidedScope> -->
455 <!-- <webApp> -->
456 <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
457 <!-- </webApp> -->
458 <!-- </configuration> -->
459 <!-- <executions> -->
460 <!-- <execution> -->
461 <!-- <id>start-jetty</id> -->
462 <!-- <phase>pre-integration-test</phase> -->
463 <!-- <goals> -->
464 <!-- <goal>start</goal> -->
465 <!-- </goals> -->
466 <!-- <configuration> -->
467 <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
468 <!-- <daemon>true</daemon> -->
469 <!-- </configuration> -->
470 <!-- </execution> -->
471 <!-- <execution> -->
472 <!-- <id>stop-jetty</id> -->
473 <!-- <phase>post-integration-test</phase> -->
474 <!-- <goals> -->
475 <!-- <goal>stop</goal> -->
476 <!-- </goals> -->
477 <!-- </execution> -->
478 <!-- </executions> -->
479 <!-- </plugin> -->
480
481 <plugin>
482 <groupId>org.apache.maven.plugins</groupId>
483 <artifactId>maven-failsafe-plugin</artifactId>
484 <version>2.17</version>
485 <configuration>
486 <!-- Remove the skipTests line below to run TestBench tests -->
487 <!-- <skipTests>true</skipTests> -->
488 </configuration>
489 <executions>
490 <execution>
491 <goals>
492 <goal>integration-test</goal>
493 <goal>verify</goal>
494 </goals>
495 </execution>
496 </executions>
497 </plugin>
498
499 </plugins>
500 <extensions>
501 <extension>
502 <groupId>org.apache.maven.wagon</groupId>
503 <artifactId>wagon-scm</artifactId>
504 <version>1.0-beta-6</version>
505 </extension>
506 <extension>
507 <groupId>org.apache.maven.wagon</groupId>
508 <artifactId>wagon-ssh</artifactId>
509 <version>1.0-beta-6</version>
510 </extension>
511 <extension>
512 <groupId>org.apache.maven.wagon</groupId>
513 <artifactId>wagon-ssh-external</artifactId>
514 <version>1.0-beta-6</version>
515 </extension>
516 <extension>
517 <groupId>org.apache.maven.scm</groupId>
518 <artifactId>maven-scm-manager-plexus</artifactId>
519 <version>1.0</version>
520 </extension>
521 <extension>
522 <groupId>org.apache.maven.scm</groupId>
523 <artifactId>maven-scm-provider-svnexe</artifactId>
524 <version>1.0</version>
525 </extension>
526 <!-- WebDAV plugin to upload snapshots -->
527 <extension>
528 <groupId>org.apache.maven.wagon</groupId>
529 <artifactId>wagon-webdav</artifactId>
530 <version>1.0-beta-2</version>
531 </extension>
532 </extensions>
533 <pluginManagement>
534 <plugins>
535 <plugin>
536 <artifactId>maven-eclipse-plugin</artifactId>
537 <configuration>
538 <wtpversion>2.0</wtpversion>
539 <additionalProjectnatures>
540 <projectnature>com.vaadin.integration.eclipse.widgetsetNature</projectnature>
541 </additionalProjectnatures>
542 <additionalBuildcommands>
543 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder</buildcommand>
544 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder</buildcommand>
545 </additionalBuildcommands>
546 </configuration>
547 </plugin>
548 </plugins>
549 </pluginManagement>
550 </build>
551 </project>