jenkins bumping cdmlib.version to 4.1.0-SNAPSHOT
[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" 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.1.0-SNAPSHOT</version>
8 <name>Vaadin Web Application</name>
9 <properties>
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.1.0-SNAPSHOT</cdmlib.version>
14 <unitils.version>3.4.2</unitils.version>
15 <spring.version>4.2.4.RELEASE</spring.version>
16 </properties>
17 <prerequisites>
18 <maven>3.0.5</maven>
19 </prerequisites>
20 <repositories>
21 <!-- the cdm internal repository -->
22 <repository>
23 <id>EditRepository</id>
24 <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
25 </repository>
26 <!-- current spring source repositories -->
27 <repository>
28 <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
29 <url>http://repository.springsource.com/maven/bundles/milestone</url>
30 </repository>
31 <repository>
32 <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
33 <url>http://repository.springsource.com/maven/bundles/release</url>
34 </repository>
35 <repository>
36 <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
37 <url>http://repository.springsource.com/maven/bundles/external</url>
38 </repository>
39 <repository>
40 <id>vaadin-addons</id>
41 <url>http://maven.vaadin.com/vaadin-addons</url>
42 </repository>
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 <profiles>
76 <profile>
77 <activation>
78 <property>
79 <name>align-cdmlib-version</name>
80 </property>
81 </activation>
82 <build>
83 <plugins>
84 <plugin>
85 <groupId>com.google.code.maven-replacer-plugin</groupId>
86 <artifactId>replacer</artifactId>
87 <version>1.5.3</version>
88 <executions>
89 <execution>
90 <phase>process-sources</phase>
91 <goals>
92 <goal>replace</goal>
93 </goals>
94 </execution>
95 </executions>
96 <configuration>
97 <file>pom.xml</file>
98 <!-- \u003C = < , \u003E = > -->
99 <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*</token>
100 <value>$1${project.version}</value>
101 </configuration>
102 </plugin>
103 </plugins>
104 </build>
105 </profile>
106 </profiles>
107 <build>
108 <plugins>
109 <plugin>
110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-compiler-plugin</artifactId>
112 <version>3.3</version>
113 <configuration>
114 <source>1.7</source>
115 <target>1.7</target>
116 <encoding>UTF-8</encoding>
117 </configuration>
118 </plugin>
119 <plugin>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-surefire-plugin</artifactId>
122 <configuration>
123 <argLine>-Xms256m -Xmx512m</argLine>
124 </configuration>
125 </plugin>
126 <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
127 <!-- directory is cleaned properly -->
128 <plugin>
129 <artifactId>maven-clean-plugin</artifactId>
130 <version>2.4.1</version>
131 <configuration>
132 <filesets>
133 <fileset>
134 <directory>src/main/webapp/VAADIN/widgetsets</directory>
135 </fileset>
136 </filesets>
137 </configuration>
138 </plugin>
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-war-plugin</artifactId>
142 <version>2.2</version>
143 <configuration>
144 <failOnMissingWebXml>false</failOnMissingWebXml>
145 <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*</warSourceExcludes>
146 </configuration>
147 </plugin>
148 <plugin>
149 <groupId>com.vaadin</groupId>
150 <artifactId>vaadin-maven-plugin</artifactId>
151 <version>${vaadin.plugin.version}</version>
152 <configuration>
153 <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
154 <!-- <runTarget>mobilemail</runTarget> -->
155 <!-- We are doing "inplace" but into subdir VAADIN/widgetsets.
156 This way compatible with Vaadin eclipse plugin. -->
157 <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
158 </webappDirectory>
159 <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
160 </hostedWebapp>
161 <!-- Most Vaadin apps don't need this stuff, guide that to target -->
162 <persistentunitcachedir>${project.build.directory}</persistentunitcachedir>
163 <deploy>${project.build.directory}/gwt-deploy</deploy>
164 <!-- Compile report is not typically needed either, saves hunreds
165 of mb disk -->
166 <compileReport>false</compileReport>
167 <noServer>true</noServer>
168 <!-- Remove draftCompile when project is ready -->
169 <draftCompile>false</draftCompile>
170 <style>OBF</style>
171 <strict>true</strict>
172 <runTarget>http://localhost:8080/</runTarget>
173 </configuration>
174 <executions>
175 <execution>
176 <configuration>
177 <!-- if you don't specify any modules, the plugin will find
178 them -->
179 <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module>
180 </modules> -->
181 </configuration>
182 <goals>
183 <goal>clean</goal>
184 <goal>resources</goal>
185 <goal>update-theme</goal>
186 <goal>update-widgetset</goal>
187 <goal>compile-theme</goal>
188 <goal>compile</goal>
189 </goals>
190 </execution>
191 </executions>
192 </plugin>
193 <!-- <plugin> -->
194 <!-- <groupId>org.eclipse.jetty</groupId> -->
195 <!-- <artifactId>jetty-maven-plugin</artifactId> -->
196 <!-- <version>9.2.3.v20140905</version> -->
197 <!-- <configuration> -->
198 <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
199 <!-- <stopPort>8005</stopPort> -->
200 <!-- <stopKey>STOP</stopKey> -->
201 <!-- <useProvidedScope>true</useProvidedScope> -->
202 <!-- <webApp> -->
203 <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
204 <!-- </webApp> -->
205 <!-- </configuration> -->
206 <!-- <executions> -->
207 <!-- <execution> -->
208 <!-- <id>start-jetty</id> -->
209 <!-- <phase>pre-integration-test</phase> -->
210 <!-- <goals> -->
211 <!-- <goal>start</goal> -->
212 <!-- </goals> -->
213 <!-- <configuration> -->
214 <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
215 <!-- <daemon>true</daemon> -->
216 <!-- </configuration> -->
217 <!-- </execution> -->
218 <!-- <execution> -->
219 <!-- <id>stop-jetty</id> -->
220 <!-- <phase>post-integration-test</phase> -->
221 <!-- <goals> -->
222 <!-- <goal>stop</goal> -->
223 <!-- </goals> -->
224 <!-- </execution> -->
225 <!-- </executions> -->
226 <!-- </plugin> -->
227 <plugin>
228 <groupId>org.apache.maven.plugins</groupId>
229 <artifactId>maven-failsafe-plugin</artifactId>
230 <version>2.17</version>
231 <configuration>
232 <!-- Remove the skipTests line below to run TestBench tests -->
233 <!-- <skipTests>true</skipTests> -->
234 </configuration>
235 <executions>
236 <execution>
237 <goals>
238 <goal>integration-test</goal>
239 <goal>verify</goal>
240 </goals>
241 </execution>
242 </executions>
243 </plugin>
244 <plugin>
245 <groupId>external.atlassian.jgitflow</groupId>
246 <artifactId>jgitflow-maven-plugin</artifactId>
247 <version>1.0-m6</version>
248 <configuration>
249 <pushHotfixes>true</pushHotfixes>
250 <pushReleases>true</pushReleases>
251 <enableSshAgent>true</enableSshAgent>
252 <allowSnapshots>true</allowSnapshots>
253 <allowUntracked>true</allowUntracked>
254 </configuration>
255 <dependencies>
256 <!--
257 upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53
258 in order have ssl key exchange algorithms compatible with openssh 6.7
259 -->
260 <dependency>
261 <groupId>com.jcraft</groupId>
262 <artifactId>jsch</artifactId>
263 <version>0.1.53</version>
264 </dependency>
265 </dependencies>
266 </plugin>
267 </plugins>
268 <extensions>
269 <extension>
270 <groupId>org.apache.maven.wagon</groupId>
271 <artifactId>wagon-scm</artifactId>
272 <version>1.0-beta-6</version>
273 </extension>
274 <extension>
275 <groupId>org.apache.maven.wagon</groupId>
276 <artifactId>wagon-ssh</artifactId>
277 <version>1.0-beta-6</version>
278 </extension>
279 <extension>
280 <groupId>org.apache.maven.wagon</groupId>
281 <artifactId>wagon-ssh-external</artifactId>
282 <version>1.0-beta-6</version>
283 </extension>
284 <extension>
285 <groupId>org.apache.maven.scm</groupId>
286 <artifactId>maven-scm-manager-plexus</artifactId>
287 <version>1.0</version>
288 </extension>
289 <extension>
290 <groupId>org.apache.maven.scm</groupId>
291 <artifactId>maven-scm-provider-svnexe</artifactId>
292 <version>1.0</version>
293 </extension>
294 <!-- WebDAV plugin to upload snapshots -->
295 <extension>
296 <groupId>org.apache.maven.wagon</groupId>
297 <artifactId>wagon-webdav</artifactId>
298 <version>1.0-beta-2</version>
299 </extension>
300 </extensions>
301 <pluginManagement>
302 <plugins>
303 <plugin>
304 <artifactId>maven-eclipse-plugin</artifactId>
305 <configuration>
306 <wtpversion>2.0</wtpversion>
307 <additionalProjectnatures>
308 <projectnature>com.vaadin.integration.eclipse.widgetsetNature</projectnature>
309 </additionalProjectnatures>
310 <additionalBuildcommands>
311 <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder</buildcommand>
312 <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder</buildcommand>
313 </additionalBuildcommands>
314 </configuration>
315 </plugin>
316 </plugins>
317 </pluginManagement>
318 </build>
319 <dependencies>
320 <dependency>
321 <groupId>com.vaadin</groupId>
322 <artifactId>vaadin-server</artifactId>
323 <version>${vaadin.version}</version>
324 </dependency>
325 <dependency>
326 <groupId>com.vaadin</groupId>
327 <artifactId>vaadin-client-compiled</artifactId>
328 <version>${vaadin.version}</version>
329 </dependency>
330 <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory).
331 For widgetset compilation, vaadin-client-compiler is automatically added
332 on the compilation classpath by vaadin-maven-plugin so normally there is
333 no need for an explicit dependency. -->
334 <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId>
335 <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
336 <dependency>
337 <groupId>com.vaadin</groupId>
338 <artifactId>vaadin-client</artifactId>
339 <version>${vaadin.version}</version>
340 <scope>provided</scope>
341 </dependency>
342 <!-- disabling push for the moment because it does not work with run-jetty-run
343 due to the fact that the latest (even nightly) version of run-jetty-run uses
344 9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty
345 included in this pom which is 9.2.5.xx, implying that enabling the dependency
346 and running the web app via 'mvn jetty:run' works fine. -->
347 <!-- <dependency> -->
348 <!-- <groupId>com.vaadin</groupId> -->
349 <!-- <artifactId>vaadin-push</artifactId> -->
350 <!-- <version>${vaadin.version}</version> -->
351 <!-- </dependency> -->
352 <dependency>
353 <groupId>com.vaadin</groupId>
354 <artifactId>vaadin-themes</artifactId>
355 <version>${vaadin.version}</version>
356 </dependency>
357 <dependency>
358 <groupId>javax.servlet</groupId>
359 <artifactId>javax.servlet-api</artifactId>
360 <version>3.1.0</version>
361 <scope>provided</scope>
362 </dependency>
363 <dependency>
364 <groupId>com.vaadin</groupId>
365 <artifactId>vaadin-testbench-api</artifactId>
366 <version>RELEASE</version>
367 <scope>test</scope>
368 </dependency>
369 <dependency>
370 <groupId>eu.etaxonomy</groupId>
371 <artifactId>cdmlib-services</artifactId>
372 <version>${cdmlib.version}</version>
373
374
375
376
377 <!-- <scope>provided</scope> -->
378 </dependency>
379 <dependency>
380 <groupId>eu.etaxonomy</groupId>
381 <artifactId>cdmlib-test</artifactId>
382 <version>${cdmlib.version}</version>
383 <scope>test</scope>
384 </dependency>
385 <!-- to override version number coming with vaadin client -->
386 <dependency>
387 <groupId>javax.validation</groupId>
388 <artifactId>validation-api</artifactId>
389 <version>1.1.0.Final</version>
390 </dependency>
391 <dependency>
392 <groupId>org.springmodules</groupId>
393 <artifactId>spring-modules-cache</artifactId>
394 <version>0.7</version>
395 <exclusions>
396 <exclusion>
397 <groupId>org.springframework</groupId>
398 <artifactId>spring</artifactId>
399 </exclusion>
400 <exclusion>
401 <groupId>org.springframework</groupId>
402 <artifactId>spring-mock</artifactId>
403 </exclusion>
404 </exclusions>
405 <scope>provided</scope>
406 </dependency>
407 <dependency>
408 <groupId>com.thoughtworks.xstream</groupId>
409 <artifactId>xstream</artifactId>
410 <version>1.4.7</version>
411 <scope>provided</scope>
412 </dependency>
413 <dependency>
414 <groupId>org.springframework</groupId>
415 <artifactId>spring-mock</artifactId>
416 <version>2.0.8</version>
417 <scope>provided</scope>
418 </dependency>
419 <dependency>
420 <groupId>org.springframework</groupId>
421 <artifactId>spring-context-support</artifactId>
422 <version>${spring.version}</version>
423 <scope>provided</scope>
424 </dependency>
425 <dependency>
426 <groupId>org.springframework</groupId>
427 <artifactId>spring-web</artifactId>
428 <version>${spring.version}</version>
429 </dependency>
430 <dependency>
431 <groupId>org.springframework</groupId>
432 <artifactId>spring-webmvc</artifactId>
433 <version>${spring.version}</version>
434 </dependency>
435 <!-- vaadin addons / extensions -->
436 <dependency>
437 <groupId>org.vaadin.addons</groupId>
438 <artifactId>contextmenu</artifactId>
439 <version>4.5</version>
440 </dependency>
441 <dependency>
442 <groupId>junit</groupId>
443 <artifactId>junit</artifactId>
444 <version>4.11</version>
445 <scope>test</scope>
446 </dependency>
447 <!-- unitils dependencies - start -->
448 <!-- <dependency> -->
449 <!-- <groupId>org.unitils</groupId> -->
450 <!-- <artifactId>unitils-core</artifactId> -->
451 <!-- <version>${unitils.version}</version> -->
452 <!-- <scope>test</scope> -->
453 <!-- </dependency> -->
454 <!-- <dependency> -->
455 <!-- <groupId>org.unitils</groupId> -->
456 <!-- <artifactId>unitils-database</artifactId> -->
457 <!-- <version>${unitils.version}</version> -->
458 <!-- <scope>test</scope> -->
459 <!-- <exclusions> -->
460 <!-- <exclusion> -->
461 <!-- <groupId>org.springframework</groupId> -->
462 <!-- <artifactId>spring-jdbc</artifactId> -->
463 <!-- </exclusion> -->
464 <!-- </exclusions> -->
465 <!-- </dependency> -->
466 <!-- <dependency> -->
467 <!-- <groupId>org.unitils</groupId> -->
468 <!-- <artifactId>unitils-dbmaintainer</artifactId> -->
469 <!-- <version>${unitils.version}</version> -->
470 <!-- <scope>test</scope> -->
471 <!-- <exclusions> -->
472 <!-- <exclusion> -->
473 <!-- <groupId>org.hibernate</groupId> -->
474 <!-- <artifactId>hibernate</artifactId> -->
475 <!-- </exclusion> -->
476 <!-- </exclusions> -->
477 <!-- </dependency> -->
478 <!-- <dependency> -->
479 <!-- <groupId>org.unitils</groupId> -->
480 <!-- <artifactId>unitils-dbunit</artifactId> -->
481 <!-- <version>${unitils.version}</version> -->
482 <!-- <scope>test</scope> -->
483 <!-- <exclusions> -->
484 <!-- <exclusion> -->
485 <!-- <groupId>org.springframework</groupId> -->
486 <!-- <artifactId>spring-core</artifactId> -->
487 <!-- </exclusion> -->
488 <!-- <exclusion> -->
489 <!-- <groupId>org.springframework</groupId> -->
490 <!-- <artifactId>spring-jdbc</artifactId> -->
491 <!-- </exclusion> -->
492 <!-- <exclusion> -->
493 <!-- <groupId>org.springframework</groupId> -->
494 <!-- <artifactId>spring-beans</artifactId> -->
495 <!-- </exclusion> -->
496 <!-- </exclusions> -->
497 <!-- </dependency> -->
498 <!-- <dependency> -->
499 <!-- <groupId>org.unitils</groupId> -->
500 <!-- <artifactId>unitils-easymock</artifactId> -->
501 <!-- <version>${unitils.version}</version> -->
502 <!-- <scope>test</scope> -->
503 <!-- </dependency> -->
504 <!-- <dependency> -->
505 <!-- <groupId>org.unitils</groupId> -->
506 <!-- <artifactId>unitils-mock</artifactId> -->
507 <!-- <version>${unitils.version}</version> -->
508 <!-- <scope>test</scope> -->
509 <!-- </dependency> -->
510 <!-- <dependency> -->
511 <!-- <groupId>org.unitils</groupId> -->
512 <!-- <artifactId>unitils-inject</artifactId> -->
513 <!-- <version>${unitils.version}</version> -->
514 <!-- <scope>test</scope> -->
515 <!-- </dependency> -->
516 <!-- <dependency> -->
517 <!-- <groupId>org.unitils</groupId> -->
518 <!-- <artifactId>unitils-orm</artifactId> -->
519 <!-- <version>${unitils.version}</version> -->
520 <!-- <scope>test</scope> -->
521 <!-- <exclusions> -->
522 <!-- <exclusion> -->
523 <!-- <artifactId>*</artifactId> -->
524 <!-- <groupId>org.springframework</groupId> -->
525 <!-- </exclusion> -->
526 <!-- <exclusion> -->
527 <!-- <artifactId>persistence-api</artifactId> -->
528 <!-- <groupId>javax.persistence</groupId> -->
529 <!-- </exclusion> -->
530 <!-- <exclusion> -->
531 <!-- <artifactId>hibernate</artifactId> -->
532 <!-- <groupId>org.hibernate</groupId> -->
533 <!-- </exclusion> -->
534 <!-- </exclusions> -->
535 <!-- </dependency> -->
536 <!-- <dependency> -->
537 <!-- <groupId>org.unitils</groupId> -->
538 <!-- <artifactId>unitils-spring</artifactId> -->
539 <!-- <version>${unitils.version}</version> -->
540 <!-- <scope>test</scope> -->
541 <!-- <exclusions> -->
542 <!-- <exclusion> -->
543 <!-- <groupId>org.springframework</groupId> -->
544 <!-- <artifactId>spring-core</artifactId> -->
545 <!-- </exclusion> -->
546 <!-- <exclusion> -->
547 <!-- <groupId>org.springframework</groupId> -->
548 <!-- <artifactId>spring-context</artifactId> -->
549 <!-- </exclusion> -->
550 <!-- <exclusion> -->
551 <!-- <groupId>org.springframework</groupId> -->
552 <!-- <artifactId>spring-beans</artifactId> -->
553 <!-- </exclusion> -->
554 <!-- <exclusion> -->
555 <!-- <groupId>org.springframework</groupId> -->
556 <!-- <artifactId>spring-test</artifactId> -->
557 <!-- </exclusion> -->
558 <!-- <exclusion> -->
559 <!-- <groupId>org.springframework</groupId> -->
560 <!-- <artifactId>spring-tx</artifactId> -->
561 <!-- </exclusion> -->
562 <!-- </exclusions> -->
563 <!-- </dependency> -->
564 <!-- <dependency> -->
565 <!-- <groupId>org.easymock</groupId> -->
566 <!-- <artifactId>easymock</artifactId> -->
567 <!-- <version>3.1</version> -->
568 <!-- <scope>test</scope> -->
569 <!-- </dependency> -->
570 <!-- <dependency> -->
571 <!-- <groupId>xmlunit</groupId> -->
572 <!-- <artifactId>xmlunit</artifactId> -->
573 <!-- <version>1.4</version> -->
574 <!-- <scope>test</scope> -->
575 <!-- </dependency> -->
576 <!-- <dependency> -->
577 <!-- <groupId>org.dbunit</groupId> -->
578 <!-- <artifactId>dbunit</artifactId> -->
579 <!-- <version>2.4.9</version> -->
580 <!-- <scope>test</scope> -->
581 <!-- </dependency> -->
582 <!-- <dependency> -->
583 <!-- <groupId>commons-dbcp</groupId> -->
584 <!-- <artifactId>commons-dbcp</artifactId> -->
585 <!-- <version>1.4</version> -->
586 <!-- <scope>test</scope> -->
587 <!-- </dependency> -->
588 <!-- unitils dependencies - end -->
589 <dependency>
590 <groupId>org.slf4j</groupId>
591 <artifactId>slf4j-log4j12</artifactId>
592 <version>1.7.2</version>
593 <scope>provided</scope>
594 </dependency>
595 <dependency>
596 <groupId>org.slf4j</groupId>
597 <artifactId>slf4j-api</artifactId>
598 <version>1.7.2</version>
599 <scope>provided</scope>
600 </dependency>
601 <dependency>
602 <groupId>org.json</groupId>
603 <artifactId>json</artifactId>
604 <version>20151123</version>
605 </dependency>
606 </dependencies>
607 </project>