Project

General

Profile

Download (18.8 KB) Statistics
| Branch: | Tag: | Revision:
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.2-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
    <!-- vaadin addons / extensions -->
200
    <dependency>
201
      <groupId>org.vaadin.addons</groupId>
202
      <artifactId>contextmenu</artifactId>
203
      <version>4.5</version>
204
    </dependency>
205

    
206
    <!-- unitils dependencies - start -->
207
    <dependency>
208
      <groupId>org.unitils</groupId>
209
      <artifactId>unitils-core</artifactId>
210
      <version>${unitils.version}</version>
211
      <scope>test</scope>
212
    </dependency>
213
    <dependency>
214
      <groupId>org.unitils</groupId>
215
      <artifactId>unitils-database</artifactId>
216
      <version>${unitils.version}</version>
217
      <scope>test</scope>
218
      <exclusions>
219
        <exclusion>
220
          <groupId>org.springframework</groupId>
221
          <artifactId>spring-jdbc</artifactId>
222
        </exclusion>
223
      </exclusions>
224
    </dependency>
225
    <dependency>
226
      <groupId>org.unitils</groupId>
227
      <artifactId>unitils-dbmaintainer</artifactId>
228
      <version>${unitils.version}</version>
229
      <scope>test</scope>
230
      <exclusions>
231
        <exclusion>
232
          <groupId>org.hibernate</groupId>
233
          <artifactId>hibernate</artifactId>
234
        </exclusion>
235
      </exclusions>
236
    </dependency>
237
    <dependency>
238
      <groupId>org.unitils</groupId>
239
      <artifactId>unitils-dbunit</artifactId>
240
      <version>${unitils.version}</version>
241
      <scope>test</scope>
242
      <exclusions>
243
        <exclusion>
244
          <groupId>org.springframework</groupId>
245
          <artifactId>spring-core</artifactId>
246
        </exclusion>
247
        <exclusion>
248
          <groupId>org.springframework</groupId>
249
          <artifactId>spring-jdbc</artifactId>
250
        </exclusion>
251
        <exclusion>
252
          <groupId>org.springframework</groupId>
253
          <artifactId>spring-beans</artifactId>
254
        </exclusion>
255
      </exclusions>
256
    </dependency>
257
    <dependency>
258
      <groupId>org.unitils</groupId>
259
      <artifactId>unitils-easymock</artifactId>
260
      <version>${unitils.version}</version>
261
      <scope>test</scope>
262
    </dependency>
263
    <dependency>
264
      <groupId>org.unitils</groupId>
265
      <artifactId>unitils-mock</artifactId>
266
      <version>${unitils.version}</version>
267
      <scope>test</scope>
268
    </dependency>
269
    <dependency>
270
      <groupId>org.unitils</groupId>
271
      <artifactId>unitils-inject</artifactId>
272
      <version>${unitils.version}</version>
273
      <scope>test</scope>
274
    </dependency>
275
    <dependency>
276
      <groupId>org.unitils</groupId>
277
      <artifactId>unitils-orm</artifactId>
278
      <version>${unitils.version}</version>
279
      <scope>test</scope>
280
      <exclusions>
281
        <exclusion>
282
          <groupId>org.springframework</groupId>
283
          <artifactId>spring-context</artifactId>
284
        </exclusion>
285
        <exclusion>
286
          <groupId>org.springframework</groupId>
287
          <artifactId>spring-orm</artifactId>
288
        </exclusion>
289
        <exclusion>
290
          <groupId>javax.persistence</groupId>
291
          <artifactId>persistence-api</artifactId>
292
        </exclusion>
293
      </exclusions>
294
    </dependency>
295
    <dependency>
296
      <groupId>org.unitils</groupId>
297
      <artifactId>unitils-spring</artifactId>
298
      <version>${unitils.version}</version>
299
      <scope>test</scope>
300
      <exclusions>
301
        <exclusion>
302
          <groupId>org.springframework</groupId>
303
          <artifactId>spring-core</artifactId>
304
        </exclusion>
305
        <exclusion>
306
          <groupId>org.springframework</groupId>
307
          <artifactId>spring-context</artifactId>
308
        </exclusion>
309
        <exclusion>
310
          <groupId>org.springframework</groupId>
311
          <artifactId>spring-beans</artifactId>
312
        </exclusion>
313
        <exclusion>
314
          <groupId>org.springframework</groupId>
315
          <artifactId>spring-test</artifactId>
316
        </exclusion>
317
        <exclusion>
318
          <groupId>org.springframework</groupId>
319
          <artifactId>spring-tx</artifactId>
