Project

General

Profile

Download (18.5 KB) Statistics
| Branch: | Tag: | Revision:
1 ead0a1ab Cherian Mathew
<?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 8b96aaff Cherian Mathew
  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 871819aa Cherian Mathew
  <version>3.5.2-SNAPSHOT</version>
9 8b96aaff Cherian Mathew
  <name>Vaadin Web Application</name>
10 ead0a1ab Cherian Mathew
11 8b96aaff Cherian Mathew
  <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 f2e53f06 Cherian Mathew
    <spring.version>3.2.2.RELEASE</spring.version>
18 8b96aaff Cherian Mathew
  </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 ab04087e Cherian Mathew
43 8b96aaff Cherian Mathew
    <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 ead0a1ab Cherian Mathew
132 8b96aaff Cherian Mathew
    <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 ead0a1ab Cherian Mathew
146
147 8b96aaff Cherian Mathew
    <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 525e46f1 Andreas Müller
      <version>${spring.version}</version>
179 8b96aaff Cherian Mathew
      <scope>provided</scope>
180
    </dependency>
181
    <dependency>
182
      <groupId>org.springframework</groupId>
183
      <artifactId>org.springframework.web</artifactId>
184 525e46f1 Andreas Müller
      <version>${spring.version}</version>
185 8b96aaff Cherian Mathew
      <scope>provided</scope>
186
    </dependency>
187
    <dependency>
188
      <groupId>org.springframework</groupId>
189
      <artifactId>org.springframework.web.servlet</artifactId>
190 525e46f1 Andreas Müller
      <version>${spring.version}</version>
191 8b96aaff Cherian Mathew
      <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 f2e53f06 Cherian Mathew
    <!-- vaadin addons / extensions -->
200
    <dependency>
201
      <groupId>org.vaadin.addons</groupId>
202
      <artifactId>contextmenu</artifactId>
203
      <version>4.5</version>
204
    </dependency>
205 ead0a1ab Cherian Mathew
206 8b96aaff Cherian Mathew
    <!-- 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 ead0a1ab Cherian Mathew
349 8b96aaff Cherian Mathew
    <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 ead0a1ab Cherian Mathew
368
369 c52a98a0 Cherian Mathew
370 8b96aaff Cherian Mathew
  </dependencies>
371 ead0a1ab Cherian Mathew
372 8b96aaff Cherian Mathew
  <build>
373
    <plugins>
374
      <plugin>
375
        <groupId>org.apache.maven.plugins</groupId>
376
        <artifactId>maven-compiler-plugin</artifactId>
377
        <configuration>
378
          <source>1.6</source>
379
          <target>1.6</target>
380
        </configuration>
381
      </plugin>
382
      <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
383
      <!-- directory is cleaned properly -->
384
      <plugin>
385
        <artifactId>maven-clean-plugin</artifactId>
386
        <version>2.4.1</version>
387
        <configuration>
388
          <filesets>
389
            <fileset>
390
              <directory>src/main/webapp/VAADIN/widgetsets</directory>
391
            </fileset>
392
          </filesets>
393
        </configuration>
394
      </plugin>
395
      <plugin>
396
        <groupId>org.apache.maven.plugins</groupId>
397
        <artifactId>maven-war-plugin</artifactId>
398
        <version>2.2</version>
399
        <configuration>
400
          <failOnMissingWebXml>false</failOnMissingWebXml>
401
          <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*</warSourceExcludes>
402
        </configuration>
403
      </plugin>
404
      <plugin>
405
        <groupId>com.vaadin</groupId>
406
        <artifactId>vaadin-maven-plugin</artifactId>
407
        <version>${vaadin.plugin.version}</version>
408
        <configuration>
409
          <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
410
          <!-- <runTarget>mobilemail</runTarget> -->
411
          <!-- We are doing "inplace" but into subdir VAADIN/widgetsets. 
412
            This way compatible with Vaadin eclipse plugin. -->
413
          <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
414
          </webappDirectory>
415
          <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
416
          </hostedWebapp>
417
          <!-- Most Vaadin apps don't need this stuff, guide that to target -->
418
          <persistentunitcachedir>${project.build.directory}</persistentunitcachedir>
419
          <deploy>${project.build.directory}/gwt-deploy</deploy>
420
          <!-- Compile report is not typically needed either, saves hunreds 
421
            of mb disk -->
422
          <compileReport>false</compileReport>
423
          <noServer>true</noServer>
424
          <!-- Remove draftCompile when project is ready -->
425
          <draftCompile>false</draftCompile>
426 ead0a1ab Cherian Mathew
427 8b96aaff Cherian Mathew
          <style>OBF</style>
428
          <strict>true</strict>
429
          <runTarget>http://localhost:8080/</runTarget>
