Project

General

Profile

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