Project

General

Profile

Download (24.3 KB) Statistics
| Branch: | Tag: | Revision:
1 5bd25aba Andreas Kohlbecker
<?xml version="1.0" encoding="UTF-8"?>
2 624c228c edit-jenkins
<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/xsd/maven-4.0.0.xsd">
3 5bd25aba Andreas Kohlbecker
4 66465ecb Andreas Kohlbecker
  <modelVersion>4.0.0</modelVersion>
5
  <groupId>eu.etaxonomy</groupId>
6
  <artifactId>cdm-server</artifactId>
7 15ddc30c jenkins
  <version>4.16.0-SNAPSHOT</version>
8 66465ecb Andreas Kohlbecker
  <packaging>jar</packaging>
9
  <name>CDM Community Standalone Server</name>
10 17249333 Andreas Kohlbecker
11 66465ecb Andreas Kohlbecker
  <properties>
12 972cd222 Andreas Kohlbecker
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13 2695d58c Cherian Mathew
    <jetty-version>9.2.9.v20150224</jetty-version>
14 d2fbb2f5 Andreas Kohlbecker
    <javadoc.opts>-Xdoclint:none</javadoc.opts>
15 66465ecb Andreas Kohlbecker
  </properties>
16 5bd25aba Andreas Kohlbecker
17 66465ecb Andreas Kohlbecker
  <scm>
18 3f91e2a5 Cherian Mathew
    <!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html 
19 66465ecb Andreas Kohlbecker
      for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
20 b31886a0 Patrick Plitzner
    <connection>scm:git:https://dev.e-taxonomy.eu/git/cdm-server.git</connection>
21
    <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdm-server.git</developerConnection>
22
    <url>https://dev.e-taxonomy.eu/gitweb/cdm-server.git/tree</url>
23 66465ecb Andreas Kohlbecker
  </scm>
24 e3647a3c Andreas Kohlbecker
  
25
  <prerequisites>
26 179f09a7 Andreas Kohlbecker
    <maven>3.0.5</maven>
27 e3647a3c Andreas Kohlbecker
  </prerequisites>
28 5bd25aba Andreas Kohlbecker
29 66465ecb Andreas Kohlbecker
  <mailingLists>
30
    <mailingList>
31 2a116ba5 Andreas Kohlbecker
        <name>EDIT Platform Developers</name>
32
        <subscribe>
33
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
34
        </subscribe>
35
        <unsubscribe>
36
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
37
        </unsubscribe>
38 66465ecb Andreas Kohlbecker
    </mailingList>
39
    <mailingList>
40 2a116ba5 Andreas Kohlbecker
        <name>EDIT User</name>
41
        <subscribe>
42
            https://lists.fu-berlin.de/listinfo/edituser#subscribe
43
        </subscribe>
44
        <unsubscribe>
45
            https://lists.fu-berlin.de/listinfo/edituser#options
46
        </unsubscribe>
47 66465ecb Andreas Kohlbecker
    </mailingList>
48
  </mailingLists>
49
  <licenses>
50
    <license>
51
      <name>Mozilla Public License Version 1.1</name>
52
      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
53
      <distribution>repo</distribution>
54
    </license>
55
  </licenses>
56
  <developers>
57
    <developer>
58
      <!-- your SVN account id please! -->
59
      <id>a.kohlbecker</id>
60
      <name>
61 e0541bd1 Andreas Kohlbecker
        Andreas Kohlbecker
62
      </name>
63 66465ecb Andreas Kohlbecker
      <email>a.kohlbecker [at] bgbm.org</email>
64
      <organization>
65 e0541bd1 Andreas Kohlbecker
        Botanical Garden Botanical Museum Berlin
66
      </organization>
67 66465ecb Andreas Kohlbecker
      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
68
      <timezone>+1</timezone>
69
      <roles>
70
        <role>Developer</role>
71
      </roles>
72
      <url />
73
    </developer>
74
  </developers>
75 5bd25aba Andreas Kohlbecker
76 3f91e2a5 Cherian Mathew
  <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor> 
77 66465ecb Andreas Kohlbecker
    </contributors -->
78
  <issueManagement>
79
    <system>Trac</system>
80
    <url>http://dev.e-taxonomy.eu/trac/</url>
81
  </issueManagement>
82
  <ciManagement>
83
    <system>Jenkins</system>
