Project

General

Profile

Download (18.1 KB) Statistics
| Branch: | Tag: | Revision:
1 ead0a1ab Cherian Mathew
<?xml version="1.0" encoding="UTF-8"?>
2 29f893a0 Cherian Mathew
<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 8b96aaff Cherian Mathew
  <modelVersion>4.0.0</modelVersion>
4
  <groupId>eu.etaxonomy</groupId>
5
  <artifactId>cdm-vaadin</artifactId>
6
  <packaging>war</packaging>
7 24e2f0a4 jenkins
  <version>4.4.0-SNAPSHOT</version>
8 8b96aaff Cherian Mathew
  <name>Vaadin Web Application</name>
9
  <properties>
10
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11 c839d071 Katja Luther
    <vaadin.version>7.6.3</vaadin.version>
12 8b96aaff Cherian Mathew
    <vaadin.plugin.version>${vaadin.version}</vaadin.plugin.version>
13 5043921c jenkins
    <cdmlib.version>4.4.0-SNAPSHOT</cdmlib.version>
14 8b96aaff Cherian Mathew
    <unitils.version>3.4.2</unitils.version>
15 c839d071 Katja Luther
    <spring.version>4.2.4.RELEASE</spring.version>
16 e40c7b47 Patrick Plitzner
    <lucene.version>5.4.1</lucene.version>
17 8b96aaff Cherian Mathew
  </properties>
18 eb522fd8 Andreas Kohlbecker
  <prerequisites>
19
    <maven>3.0.5</maven>
20
  </prerequisites>
21 8b96aaff Cherian Mathew
  <repositories>
22
    <!-- the cdm internal repository -->
23
    <repository>
24
      <id>EditRepository</id>
25
      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
26
    </repository>
27
    <!-- current spring source repositories -->
28
    <repository>
29
      <id>SpringSource Enterprise Bundle Repository - External Bundle Milestones</id>
30
      <url>http://repository.springsource.com/maven/bundles/milestone</url>
31
    </repository>
32
    <repository>
33
      <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</id>
34
      <url>http://repository.springsource.com/maven/bundles/release</url>
35
    </repository>
36
    <repository>
37
      <id>SpringSource Enterprise Bundle Repository - External Bundle Releases</id>
38
      <url>http://repository.springsource.com/maven/bundles/external</url>
39
    </repository>
40
    <repository>
41
      <id>vaadin-addons</id>
42
      <url>http://maven.vaadin.com/vaadin-addons</url>
43
    </repository>
44
    <repository>
45
      <id>vaadin-snapshots</id>
46
      <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
47
      <releases>
48
        <enabled>false</enabled>
49
      </releases>
50
      <snapshots>
51
        <enabled>true</enabled>
52
      </snapshots>
53
    </repository>
54
  </repositories>
55
  <pluginRepositories>
56
    <pluginRepository>
57
      <id>vaadin-snapshots</id>
58
      <url>http://oss.sonatype.org/content/repositories/vaadin-snapshots/</url>
59
      <releases>
60
        <enabled>false</enabled>
61
      </releases>
62
      <snapshots>
63
        <enabled>true</enabled>
64
      </snapshots>
65
    </pluginRepository>
66
  </pluginRepositories>
67
  <distributionManagement>
68
    <repository>
69
      <uniqueVersion>false</uniqueVersion>
70
      <id>wp5.e-taxonomy.eu</id>
71
      <name>Edit Maven Repository</name>
72
      <url>scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo/</url>
73
      <layout>default</layout>
74
    </repository>
75
  </distributionManagement>
76 ff4582ba Andreas Kohlbecker
  <profiles>
77
    <profile>
78 2f89d478 jenkins-int@bgbm.org
      <activation>
79
        <property>
80
          <name>align-cdmlib-version</name>
81
        </property>
82
      </activation>
83
      <build>
84
        <plugins>
85
          <plugin>
86
            <groupId>com.google.code.maven-replacer-plugin</groupId>
87
            <artifactId>replacer</artifactId>
88
            <version>1.5.3</version>
89
            <executions>
90
              <execution>
91
                <phase>process-sources</phase>
92
                <goals>
93
                  <goal>replace</goal>
94
                </goals>
95
              </execution>
96
            </executions>
97
            <configuration>
98
              <file>pom.xml</file>
99
              <!-- \u003C = < , \u003E = >  -->
100
              <token>(\u003Ccdmlib\.version\u003E)[^\u003C]*</token>
101
              <value>$1${project.version}</value>
102
            </configuration>
103
          </plugin>
104
        </plugins>
105
      </build>
106 ff4582ba Andreas Kohlbecker
    </profile>