320
        </exclusion>
321
      </exclusions>
322
    </dependency>
323
    <dependency>
324
      <groupId>org.easymock</groupId>
325
      <artifactId>easymock</artifactId>
326
      <version>3.1</version>
327
      <scope>test</scope>
328
    </dependency>
329
    <dependency>
330
      <groupId>xmlunit</groupId>
331
      <artifactId>xmlunit</artifactId>
332
      <version>1.4</version>
333
      <scope>test</scope>
334
    </dependency>
335
    <dependency>
336
      <groupId>org.dbunit</groupId>
337
      <artifactId>dbunit</artifactId>
338
      <version>2.4.9</version>
339
      <scope>test</scope>
340
    </dependency>
341
    <dependency>
342
      <groupId>commons-dbcp</groupId>
343
      <artifactId>commons-dbcp</artifactId>
344
      <version>1.4</version>
345
      <scope>test</scope>
346
    </dependency>
347
    <!-- unitils dependencies - end -->
348

    
349
    <dependency>
350
      <groupId>org.slf4j</groupId>
351
      <artifactId>slf4j-log4j12</artifactId>
352
      <version>1.7.2</version>
353
      <scope>provided</scope>
354
    </dependency>
355
    <dependency>
356
      <groupId>org.slf4j</groupId>
357
      <artifactId>slf4j-api</artifactId>
358
      <version>1.7.2</version>
359
      <scope>provided</scope>
360
    </dependency>
361
    <dependency>
362
      <groupId>p6spy</groupId>
363
      <artifactId>p6spy</artifactId>
364
      <version>2.1.3</version>
365
      <scope>test</scope>
366
    </dependency>
367

    
368

    
369

    
370
  </dependencies>
371

    
372
  <build>
373
    <plugins>
374
      <plugin>
375
        <groupId>org.apache.maven.plugins</groupId>
376
        <artifactId>maven-compiler-plugin</artifactId>
377
        <version>3.3</version>
378
        <configuration>
379
          <source>1.7</source>
380
          <target>1.7</target>
381
          <encoding>UTF-8</encoding>
382
        </configuration>
383
      </plugin>
384
      <plugin>
385
        <groupId>org.apache.maven.plugins</groupId>
386
        <artifactId>maven-surefire-plugin</artifactId>
387
        <configuration>
388
          <argLine>-Xms256m -Xmx512m</argLine>
389
        </configuration>
390
      </plugin>
391
      <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
392
      <!-- directory is cleaned properly -->
393
      <plugin>
394
        <artifactId>maven-clean-plugin</artifactId>
395
        <version>2.4.1</version>
396
        <configuration>
397
          <filesets>
398
            <fileset>
399
              <directory>src/main/webapp/VAADIN/widgetsets</directory>
400
            </fileset>
401
          </filesets>
402
        </configuration>
403
      </plugin>
404
      <plugin>
405
        <groupId>org.apache.maven.plugins</groupId>
406
        <artifactId>maven-war-plugin</artifactId>
407
        <version>2.2</version>
408
        <configuration>
409
          <failOnMissingWebXml>false</failOnMissingWebXml>
410
          <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*</warSourceExcludes>
411
        </configuration>
412
      </plugin>
413
      <plugin>
414
        <groupId>com.vaadin</groupId>
415
        <artifactId>vaadin-maven-plugin</artifactId>
416
        <version>${vaadin.plugin.version}</version>
417
        <configuration>
418
          <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
419
          <!-- <runTarget>mobilemail</runTarget> -->
420
          <!-- We are doing "inplace" but into subdir VAADIN/widgetsets. 
421
            This way compatible with Vaadin eclipse plugin. -->
422
          <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
423
          </webappDirectory>
424
          <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
425
          </hostedWebapp>
426
          <!-- Most Vaadin apps don't need this stuff, guide that to target -->
427
          <persistentunitcachedir>${project.build.directory}</persistentunitcachedir>
428
          <deploy>${project.build.directory}/gwt-deploy</deploy>
429
          <!-- Compile report is not typically needed either, saves hunreds 
430
            of mb disk -->
431
          <compileReport>false</compileReport>
432
          <noServer>true</noServer>
433
          <!-- Remove draftCompile when project is ready -->
434
          <draftCompile>false</draftCompile>
435

    
436
          <style>OBF</style>
437
          <strict>true</strict>
438
          <runTarget>http://localhost:8080/</runTarget>
439
        </configuration>
440
        <executions>
441
          <execution>
442
            <configuration>
443
              <!-- if you don't specify any modules, the plugin will find 
444
                them -->