84
    <url>http://160.45.63.201/jenkins</url>
85
  </ciManagement>
86
  <!-- **** REPOSITORIES **** -->
87 9e0cf9c0 Andreas Kohlbecker
  <profiles>
88
    <profile>
89
      <id>local-repository</id>
90
      <activation>
91
        <property>
92
          <name>localrepo</name>
93
        </property>
94
      </activation>
95
      <repositories>
96
        <repository>
97
          <id>EditLocalRepository</id>
98
          <url>file://${localrepo}/eu/etaxonomy/</url>
99
          <releases>
100
            <enabled>false</enabled>
101
            <updatePolicy>always</updatePolicy>
102
          </releases>
103
          <snapshots>
104
            <enabled>true</enabled>
105
            <updatePolicy>always</updatePolicy>
106
          </snapshots>
107
        </repository>
108
      </repositories>
109
    </profile>
110
  </profiles>
111 66465ecb Andreas Kohlbecker
  <repositories>
112
    <!-- sun repository -->
113
    <repository>
114 3f91e2a5 Cherian Mathew
      <id>java.net-Public</id>
115
      <name>Maven Java Net Snapshots and Releases</name>
116
      <url>https://maven.java.net/content/groups/public/</url>
117 66465ecb Andreas Kohlbecker
    </repository>
118
    <!-- the localhost Maven Repository -->
119
    <repository>
120 3f91e2a5 Cherian Mathew
      <id>EditLocalRepository</id>
121
      <!-- disable the local repo to let maven always retrieve the latest 
122 d220174c Cherian Mathew
        cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository 
123 3f91e2a5 Cherian Mathew
        in MAVEN 3 -->
124
      <url>file://${user.home}/.m2/repository/eu/etaxonomy/</url>
125
      <releases>
126
        <enabled>false</enabled>
127
        <updatePolicy>always</updatePolicy>
128
      </releases>
129
      <snapshots>
130
        <enabled>false</enabled>
131
        <updatePolicy>always</updatePolicy>
132
      </snapshots>
133
    </repository>
134 66465ecb Andreas Kohlbecker
    <!-- the EDIT Maven Repository -->
135
    <repository>
136
      <id>EditRepository</id>
137
      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
138
      <releases>
139
        <enabled>true</enabled>
140
        <updatePolicy>always</updatePolicy>
141
      </releases>
142
      <snapshots>
143
        <enabled>true</enabled>
144
        <updatePolicy>always</updatePolicy>
145
      </snapshots>
146
    </repository>
147
    <!-- apache incubating repository -->
148
    <repository>
149
      <id>ApacheIncubating</id>
150
      <url>http://people.apache.org/repo/m2-incubating-repository/</url>
151
    </repository>
152
  </repositories>
153 5bd25aba Andreas Kohlbecker
154 66465ecb Andreas Kohlbecker
  <!-- **** PLUGINS **** -->
155
  <build>
156
    <resources>
157
      <!-- ${basedir}/src/main/resources -->
158
      <resource>
159 3f91e2a5 Cherian Mathew
        <!-- replace the project-version placeholder in the version.properties 
160
          file. This property can then be used to retrieve the version number in the 
161 66465ecb Andreas Kohlbecker
          Bootloader -->
162
        <targetPath>${project.build.directory}/classes</targetPath>
163
        <filtering>true</filtering>
164
        <directory>${basedir}/src/main/resources</directory>
165
        <includes>
166
          <include>version.properties</include>
167
        </includes>
168
      </resource>
169
      <resource>
170
        <!-- all other files in classes -->
171
        <targetPath>${project.build.directory}/classes</targetPath>
172
        <directory>${basedir}/src/main/resources</directory>
173
        <excludes>
174
          <exclude>version.properties</exclude>
175
        </excludes>
176
      </resource>
177
      <!-- ${basedir}/src/main/installer/win32 -->
178
      <resource>
179
        <targetPath>${project.build.directory}/installer</targetPath>
180
        <filtering>true</filtering>
181
        <directory>${basedir}/src/main/installer</directory>
182
        <includes>
183
          <include>win32/program-folder/etc/CDMServer.conf</include>
184
          <include>win32/setup.nsi</include>
185
        </includes>
186
      </resource>
187
      <resource>
188
        <targetPath>${project.build.directory}/installer</targetPath>