107
  </profiles>
108 8b96aaff Cherian Mathew
  <build>
109
    <plugins>
110
      <plugin>
111
        <groupId>org.apache.maven.plugins</groupId>
112
        <artifactId>maven-compiler-plugin</artifactId>
113 3100d4ea Cherian Mathew
        <version>3.3</version>
114 8b96aaff Cherian Mathew
        <configuration>
115 3100d4ea Cherian Mathew
          <source>1.7</source>
116
          <target>1.7</target>
117
          <encoding>UTF-8</encoding>
118 8b96aaff Cherian Mathew
        </configuration>
119
      </plugin>
120 f0adbe96 Cherian Mathew
      <plugin>
121
        <groupId>org.apache.maven.plugins</groupId>
122
        <artifactId>maven-surefire-plugin</artifactId>
123
        <configuration>
124
          <argLine>-Xms256m -Xmx512m</argLine>
125
        </configuration>
126
      </plugin>
127 8b96aaff Cherian Mathew
      <!-- As we are doing "inplace" GWT compilation, ensure the widgetset -->
128
      <!-- directory is cleaned properly -->
129
      <plugin>
130
        <artifactId>maven-clean-plugin</artifactId>
131
        <version>2.4.1</version>
132
        <configuration>
133
          <filesets>
134
            <fileset>
135
              <directory>src/main/webapp/VAADIN/widgetsets</directory>
136
            </fileset>
137
          </filesets>
138
        </configuration>
139
      </plugin>
140
      <plugin>
141
        <groupId>org.apache.maven.plugins</groupId>
142
        <artifactId>maven-war-plugin</artifactId>
143
        <version>2.2</version>
144
        <configuration>
145
          <failOnMissingWebXml>false</failOnMissingWebXml>