430
        </configuration>
431
        <executions>
432
          <execution>
433
            <configuration>
434
              <!-- if you don't specify any modules, the plugin will find 
435
                them -->
436
              <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module> 
437
                </modules> -->
438
            </configuration>
439
            <goals>
440
              <goal>clean</goal>
441
              <goal>resources</goal>
442
              <goal>update-theme</goal>
443
              <goal>update-widgetset</goal>
444
              <goal>compile-theme</goal>
445
              <goal>compile</goal>
446
            </goals>
447
          </execution>
448
        </executions>
449
      </plugin>
450
451
      <!-- <plugin> -->
452
      <!-- <groupId>org.eclipse.jetty</groupId> -->
453
      <!-- <artifactId>jetty-maven-plugin</artifactId> -->
454
      <!-- <version>9.2.3.v20140905</version> -->
455
      <!-- <configuration> -->
456
      <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
457
      <!-- <stopPort>8005</stopPort> -->
458
      <!-- <stopKey>STOP</stopKey> -->
459
      <!-- <useProvidedScope>true</useProvidedScope> -->
460
      <!-- <webApp> -->
461
      <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
462
      <!-- </webApp> -->
463
      <!-- </configuration> -->
464
      <!-- <executions> -->
465
      <!-- <execution> -->
466
      <!-- <id>start-jetty</id> -->
467
      <!-- <phase>pre-integration-test</phase> -->
468
      <!-- <goals> -->
469
      <!-- <goal>start</goal> -->
470
      <!-- </goals> -->
471
      <!-- <configuration> -->
472
      <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
473
      <!-- <daemon>true</daemon> -->
474
      <!-- </configuration> -->
475
      <!-- </execution> -->
476
      <!-- <execution> -->
477
      <!-- <id>stop-jetty</id> -->
478
      <!-- <phase>post-integration-test</phase> -->
479
      <!-- <goals> -->
480
      <!-- <goal>stop</goal> -->
481
      <!-- </goals> -->
482
      <!-- </execution> -->
483
      <!-- </executions> -->
484
      <!-- </plugin> -->
485
486
      <plugin>
487
        <groupId>org.apache.maven.plugins</groupId>
488
        <artifactId>maven-failsafe-plugin</artifactId>
489
        <version>2.17</version>
490
        <configuration>
491
          <!-- Remove the skipTests line below to run TestBench tests -->
492
          <!-- <skipTests>true</skipTests> -->
493
        </configuration>
494
        <executions>
495
          <execution>
496
            <goals>
497
              <goal>integration-test</goal>
498
              <goal>verify</goal>
499
            </goals>
500
          </execution>
501
        </executions>
502
      </plugin>
503
504
    </plugins>
505
    <extensions>
506
      <extension>
507
        <groupId>org.apache.maven.wagon</groupId>
508
        <artifactId>wagon-scm</artifactId>
509
        <version>1.0-beta-6</version>
510
      </extension>
511
      <extension>
512
        <groupId>org.apache.maven.wagon</groupId>
513
        <artifactId>wagon-ssh</artifactId>
514
        <version>1.0-beta-6</version>
515
      </extension>
516
      <extension>
517
        <groupId>org.apache.maven.wagon</groupId>
518
        <artifactId>wagon-ssh-external</artifactId>
519
        <version>1.0-beta-6</version>
520
      </extension>
521
      <extension>
522
        <groupId>org.apache.maven.scm</groupId>
523
        <artifactId>maven-scm-manager-plexus</artifactId>
524
        <version>1.0</version>
525
      </extension>
526
      <extension>
527
        <groupId>org.apache.maven.scm</groupId>
528
        <artifactId>maven-scm-provider-svnexe</artifactId>
529
        <version>1.0</version>
530
      </extension>
531
      <!-- WebDAV plugin to upload snapshots -->
532
      <extension>
533
        <groupId>org.apache.maven.wagon</groupId>
534
        <artifactId>wagon-webdav</artifactId>
535
        <version>1.0-beta-2</version>
536
      </extension>
537
    </extensions>
538
    <pluginManagement>
539
      <plugins>
540
        <plugin>
541
          <artifactId>maven-eclipse-plugin</artifactId>
542
          <configuration>
543
            <wtpversion>2.0</wtpversion>
544
            <additionalProjectnatures>
545
              <projectnature>com.vaadin.integration.eclipse.widgetsetNature</projectnature>
546
            </additionalProjectnatures>
547
            <additionalBuildcommands>
548
              <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder</buildcommand>
549
              <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder</buildcommand>
550
            </additionalBuildcommands>
551
          </configuration>
552
        </plugin>
553
      </plugins>
554
    </pluginManagement>
555
  </build>
556 ead0a1ab Cherian Mathew
</project>