189
        <directory>${basedir}/src/main/installer</directory>
190
        <excludes>
191
          <exclude>win32/program-folder/etc/CDMServer.conf</exclude>
192
          <exclude>win32/setup.nsi</exclude>
193
        </excludes>
194
      </resource>
195
    </resources>
196
    <plugins>
197
      <!-- ====== IDE ====== -->
198
      <plugin>
199
        <groupId>org.apache.maven.plugins</groupId>
200
        <artifactId>maven-eclipse-plugin</artifactId>
201 1f3a4888 Andreas Kohlbecker
        <version>2.9</version>
202 66465ecb Andreas Kohlbecker
        <configuration>
203
          <downloadSources>true</downloadSources>
204
          <downloadJavadocs>true</downloadJavadocs>
205
        </configuration>
206
      </plugin>
207 117b614b Andreas Kohlbecker
208 66465ecb Andreas Kohlbecker
      <plugin>
209 3f91e2a5 Cherian Mathew
        <!-- only needed for testing the svn credentials credentials are 
210
          usually stored by svn automatically unless not configured differently in 
211
          {user.home}\.subversion\config So in order to use a specific svn account 
212
          with maven firts to a commit manually by svn ci -m "commit message" and answer 
213
          the question wether to store the credential with yes. There is no specific 
214
          maven configuration required for svn to work with maven! -->
215 66465ecb Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
216
        <artifactId>maven-scm-plugin</artifactId>
217 e3647a3c Andreas Kohlbecker
        <version>1.9.2</version>
218 66465ecb Andreas Kohlbecker
        <configuration>
219
          <connectionType>developerConnection</connectionType>
220
        </configuration>
221
      </plugin>
222
      <!-- ====== CREATE ====== -->
223 e3647a3c Andreas Kohlbecker
      <plugin>
224
        <groupId>org.apache.maven.plugins</groupId>
225
        <artifactId>maven-resources-plugin</artifactId>
226 179f09a7 Andreas Kohlbecker
        <version>2.7</version>
227 e3647a3c Andreas Kohlbecker
      </plugin>
228 66465ecb Andreas Kohlbecker
      <plugin>
229 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
230 66465ecb Andreas Kohlbecker
        <artifactId>maven-compiler-plugin</artifactId>
231 179f09a7 Andreas Kohlbecker
        <version>3.2</version>
232 66465ecb Andreas Kohlbecker
        <configuration>
233 15a0854d Andreas Müller
          <source>1.7</source>
234
          <target>1.7</target>
235 66465ecb Andreas Kohlbecker
        </configuration>
236
      </plugin>
237
      <plugin>
238 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
239 66465ecb Andreas Kohlbecker
        <artifactId>maven-surefire-plugin</artifactId>
240 179f09a7 Andreas Kohlbecker
        <version>2.18.1</version>
241 66465ecb Andreas Kohlbecker
        <configuration>
242
          <argLine>-Xmx512M</argLine>
243
          <includes>