146
          <warSourceExcludes>WEB-INF/*,WEB-INF/datasources/*</warSourceExcludes>
147
        </configuration>
148
      </plugin>
149
      <plugin>
150
        <groupId>com.vaadin</groupId>
151
        <artifactId>vaadin-maven-plugin</artifactId>
152
        <version>${vaadin.plugin.version}</version>
153
        <configuration>
154
          <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
155
          <!-- <runTarget>mobilemail</runTarget> -->
156
          <!-- We are doing "inplace" but into subdir VAADIN/widgetsets. 
157
            This way compatible with Vaadin eclipse plugin. -->
158
          <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets
159
          </webappDirectory>
160
          <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets
161
          </hostedWebapp>
162
          <!-- Most Vaadin apps don't need this stuff, guide that to target -->
163
          <persistentunitcachedir>${project.build.directory}</persistentunitcachedir>
164
          <deploy>${project.build.directory}/gwt-deploy</deploy>
165
          <!-- Compile report is not typically needed either, saves hunreds 
166
            of mb disk -->
167
          <compileReport>false</compileReport>
168
          <noServer>true</noServer>
169
          <!-- Remove draftCompile when project is ready -->
170
          <draftCompile>false</draftCompile>
171
          <style>OBF</style>
172
          <strict>true</strict>
173
          <runTarget>http://localhost:8080/</runTarget>
174
        </configuration>
175
        <executions>
176
          <execution>
177
            <configuration>
178
              <!-- if you don't specify any modules, the plugin will find 
179
                them -->
180
              <!-- <modules> <module>com.vaadin.demo.mobilemail.gwt.ColorPickerWidgetSet</module> 
181
                </modules> -->
182
            </configuration>
183
            <goals>
184
              <goal>clean</goal>
185
              <goal>resources</goal>
186
              <goal>update-theme</goal>
187
              <goal>update-widgetset</goal>
188
              <goal>compile-theme</goal>
189
              <goal>compile</goal>
190
            </goals>
191
          </execution>
192
        </executions>
193
      </plugin>
194
      <!-- <plugin> -->
195
      <!-- <groupId>org.eclipse.jetty</groupId> -->
196
      <!-- <artifactId>jetty-maven-plugin</artifactId> -->
197
      <!-- <version>9.2.3.v20140905</version> -->
198
      <!-- <configuration> -->
199
      <!-- <scanIntervalSeconds>10</scanIntervalSeconds> -->
200
      <!-- <stopPort>8005</stopPort> -->
201
      <!-- <stopKey>STOP</stopKey> -->
202
      <!-- <useProvidedScope>true</useProvidedScope> -->
203
      <!-- <webApp> -->
204
      <!-- <descriptor>${project.basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> -->
205
      <!-- </webApp> -->
206
      <!-- </configuration> -->
207
      <!-- <executions> -->
208
      <!-- <execution> -->
209
      <!-- <id>start-jetty</id> -->
210
      <!-- <phase>pre-integration-test</phase> -->
211
      <!-- <goals> -->
212
      <!-- <goal>start</goal> -->
213
      <!-- </goals> -->
214
      <!-- <configuration> -->
215
      <!-- <scanIntervalSeconds>0</scanIntervalSeconds> -->
216
      <!-- <daemon>true</daemon> -->
217
      <!-- </configuration> -->
218
      <!-- </execution> -->
219
      <!-- <execution> -->
220
      <!-- <id>stop-jetty</id> -->
221
      <!-- <phase>post-integration-test</phase> -->
222
      <!-- <goals> -->
223
      <!-- <goal>stop</goal> -->
224
      <!-- </goals> -->
225
      <!-- </execution> -->
226
      <!-- </executions> -->
227
      <!-- </plugin> -->
228
      <plugin>
229
        <groupId>org.apache.maven.plugins</groupId>
230
        <artifactId>maven-failsafe-plugin</artifactId>
231
        <version>2.17</version>
232
        <configuration>
233
          <!-- Remove the skipTests line below to run TestBench tests -->
234
          <!-- <skipTests>true</skipTests> -->
235
        </configuration>
236
        <executions>
237
          <execution>
238
            <goals>
239
              <goal>integration-test</goal>
240
              <goal>verify</goal>
241
            </goals>
242
          </execution>
243
        </executions>
244
      </plugin>
245 edb8221f Cherian Mathew
      <plugin>
246
        <groupId>external.atlassian.jgitflow</groupId>
247
        <artifactId>jgitflow-maven-plugin</artifactId>
248 1357950f Andreas Kohlbecker
        <version>1.0-m6</version>
249 3042fbba Cherian Mathew
        <configuration>
250 edb8221f Cherian Mathew
          <pushHotfixes>true</pushHotfixes>
251 1357950f Andreas Kohlbecker
          <pushReleases>true</pushReleases>
252 edb8221f Cherian Mathew
          <enableSshAgent>true</enableSshAgent>
253
          <allowSnapshots>true</allowSnapshots>
254 4cde4a47 Cherian Mathew
          <allowUntracked>true</allowUntracked>
255 edb8221f Cherian Mathew
        </configuration>
256 842b5671 Jenkins
        <dependencies>
257
          <!-- 
258 80607d26 Andreas Kohlbecker
                upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53 
259
                in order have ssl key exchange algorithms compatible with openssh 6.7 
260
             -->
261 842b5671 Jenkins
          <dependency>
262
            <groupId>com.jcraft</groupId>
263
            <artifactId>jsch</artifactId>
264
            <version>0.1.53</version>
265
          </dependency>
266 80607d26 Andreas Kohlbecker
        </dependencies>
267 edb8221f Cherian Mathew
      </plugin>
268 8b96aaff Cherian Mathew
    </plugins>
269
    <extensions>
270
      <extension>
271
        <groupId>org.apache.maven.wagon</groupId>
272
        <artifactId>wagon-scm</artifactId>
273
        <version>1.0-beta-6</version>
274
      </extension>
275
      <extension>
276
        <groupId>org.apache.maven.wagon</groupId>
277
        <artifactId>wagon-ssh</artifactId>
278
        <version>1.0-beta-6</version>
279
      </extension>
280
      <extension>
281
        <groupId>org.apache.maven.wagon</groupId>
282
        <artifactId>wagon-ssh-external</artifactId>
283
        <version>1.0-beta-6</version>
284
      </extension>
285
      <extension>
286
        <groupId>org.apache.maven.scm</groupId>
287
        <artifactId>maven-scm-manager-plexus</artifactId>
288
        <version>1.0</version>
289
      </extension>
290
      <extension>
291
        <groupId>org.apache.maven.scm</groupId>
292
        <artifactId>maven-scm-provider-svnexe</artifactId>
293
        <version>1.0</version>
294
      </extension>
295
      <!-- WebDAV plugin to upload snapshots -->
296
      <extension>
297
        <groupId>org.apache.maven.wagon</groupId>
298
        <artifactId>wagon-webdav</artifactId>
299
        <version>1.0-beta-2</version>
300
      </extension>
301
    </extensions>
302
    <pluginManagement>
303
      <plugins>
304
        <plugin>
305
          <artifactId>maven-eclipse-plugin</artifactId>
306
          <configuration>
307
            <wtpversion>2.0</wtpversion>
308
            <additionalProjectnatures>
309
              <projectnature>com.vaadin.integration.eclipse.widgetsetNature</projectnature>
310
            </additionalProjectnatures>
311
            <additionalBuildcommands>
312
              <buildcommand>com.vaadin.integration.eclipse.widgetsetBuilder</buildcommand>
313
              <buildcommand>com.vaadin.integration.eclipse.addonStylesBuilder</buildcommand>
314
            </additionalBuildcommands>
315
          </configuration>
316
        </plugin>
317
      </plugins>
318
    </pluginManagement>
319
  </build>
320 6d4bccc5 jenkins
  <dependencies>
321 c442b312 Katja Luther
    <dependency>
322
      <groupId>com.vaadin</groupId>
323
      <artifactId>vaadin-server</artifactId>
324
      <version>${vaadin.version}</version>
325
    </dependency>
326
    <dependency>
327
      <groupId>com.vaadin</groupId>
328
      <artifactId>vaadin-client-compiled</artifactId>
329
      <version>${vaadin.version}</version>
330
    </dependency>
331
    <!-- Needed when using the widgetset optimizer (custom ConnectorBundleLoaderFactory). 
332
      For widgetset compilation, vaadin-client-compiler is automatically added 
333
      on the compilation classpath by vaadin-maven-plugin so normally there is 
334
      no need for an explicit dependency. -->
335
    <!-- <dependency> <groupId>com.vaadin</groupId> <artifactId>vaadin-client-compiler</artifactId> 
336
      <version>${vaadin.version}</version> <scope>provided</scope> </dependency> -->
337
    <dependency>
338
      <groupId>com.vaadin</groupId>
339
      <artifactId>vaadin-client</artifactId>
340
      <version>${vaadin.version}</version>
341
      <scope>provided</scope>
342
    </dependency>
343
    <!-- disabling push for the moment because it does not work with run-jetty-run 
344
      due to the fact that the latest (even nightly) version of run-jetty-run uses 
345
      9.0.0 M3 which is incompatible with atmoshpere. this does work with the jetty 
346
      included in this pom which is 9.2.5.xx, implying that enabling the dependency 
347
      and running the web app via 'mvn jetty:run' works fine. -->
348
    <!-- <dependency> -->
349
    <!-- <groupId>com.vaadin</groupId> -->
350
    <!-- <artifactId>vaadin-push</artifactId> -->
351
    <!-- <version>${vaadin.version}</version> -->
352
    <!-- </dependency> -->
353
    <dependency>
354
      <groupId>com.vaadin</groupId>
355
      <artifactId>vaadin-themes</artifactId>
356
      <version>${vaadin.version}</version>
357
    </dependency>
358
    <dependency>
359
      <groupId>javax.servlet</groupId>
360
      <artifactId>javax.servlet-api</artifactId>
361
      <version>3.1.0</version>
362
      <scope>provided</scope>
363
    </dependency>
364
    <dependency>
365
      <groupId>com.vaadin</groupId>
366
      <artifactId>vaadin-testbench-api</artifactId>
367
      <version>RELEASE</version>
368
      <scope>test</scope>
369
    </dependency>
370
    <dependency>
371
      <groupId>eu.etaxonomy</groupId>
372
      <artifactId>cdmlib-services</artifactId>
373
      <version>${cdmlib.version}</version>
374 6d4bccc5 jenkins
    
375 2eb93744 jenkins
    
376 6fa8fff7 jenkins
    
377 05ccc852 jenkins
    
378 5043921c jenkins
    
379 c442b312 Katja Luther
<!--       <scope>provided</scope> -->
380
    </dependency>
381
    <dependency>
382
      <groupId>eu.etaxonomy</groupId>
383
      <artifactId>cdmlib-test</artifactId>
384
      <version>${cdmlib.version}</version>
385
      <scope>test</scope>
386
    </dependency>
387
    <!-- to override version number coming with vaadin client -->
388
    <dependency>
389 6d4bccc5 jenkins
      <groupId>javax.validation</groupId>
390
      <artifactId>validation-api</artifactId>
391
      <version>1.1.0.Final</version>
392
    </dependency>
393 c442b312 Katja Luther
    <dependency>
394
      <groupId>org.springmodules</groupId>
395
      <artifactId>spring-modules-cache</artifactId>
396
      <version>0.7</version>
397
      <exclusions>
398
        <exclusion>
399
          <groupId>org.springframework</groupId>
400
          <artifactId>spring</artifactId>
401
        </exclusion>
402
        <exclusion>
403
          <groupId>org.springframework</groupId>
404
          <artifactId>spring-mock</artifactId>
405
        </exclusion>
406
      </exclusions>
407
      <scope>provided</scope>
408
    </dependency>
409
    <dependency>
410
      <groupId>com.thoughtworks.xstream</groupId>
411
      <artifactId>xstream</artifactId>
412
      <version>1.4.7</version>
413
      <scope>provided</scope>
414
    </dependency>
415
    <dependency>
416
      <groupId>org.springframework</groupId>
417
      <artifactId>spring-mock</artifactId>
418
      <version>2.0.8</version>
419
      <scope>provided</scope>
420
    </dependency>
421
    <dependency>
422
      <groupId>org.springframework</groupId>
423
      <artifactId>spring-context-support</artifactId>
424
      <version>${spring.version}</version>
425
      <scope>provided</scope>
426
    </dependency>
427 6d4bccc5 jenkins
    <dependency>
428
      <groupId>org.springframework</groupId>
429
      <artifactId>spring-web</artifactId>
430
      <version>${spring.version}</version>
431
    </dependency>
432
    <dependency>
433
      <groupId>org.springframework</groupId>
434
      <artifactId>spring-webmvc</artifactId>
435
      <version>${spring.version}</version>
436
    </dependency>
437 c442b312 Katja Luther
    <!-- vaadin addons / extensions -->
438
    <dependency>
439
      <groupId>org.vaadin.addons</groupId>
440
      <artifactId>contextmenu</artifactId>
441
      <version>4.5</version>
442
    </dependency>
443
    <dependency>
444
      <groupId>junit</groupId>
445
      <artifactId>junit</artifactId>
446
      <version>4.11</version>
447
      <scope>test</scope>
448
    </dependency>
449
    <dependency>
450
      <groupId>org.slf4j</groupId>
451
      <artifactId>slf4j-log4j12</artifactId>
452
      <version>1.7.2</version>
453
      <scope>provided</scope>
454
    </dependency>
455
    <dependency>
456
      <groupId>org.slf4j</groupId>
457
      <artifactId>slf4j-api</artifactId>
458
      <version>1.7.2</version>
459
      <scope>provided</scope>
460
    </dependency>
461
    <dependency>
462 6d4bccc5 jenkins
      <groupId>org.json</groupId>
463
      <artifactId>json</artifactId>
464
      <version>20151123</version>
465
    </dependency>
466 e40c7b47 Patrick Plitzner
    <!-- lucene -->
467
    <dependency>
468 05ccc852 jenkins
      <groupId>org.apache.lucene</groupId>
469
      <artifactId>lucene-backward-codecs</artifactId>
470
      <version>5.3.1</version>
471
    </dependency>
472
    <dependency>
473
      <groupId>org.apache.lucene</groupId>
474
      <artifactId>lucene-core</artifactId>
475
      <version>${lucene.version}</version>
476
    </dependency>
477
    <dependency>
478
      <groupId>org.apache.lucene</groupId>
479
      <artifactId>lucene-suggest</artifactId>
480
      <version>${lucene.version}</version>
481
    </dependency>
482
    <dependency>
483
      <groupId>org.apache.lucene</groupId>
484
      <artifactId>lucene-analyzers-common</artifactId>
485
      <version>${lucene.version}</version>
486
    </dependency>
487
    <dependency>
488
      <groupId>org.apache.lucene</groupId>
489
      <artifactId>lucene-queryparser</artifactId>
490
      <version>${lucene.version}</version>
491
    </dependency>
492
    <dependency>
493
      <groupId>org.apache.lucene</groupId>
494
      <artifactId>lucene-highlighter</artifactId>
495
      <version>${lucene.version}</version>
496
    </dependency>
497
    <dependency>
498
      <groupId>org.apache.lucene</groupId>
499
      <artifactId>lucene-grouping</artifactId>
500
      <version>${lucene.version}</version>
501
    </dependency>
502
    <dependency>
503
      <groupId>org.apache.lucene</groupId>
504
      <artifactId>lucene-join</artifactId>
505
      <version>${lucene.version}</version>
506
    </dependency>
507 e40c7b47 Patrick Plitzner
    <dependency>
508 05ccc852 jenkins
      <groupId>org.apache.lucene</groupId>
509
      <artifactId>lucene-backward-codecs</artifactId>
510
      <version>${lucene.version}</version>
511
    </dependency>
512
    <dependency>
513
      <groupId>org.apache.lucene</groupId>
514
      <artifactId>lucene-misc</artifactId>
515
      <version>${lucene.version}</version>
516
    </dependency>
517
    <dependency>
518
      <groupId>org.apache.lucene</groupId>
519
      <artifactId>lucene-facet</artifactId>
520
      <version>${lucene.version}</version>
521
    </dependency>
522 c442b312 Katja Luther
  </dependencies>
523 ead0a1ab Cherian Mathew
</project>