445
              <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module> 
446
                </modules> -->
447
            </configuration>
448
            <goals>
449
              <goal>clean</goal>
450
              <goal>resources</goal>
451
              <goal>update-theme</goal>
452
              <goal>update-widgetset</goal>
453
              <goal>compile-theme</goal>
454
              <goal>compile</goal>
455
            </goals>
456
          </execution>
457
        </executions>
458
      </plugin>
459

    
460
      <!-- <plugin> -->
461
      <!-- <groupId>org.eclipse.jetty</groupId> -->
462
      <!-- <artifactId>jetty-maven-plugin</artifactId> -->
463
      <!-- <version>9.2.3.v20140905</version> -->
464
      <!-- <configuration> -->
465
      <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
466
      <!-- <stopPort>8005</stopPort> -->
467
      <!-- <stopKey>STOP</stopKey> -->
468
      <!-- <useProvidedScope>true</useProvidedScope> -->
469
      <!-- <webApp> -->
470
      <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
471
      <!-- </webApp> -->
472
      <!-- </configuration> -->
473
      <!-- <executions> -->
474
      <!-- <execution> -->
475
      <!-- <id>start-jetty</id> -->
476
      <!-- <phase>pre-integration-test</phase> -->
477
      <!-- <goals> -->
478
      <!-- <goal>start</goal> -->
479
      <!-- </goals> -->
480
      <!-- <configuration> -->
481
      <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
482
      <!-- <daemon>true</daemon> -->
483
      <!-- </configuration> -->
484
      <!-- </execution> -->
485
      <!-- <execution> -->
486
      <!-- <id>stop-jetty</id> -->
487
      <!-- <phase>post-integration-test</phase> -->
488
      <!-- <goals> -->
489
      <!-- <goal>stop</goal> -->
490
      <!-- </goals> -->
491
      <!-- </execution> -->
492
      <!-- </executions> -->
493
      <!-- </plugin> -->
494

    
495
      <plugin>
496
        <groupId>org.apache.maven.plugins</groupId>
497
        <artifactId>maven-failsafe-plugin</artifactId>
498
        <version>2.17</version>
499
        <configuration>
500
          <!-- Remove the skipTests line below to run TestBench tests -->
501
          <!-- <skipTests>true</skipTests> -->
502
        </configuration>
503
        <executions>
504
          <execution>
505
            <goals>
506
              <goal>integration-test</goal>
507
              <goal>verify</goal>
508
            </goals>
509
          </execution>
510
        </executions>
511
      </plugin>
512

    
513
    </plugins>
514
    <extensions>
515
      <extension>
516
        <groupId>org.apache.maven.wagon</groupId>
517
        <artifactId>wagon-scm</artifactId>
518
        <version>1.0-beta-6</version>
519
      </extension>
520
      <extension>
521
        <groupId>org.apache.maven.wagon</groupId>
522
        <artifactId>wagon-ssh</artifactId>
523
        <version>1.0-beta-6</version>
524
      </extension>
525
      <extension>
526
        <groupId>org.apache.maven.wagon</groupId>
527
        <artifactId>wagon-ssh-external</artifactId>
528
        <version>1.0-beta-6</version>
529
      </extension>
530
      <extension>
531
        <groupId>org.apache.maven.scm</groupId>
532
        <artifactId>maven-scm-manager-plexus</artifactId>
533
        <version>1.0</version>
534
      </extension>
535
      <extension>
536
        <groupId>org.apache.maven.scm</groupId>
537
        <artifactId>maven-scm-provider-svnexe</artifactId>
538
        <version>1.0</version>
539
      </extension>
540
      <!-- WebDAV plugin to upload snapshots -->
541
      <extension>
542
        <groupId>org.apache.maven.wagon</groupId>
543
        <artifactId>wagon-webdav</artifactId>
544
        <version>1.0-beta-2</version>
545
      </extension>
546
    </extensions>
547
    <pluginManagement>
548
      <plugins>
549
        <plugin>
550
          <artifactId>maven-eclipse-plugin</artifactId>
551
          <configuration>
552
            <wtpversion>2.0</wtpversion>
553
            <additionalProjectnatures>
554
              <projectnature>com.vaadin.integration.eclipse.widgetsetNature</projectnature>
555
            </additionalProjectnatures>
556
            <additionalBuildcommands>
557
              <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder</buildcommand>
558
              <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder</buildcommand>
559
            </additionalBuildcommands>
560
          </configuration>
561
        </plugin>
562
      </plugins>
563
    </pluginManagement>
564
  </build>
565
</project>
(3-3/3)