244
            <include>**/*Test.java</include>
245
          </includes>
246
          <systemProperties>
247
            <property>
248
              <name>hibernate.connection.driver_class</name>
249
              <value>${hibernate.connection.driver_class}</value>
250
            </property>
251
            <property>
252
              <name>hibernate.connection.url</name>
253
              <value>${hibernate.connection.url}</value>
254
            </property>
255
            <property>
256
              <name>hibernate.connection.username</name>
257
              <value>${hibernate.connection.username}</value>
258
            </property>
259
            <property>
260
              <name>hibernate.connection.password</name>
261
              <value>${hibernate.connection.password}</value>
262
            </property>
263
          </systemProperties>
264
        </configuration>
265
      </plugin>
266
      <!-- ====== CREATE ====== -->
267
      <plugin>
268
        <groupId>org.codehaus.mojo</groupId>
269
        <artifactId>buildnumber-maven-plugin</artifactId>
270 e3647a3c Andreas Kohlbecker
        <version>1.3</version>
271 66465ecb Andreas Kohlbecker
        <executions>
272
          <execution>
273
            <!--<phase>deploy</phase> -->
274
            <goals>
275
              <goal>create</goal>
276
            </goals>
277
          </execution>
278
        </executions>
279
        <configuration>
280
          <doCheck>false</doCheck>
281
          <!-- Only create the build number if there are no local modifications -->
282
          <doUpdate>false</doUpdate>
283
          <!-- automatically update the local svn copy -->
284
        </configuration>
285
      </plugin>
286
      <plugin>
287
        <groupId>org.apache.maven.plugins</groupId>
288
        <artifactId>maven-site-plugin</artifactId>
289 e3647a3c Andreas Kohlbecker
        <version>3.4</version>
290 66465ecb Andreas Kohlbecker
        <configuration>
291
          <locales>en</locales>
292 f15f6cdf Andreas Kohlbecker
          <outputEncoding>UTF-8</outputEncoding>
293
          <chmod>false</chmod>
294 66465ecb Andreas Kohlbecker
        </configuration>
295
      </plugin>
296
      <!-- ====== VERIFY ====== -->
297
      <plugin>
298
        <groupId>org.apache.maven.plugins</groupId>
299
        <artifactId>maven-source-plugin</artifactId>
300 179f09a7 Andreas Kohlbecker
        <version>2.4</version>
301 66465ecb Andreas Kohlbecker
        <executions>
302
          <execution>
303
            <id>attach-sources</id>
304
            <phase>verify</phase>
305
            <goals>
306
              <goal>jar</goal>
307
            </goals>
308
          </execution>
309
        </executions>
310
      </plugin>
311
      <plugin>
312
        <groupId>org.apache.maven.plugins</groupId>
313
        <artifactId>maven-javadoc-plugin</artifactId>
314 179f09a7 Andreas Kohlbecker
        <version>2.10.2</version>
315 66465ecb Andreas Kohlbecker
        <configuration>
316
          <aggregate>true</aggregate>
317
          <stylesheet>maven</stylesheet>
318 d2fbb2f5 Andreas Kohlbecker
          <failOnError>false</failOnError>
319
          <additionalparam>${javadoc.opts}</additionalparam>
320 66465ecb Andreas Kohlbecker
        </configuration>
321
      </plugin>
322 117b614b Andreas Kohlbecker
323 66465ecb Andreas Kohlbecker
      <!-- ====== PROCESS-SOURCES ====== -->
324
      <plugin>
325
        <groupId>org.apache.maven.plugins</groupId>
326
        <artifactId>maven-dependency-plugin</artifactId>
327 e3647a3c Andreas Kohlbecker
        <version>2.10</version>
328 66465ecb Andreas Kohlbecker
        <executions>
329
          <execution>
330
            <id>copy</id>
331
            <goals>
332
              <goal>copy</goal>
333
            </goals>
334
            <configuration>
335
              <silent>flase</silent>
336
              <stripVersion>true</stripVersion>
337
              <overWriteSnapshots>true</overWriteSnapshots>
338
              <overWriteIfNewer>true</overWriteIfNewer>
339
              <overWriteReleases>true</overWriteReleases>
340
              <artifactItems>
341
                <artifactItem>
342 d220174c Cherian Mathew
                  <!-- copy the cdm-webapp-${project.version}.war 
343 3f91e2a5 Cherian Mathew
                    to the build dir -->
344 66465ecb Andreas Kohlbecker
                  <groupId>eu.etaxonomy</groupId>
345 d220174c Cherian Mathew
                  <artifactId>cdm-webapp</artifactId>
346 9411e0fb Andreas Kohlbecker
                  <version>${project.version}</version>
347 66465ecb Andreas Kohlbecker
                  <type>war</type>
348
                  <!-- <classifier> [classifier - optional] </classifier> -->
349
                  <overWrite>true</overWrite>
350 d220174c Cherian Mathew
                  <destFileName>cdm-webapp-${project.version}.war</destFileName>
351 66465ecb Andreas Kohlbecker
                  <outputDirectory>
352 9e0cf9c0 Andreas Kohlbecker
                    ${project.build.directory}
353
                  </outputDirectory>
354 66465ecb Andreas Kohlbecker
                </artifactItem>
355
              </artifactItems>
356
            </configuration>
357
          </execution>
358
        </executions>
359
      </plugin>
360 17edc7de Andreas Kohlbecker
361 66465ecb Andreas Kohlbecker
      <!-- ====== PACKAGE ====== -->
362 d220174c Cherian Mathew
      <!-- package the default webapp, // (and also add the cdm-webapp.war) 
363 66465ecb Andreas Kohlbecker
        test with: mvn war:war -->
364
      <plugin>
365
        <groupId>org.apache.maven.plugins</groupId>
366
        <artifactId>maven-war-plugin</artifactId>
367 e3647a3c Andreas Kohlbecker
        <version>2.6</version>
368 66465ecb Andreas Kohlbecker
        <configuration>
369
          <warName>default-webapp</warName>
370 9e0cf9c0 Andreas Kohlbecker
          <packagingExcludes>
371 d220174c Cherian Mathew
            cdm-webapp-*.war
372 9e0cf9c0 Andreas Kohlbecker
          </packagingExcludes>
373 d220174c Cherian Mathew
          <!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId> 
374 3f91e2a5 Cherian Mathew
            <!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay 
375
            - -> </overlay> </overlays> -->
376 66465ecb Andreas Kohlbecker
        </configuration>
377
        <executions>
378
          <execution>
379
            <phase>package</phase>
380
            <goals>
381
              <goal>war</goal>
382
            </goals>
383
          </execution>
384
        </executions>
385
      </plugin>
386
      <!-- ====== INSTALL ====== -->
387
      <plugin>
388
        <!-- Assemble the runnable server jar test with: mvn assembly:single -->
389 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
390 66465ecb Andreas Kohlbecker
        <artifactId>maven-assembly-plugin</artifactId>
391 e3647a3c Andreas Kohlbecker
        <version>2.5.3</version>
392 66465ecb Andreas Kohlbecker
        <configuration>
393
          <appendAssemblyId>false</appendAssemblyId>
394
          <descriptors>
395
            <descriptor>src/main/assembly/assembly.xml</descriptor>
396
          </descriptors>
397
          <archive>
398
            <manifest>
399
              <mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
400
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
401
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
402
            </manifest>
403
          </archive>
404
        </configuration>
405
        <executions>
406
          <execution>
407
            <id>make-assembly</id>
408
            <phase>install</phase>
409
            <goals>
410
              <goal>attached</goal>
411
            </goals>
412
          </execution>
413
        </executions>
414
      </plugin>
415
      <plugin>
416
        <!-- Build a Debian package -->
417 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
418 66465ecb Andreas Kohlbecker
        <artifactId>maven-antrun-plugin</artifactId>
419 e3647a3c Andreas Kohlbecker
        <version>1.8</version>
420 66465ecb Andreas Kohlbecker
        <executions>
421
          <execution>
422
            <phase>install</phase>
423
            <configuration>
424
              <tasks>
425 624c228c edit-jenkins
                <property name="project.fullversionstring" value="${project.version}" />
426 66465ecb Andreas Kohlbecker
                <property name="project.version" value="${project.version}" />
427 624c228c edit-jenkins
                <ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
428 66465ecb Andreas Kohlbecker
              </tasks>
429
            </configuration>
430
            <goals>
431
              <goal>run</goal>
432
            </goals>
433
          </execution>
434
        </executions>
435
      </plugin>
436
      <!-- Build windows installer -->
437
      <plugin>
438
        <groupId>org.codehaus.mojo</groupId>
439
        <artifactId>exec-maven-plugin</artifactId>
440 179f09a7 Andreas Kohlbecker
        <version>1.3.2</version>
441 66465ecb Andreas Kohlbecker
        <executions>
442
          <execution>
443
            <phase>install</phase>
444
            <goals>
445
              <goal>exec</goal>
446
            </goals>
447
          </execution>
448
        </executions>
449
        <configuration>
450
          <executable>makensis</executable>
451
          <!-- optional -->
452
          <workingDirectory>/tmp</workingDirectory>
453
          <arguments>
454
            <!-- <argument>-V3</argument> -->
455
            <argument>${project.basedir}/target/installer/win32/setup.nsi</argument>
456
          </arguments>
457
        </configuration>
458
      </plugin>
459
      <!-- ====== DEPLOY ====== -->
460 e3647a3c Andreas Kohlbecker
      <plugin>
461
        <groupId>org.apache.maven.plugins</groupId> 
462
        <artifactId>maven-deploy-plugin</artifactId>
463 179f09a7 Andreas Kohlbecker
        <version>2.8.2</version>
464 e3647a3c Andreas Kohlbecker
      </plugin> 
465 66465ecb Andreas Kohlbecker
      <plugin>
466 096415c0 Andreas Kohlbecker
        <groupId>external.atlassian.jgitflow</groupId>
467
        <artifactId>jgitflow-maven-plugin</artifactId>
468 f3a1e350 Cherian Mathew
        <version>1.0-m6</version>
469 66465ecb Andreas Kohlbecker
        <configuration>
470 f3a1e350 Cherian Mathew
          <pushHotfixes>true</pushHotfixes>
471
          <pushReleases>true</pushReleases> 
472 096415c0 Andreas Kohlbecker
          <enableSshAgent>true</enableSshAgent>
473
          <allowSnapshots>true</allowSnapshots>
474
          <allowUntracked>true</allowUntracked>
475 66465ecb Andreas Kohlbecker
        </configuration>
476 f3a1e350 Cherian Mathew
        <dependencies>
477
          <!-- 
478
                upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53 
479 15a0854d Andreas Müller
                in order to have ssl key exchange algorithms compatible with openssh 6.7 
480 f3a1e350 Cherian Mathew
             -->
481
          <dependency>
482
            <groupId>com.jcraft</groupId>
483
            <artifactId>jsch</artifactId>
484
            <version>0.1.53</version>
485
          </dependency>
486
        </dependencies>
487 66465ecb Andreas Kohlbecker
      </plugin>
488
      <plugin>
489
        <groupId>org.codehaus.mojo</groupId>
490
        <artifactId>wagon-maven-plugin</artifactId>
491 e3647a3c Andreas Kohlbecker
        <version>1.0</version>
492 3f91e2a5 Cherian Mathew
        <!-- Problems with the wagon-maven-plugin have been encounterd on 
493
          Windows, it should work properly on linux though. -->
494 66465ecb Andreas Kohlbecker
        <executions>
495
          <execution>
496
            <phase>deploy</phase>
497
            <goals>
498
              <goal>upload</goal>
499
            </goals>
500
          </execution>
501
        </executions>
502
        <configuration>
503
          <fromDir>target</fromDir>
504
          <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
505
          <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
506
          <serverId>wp5.e-taxonomy.eu</serverId>
507
        </configuration>
508
      </plugin>
509
    </plugins>
510 c3cb2034 Cherian Mathew
    <!-- EXTENSIONS -->
511 66465ecb Andreas Kohlbecker
    <extensions>
512
      <extension>
513
        <groupId>org.apache.maven.wagon</groupId>
514
        <artifactId>wagon-scm</artifactId>
515 5bb72419 Cherian Mathew
        <version>1.0-beta-6</version>
516 66465ecb Andreas Kohlbecker
      </extension>
517
      <extension>
518
        <groupId>org.apache.maven.wagon</groupId>
519
        <artifactId>wagon-ssh</artifactId>
520 5bb72419 Cherian Mathew
        <version>1.0-beta-6</version>
521
      </extension>
522
      <extension>
523
        <groupId>org.apache.maven.wagon</groupId>
524
        <artifactId>wagon-ssh-external</artifactId>
525
        <version>1.0-beta-6</version>
526 66465ecb Andreas Kohlbecker
      </extension>
527
      <extension>
528
        <groupId>org.apache.maven.scm</groupId>
529
        <artifactId>maven-scm-manager-plexus</artifactId>
530
        <version>1.0</version>
531
      </extension>
532
      <extension>
533
        <groupId>org.apache.maven.scm</groupId>
534
        <artifactId>maven-scm-provider-svnexe</artifactId>
535
        <version>1.0</version>
536
      </extension>
537
      <!-- WebDAV plugin to upload snapshots -->
538
      <extension>
539
        <groupId>org.apache.maven.wagon</groupId>
540
        <artifactId>wagon-webdav</artifactId>
541
        <version>1.0-beta-2</version>
542
      </extension>
543 c3cb2034 Cherian Mathew
    </extensions>
544 66465ecb Andreas Kohlbecker
  </build>
545 5bd25aba Andreas Kohlbecker
546 66465ecb Andreas Kohlbecker
  <reporting>
547
    <plugins>
548
      <plugin>
549
        <!-- you will want to start by publishing your classes' Javadocs -->
550
        <groupId>org.apache.maven.plugins</groupId>
551
        <artifactId>maven-javadoc-plugin</artifactId>
552 d2fbb2f5 Andreas Kohlbecker
        <configuration>    
553
          <additionalparam>${javadoc.opts}</additionalparam>
554 66465ecb Andreas Kohlbecker
        </configuration>
555
      </plugin>
556
      <plugin>
557 3f91e2a5 Cherian Mathew
        <!-- this will generate an indexed and cross-referenced HTML version 
558 66465ecb Andreas Kohlbecker
          of your source code -->
559
        <groupId>org.apache.maven.plugins</groupId>
560
        <artifactId>maven-jxr-plugin</artifactId>
561 179f09a7 Andreas Kohlbecker
        <version>2.5</version>
562 66465ecb Andreas Kohlbecker
      </plugin>
563
      <plugin>
564 3f91e2a5 Cherian Mathew
        <!-- if you use @todo tags to remind you of things to be done (which 
565
          is a good coding practice), the taglist report will generate a list of all 
566 66465ecb Andreas Kohlbecker
          the items marked @todo or TODO -->
567
        <groupId>org.codehaus.mojo</groupId>
568
        <artifactId>taglist-maven-plugin</artifactId>
569 1f3a4888 Andreas Kohlbecker
        <version>2.4</version>
570 66465ecb Andreas Kohlbecker
      </plugin>
571
      <plugin>
572 3f91e2a5 Cherian Mathew
        <!-- Test coverage can be a useful indication of the quality of your 
573
          unit tests. It basically tells you how much of your code is actually run 
574
          by your unit tests, which, in turn, can give you a good idea of the tests' 
575 66465ecb Andreas Kohlbecker
          quality -->
576
        <groupId>org.codehaus.mojo</groupId>
577
        <artifactId>cobertura-maven-plugin</artifactId>
578 179f09a7 Andreas Kohlbecker
        <version>2.7</version>
579 66465ecb Andreas Kohlbecker
      </plugin>
580 5bd25aba Andreas Kohlbecker
581
582 66465ecb Andreas Kohlbecker
    </plugins>
583
  </reporting>
584
  <!-- DISTRIBUTION MANAGEMENT -->
585
  <distributionManagement>
586
    <site>
587
      <id>wp5.e-taxonomy.eu</id>
588
      <url>
589 84c4fcee Andreas Kohlbecker
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server
590 e0541bd1 Andreas Kohlbecker
      </url>
591 66465ecb Andreas Kohlbecker
    </site>
592
    <repository>
593
      <uniqueVersion>false</uniqueVersion>
594
      <id>wp5.e-taxonomy.eu</id>
595
      <name>Edit Maven Repository</name>
596
      <url>
597 0393c914 Andreas Kohlbecker
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
598 e0541bd1 Andreas Kohlbecker
      </url>
599 66465ecb Andreas Kohlbecker
    </repository>
600
  </distributionManagement>
601 5bd25aba Andreas Kohlbecker
602 66465ecb Andreas Kohlbecker
  <dependencies>
603 3f91e2a5 Cherian Mathew
    <!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts. 
604 d220174c Cherian Mathew
      The cdm-server Bootlader however relies on a specific name of the cdm-webapp 
605 3f91e2a5 Cherian Mathew
      war file. In order to achieve this with maven 3 the below dependency is now 
606
      handled more explicitely by utilizing the dependency:copy-dependencies gloal 
607 aa2c0090 Andreas Kohlbecker
      in the build/plugins section -->
608
      <!-- <dependency> -->
609
      <!--   <groupId>eu.etaxonomy</groupId>  -->
610
      <!--   <artifactId>cdm-webapp</artifactId> -->
611
      <!--   <version>${project.version}</version>  -->
612
      <!--   <type>war</type> -->
613
      <!-- </dependency> -->
614
      
615
    <!-- JETTY -->
616 66465ecb Andreas Kohlbecker
    <dependency>
617
      <groupId>org.eclipse.jetty</groupId>
618
      <artifactId>jetty-webapp</artifactId>
619
      <version>${jetty-version}</version>
620
    </dependency>
621
    <dependency>
622
      <groupId>org.eclipse.jetty</groupId>
623
      <artifactId>jetty-plus</artifactId>
624
      <version>${jetty-version}</version>
625
    </dependency>
626
    <dependency>
627
      <groupId>org.eclipse.jetty</groupId>
628
      <artifactId>jetty-jmx</artifactId>
629
      <version>${jetty-version}</version>
630
    </dependency>
631
    <dependency>
632
      <groupId>org.eclipse.jetty</groupId>
633
      <artifactId>jetty-security</artifactId>
634
      <version>${jetty-version}</version>
635
    </dependency>
636 3f91e2a5 Cherian Mathew
    <dependency>
637
      <groupId>org.eclipse.jetty</groupId>
638
      <artifactId>jetty-annotations</artifactId>
639
      <version>${jetty-version}</version>
640
    </dependency>
641 66465ecb Andreas Kohlbecker
    <dependency>
642 0cc3815c Cherian Mathew
      <groupId>org.eclipse.jetty</groupId>
643
      <artifactId>apache-jsp</artifactId>
644
      <version>${jetty-version}</version>
645
      <type>jar</type>
646
    </dependency>
647
    <dependency>
648
      <groupId>org.eclipse.jetty</groupId>
649
      <artifactId>apache-jstl</artifactId>
650
      <version>${jetty-version}</version>
651
      <type>pom</type>
652 66465ecb Andreas Kohlbecker
    </dependency>
653 c3cb2034 Cherian Mathew
    <dependency>
654
      <groupId>javax.el</groupId>
655
      <artifactId>el-api</artifactId>
656
      <version>2.2</version>
657
    </dependency>
658 a4bf929e Cherian Mathew
    <dependency>
659
      <groupId>el-impl</groupId>
660
      <artifactId>el-impl</artifactId>
661
      <version>1.0</version>
662
    </dependency>
663 66465ecb Andreas Kohlbecker
    <dependency>
664
      <groupId>javax.transaction</groupId>
665
      <artifactId>jta</artifactId>
666
      <version>1.1</version>
667
    </dependency>
668
    <!-- JSON -->
669
    <dependency>
670
      <groupId>org.codehaus.jackson</groupId>
671
      <artifactId>jackson-mapper-asl</artifactId>
672 3d32e7f8 Andreas Kohlbecker
      <version>1.9.11</version>
673 66465ecb Andreas Kohlbecker
    </dependency>
674
    <!-- windows service -->
675
    <dependency>
676
      <groupId>tanukisoft</groupId>
677
      <artifactId>wrapper</artifactId>
678
      <version>3.2.3</version>
679
    </dependency>
680 5bd25aba Andreas Kohlbecker
681 66465ecb Andreas Kohlbecker
    <!-- Logging -->
682
    <dependency>
683
      <groupId>org.slf4j</groupId>
684
      <artifactId>slf4j-api</artifactId>
685 3d32e7f8 Andreas Kohlbecker
      <version>1.7.13</version>
686 66465ecb Andreas Kohlbecker
    </dependency>
687
    <dependency>
688
      <groupId>org.slf4j</groupId>
689
      <artifactId>slf4j-log4j12</artifactId>
690 3d32e7f8 Andreas Kohlbecker
      <version>1.7.13</version>
691 66465ecb Andreas Kohlbecker
    </dependency>
692
    <dependency>
693
      <groupId>commons-cli</groupId>
694
      <artifactId>commons-cli</artifactId>
695 3d32e7f8 Andreas Kohlbecker
      <version>1.3.1</version>
696 66465ecb Andreas Kohlbecker
    </dependency>
697
    <dependency>
698
      <groupId>commons-io</groupId>
699
      <artifactId>commons-io</artifactId>
700
      <version>2.4</version>
701
    </dependency>
702 3f91e2a5 Cherian Mathew
    <dependency>
703
      <groupId>commons-collections</groupId>
704
      <artifactId>commons-collections</artifactId>
705
      <version>3.2.1</version>
706
    </dependency>
707 66465ecb Andreas Kohlbecker
    <dependency>
708
      <groupId>net.sf.jopt-simple</groupId>
709
      <artifactId>jopt-simple</artifactId>
710 3d32e7f8 Andreas Kohlbecker
      <version>4.9</version>
711 66465ecb Andreas Kohlbecker
    </dependency>
712 9824b51b Andreas Müller
    <!-- Database dependencies -->
713 66465ecb Andreas Kohlbecker
    <dependency>
714 9824b51b Andreas Müller
      <groupId>eu.etaxonomy</groupId>
715
      <artifactId>cdmlib-db</artifactId>
716
      <version>${project.version}</version>
717 66465ecb Andreas Kohlbecker
    </dependency>
718
  </dependencies>
719 5bd25aba Andreas Kohlbecker
720
</project>