Project

General

Profile

Download (24.2 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 3c5d8ea0 jenkins
  <version>4.3.0</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 66465ecb Andreas Kohlbecker
  </properties>
15 5bd25aba Andreas Kohlbecker
16 66465ecb Andreas Kohlbecker
  <scm>
17 3f91e2a5 Cherian Mathew
    <!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html 
18 66465ecb Andreas Kohlbecker
      for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
19 e92eba73 edit-jenkins
    <connection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</connection>
20
    <developerConnection>scm:svn:http://dev.e-taxonomy.eu/svn/trunk/cdm-server</developerConnection>
21
    <url>http://dev.e-taxonomy.eu/trac/browser/trunk/cdm-server</url>
22 66465ecb Andreas Kohlbecker
  </scm>
23 e3647a3c Andreas Kohlbecker
  
24
  <prerequisites>
25 179f09a7 Andreas Kohlbecker
    <maven>3.0.5</maven>
26 e3647a3c Andreas Kohlbecker
  </prerequisites>
27 5bd25aba Andreas Kohlbecker
28 66465ecb Andreas Kohlbecker
  <mailingLists>
29
    <mailingList>
30 2a116ba5 Andreas Kohlbecker
        <name>EDIT Platform Developers</name>
31
        <subscribe>
32
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
33
        </subscribe>
34
        <unsubscribe>
35
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
36
        </unsubscribe>
37 66465ecb Andreas Kohlbecker
    </mailingList>
38
    <mailingList>
39 2a116ba5 Andreas Kohlbecker
        <name>EDIT User</name>
40
        <subscribe>
41
            https://lists.fu-berlin.de/listinfo/edituser#subscribe
42
        </subscribe>
43
        <unsubscribe>
44
            https://lists.fu-berlin.de/listinfo/edituser#options
45
        </unsubscribe>
46 66465ecb Andreas Kohlbecker
    </mailingList>
47
  </mailingLists>
48
  <licenses>
49
    <license>
50
      <name>Mozilla Public License Version 1.1</name>
51
      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
52
      <distribution>repo</distribution>
53
    </license>
54
  </licenses>
55
  <developers>
56
    <developer>
57
      <!-- your SVN account id please! -->
58
      <id>a.kohlbecker</id>
59
      <name>
60 e0541bd1 Andreas Kohlbecker
        Andreas Kohlbecker
61
      </name>
62 66465ecb Andreas Kohlbecker
      <email>a.kohlbecker [at] bgbm.org</email>
63
      <organization>
64 e0541bd1 Andreas Kohlbecker
        Botanical Garden Botanical Museum Berlin
65
      </organization>
66 66465ecb Andreas Kohlbecker
      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
67
      <timezone>+1</timezone>
68
      <roles>
69
        <role>Developer</role>
70
      </roles>
71
      <url />
72
    </developer>
73
  </developers>
74 5bd25aba Andreas Kohlbecker
75 3f91e2a5 Cherian Mathew
  <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor> 
76 66465ecb Andreas Kohlbecker
    </contributors -->
77
  <issueManagement>
78
    <system>Trac</system>
79
    <url>http://dev.e-taxonomy.eu/trac/</url>
80
  </issueManagement>
81
  <ciManagement>
82
    <system>Jenkins</system>
83
    <url>http://160.45.63.201/jenkins</url>
84
  </ciManagement>
85
  <!-- **** REPOSITORIES **** -->
86 9e0cf9c0 Andreas Kohlbecker
  <profiles>
87
    <profile>
88
      <id>local-repository</id>
89
      <activation>
90
        <property>
91
          <name>localrepo</name>
92
        </property>
93
      </activation>
94
      <repositories>
95
        <repository>
96
          <id>EditLocalRepository</id>
97
          <url>file://${localrepo}/eu/etaxonomy/</url>
98
          <releases>
99
            <enabled>false</enabled>
100
            <updatePolicy>always</updatePolicy>
101
          </releases>
102
          <snapshots>
103
            <enabled>true</enabled>
104
            <updatePolicy>always</updatePolicy>
105
          </snapshots>
106
        </repository>
107
      </repositories>
108
    </profile>
109
  </profiles>
110 66465ecb Andreas Kohlbecker
  <repositories>
111
    <!-- sun repository -->
112
    <repository>
113 3f91e2a5 Cherian Mathew
      <id>java.net-Public</id>
114
      <name>Maven Java Net Snapshots and Releases</name>
115
      <url>https://maven.java.net/content/groups/public/</url>
116 66465ecb Andreas Kohlbecker
    </repository>
117
    <!-- the localhost Maven Repository -->
118
    <repository>
119 3f91e2a5 Cherian Mathew
      <id>EditLocalRepository</id>
120
      <!-- disable the local repo to let maven always retrieve the latest 
121 d220174c Cherian Mathew
        cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository 
122 3f91e2a5 Cherian Mathew
        in MAVEN 3 -->
123
      <url>file://${user.home}/.m2/repository/eu/etaxonomy/</url>
124
      <releases>
125
        <enabled>false</enabled>
126
        <updatePolicy>always</updatePolicy>
127
      </releases>
128
      <snapshots>
129
        <enabled>false</enabled>
130
        <updatePolicy>always</updatePolicy>
131
      </snapshots>
132
    </repository>
133 66465ecb Andreas Kohlbecker
    <!-- the EDIT Maven Repository -->
134
    <repository>
135
      <id>EditRepository</id>
136
      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
137
      <releases>
138
        <enabled>true</enabled>
139
        <updatePolicy>always</updatePolicy>
140
      </releases>
141
      <snapshots>
142
        <enabled>true</enabled>
143
        <updatePolicy>always</updatePolicy>
144
      </snapshots>
145
    </repository>
146
    <!-- apache incubating repository -->
147
    <repository>
148
      <id>ApacheIncubating</id>
149
      <url>http://people.apache.org/repo/m2-incubating-repository/</url>
150
    </repository>
151
  </repositories>
152 5bd25aba Andreas Kohlbecker
153 66465ecb Andreas Kohlbecker
  <!-- **** PLUGINS **** -->
154
  <build>
155
    <resources>
156
      <!-- ${basedir}/src/main/resources -->
157
      <resource>
158 3f91e2a5 Cherian Mathew
        <!-- replace the project-version placeholder in the version.properties 
159
          file. This property can then be used to retrieve the version number in the 
160 66465ecb Andreas Kohlbecker
          Bootloader -->
161
        <targetPath>${project.build.directory}/classes</targetPath>
162
        <filtering>true</filtering>
163
        <directory>${basedir}/src/main/resources</directory>
164
        <includes>
165
          <include>version.properties</include>
166
        </includes>
167
      </resource>
168
      <resource>
169
        <!-- all other files in classes -->
170
        <targetPath>${project.build.directory}/classes</targetPath>
171
        <directory>${basedir}/src/main/resources</directory>
172
        <excludes>
173
          <exclude>version.properties</exclude>
174
        </excludes>
175
      </resource>
176
      <!-- ${basedir}/src/main/installer/win32 -->
177
      <resource>
178
        <targetPath>${project.build.directory}/installer</targetPath>
179
        <filtering>true</filtering>
180
        <directory>${basedir}/src/main/installer</directory>
181
        <includes>
182
          <include>win32/program-folder/etc/CDMServer.conf</include>
183
          <include>win32/setup.nsi</include>
184
        </includes>
185
      </resource>
186
      <resource>
187
        <targetPath>${project.build.directory}/installer</targetPath>
188
        <directory>${basedir}/src/main/installer</directory>
189
        <excludes>
190
          <exclude>win32/program-folder/etc/CDMServer.conf</exclude>
191
          <exclude>win32/setup.nsi</exclude>
192
        </excludes>
193
      </resource>
194
    </resources>
195
    <plugins>
196
      <!-- ====== IDE ====== -->
197
      <plugin>
198
        <groupId>org.apache.maven.plugins</groupId>
199
        <artifactId>maven-eclipse-plugin</artifactId>
200 1f3a4888 Andreas Kohlbecker
        <version>2.9</version>
201 66465ecb Andreas Kohlbecker
        <configuration>
202
          <downloadSources>true</downloadSources>
203
          <downloadJavadocs>true</downloadJavadocs>
204
        </configuration>
205
      </plugin>
206 117b614b Andreas Kohlbecker
207 66465ecb Andreas Kohlbecker
      <plugin>
208 3f91e2a5 Cherian Mathew
        <!-- only needed for testing the svn credentials credentials are 
209
          usually stored by svn automatically unless not configured differently in 
210
          {user.home}\.subversion\config So in order to use a specific svn account 
211
          with maven firts to a commit manually by svn ci -m "commit message" and answer 
212
          the question wether to store the credential with yes. There is no specific 
213
          maven configuration required for svn to work with maven! -->
214 66465ecb Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
215
        <artifactId>maven-scm-plugin</artifactId>
216 e3647a3c Andreas Kohlbecker
        <version>1.9.2</version>
217 66465ecb Andreas Kohlbecker
        <configuration>
218
          <connectionType>developerConnection</connectionType>
219
        </configuration>
220
      </plugin>
221
      <!-- ====== CREATE ====== -->
222 e3647a3c Andreas Kohlbecker
      <plugin>
223
        <groupId>org.apache.maven.plugins</groupId>
224
        <artifactId>maven-resources-plugin</artifactId>
225 179f09a7 Andreas Kohlbecker
        <version>2.7</version>
226 e3647a3c Andreas Kohlbecker
      </plugin>
227 66465ecb Andreas Kohlbecker
      <plugin>
228 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
229 66465ecb Andreas Kohlbecker
        <artifactId>maven-compiler-plugin</artifactId>
230 179f09a7 Andreas Kohlbecker
        <version>3.2</version>
231 66465ecb Andreas Kohlbecker
        <configuration>
232 15a0854d Andreas Müller
          <source>1.7</source>
233
          <target>1.7</target>
234 66465ecb Andreas Kohlbecker
        </configuration>
235
      </plugin>
236
      <plugin>
237 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
238 66465ecb Andreas Kohlbecker
        <artifactId>maven-surefire-plugin</artifactId>
239 179f09a7 Andreas Kohlbecker
        <version>2.18.1</version>
240 66465ecb Andreas Kohlbecker
        <configuration>
241
          <argLine>-Xmx512M</argLine>
242
          <includes>
243
            <include>**/*Test.java</include>
244
          </includes>
245
          <systemProperties>
246
            <property>
247
              <name>hibernate.connection.driver_class</name>
248
              <value>${hibernate.connection.driver_class}</value>
249
            </property>
250
            <property>
251
              <name>hibernate.connection.url</name>
252
              <value>${hibernate.connection.url}</value>
253
            </property>
254
            <property>
255
              <name>hibernate.connection.username</name>
256
              <value>${hibernate.connection.username}</value>
257
            </property>
258
            <property>
259
              <name>hibernate.connection.password</name>
260
              <value>${hibernate.connection.password}</value>
261
            </property>
262
          </systemProperties>
263
        </configuration>
264
      </plugin>
265
      <!-- ====== CREATE ====== -->
266
      <plugin>
267
        <groupId>org.codehaus.mojo</groupId>
268
        <artifactId>buildnumber-maven-plugin</artifactId>
269 e3647a3c Andreas Kohlbecker
        <version>1.3</version>
270 66465ecb Andreas Kohlbecker
        <executions>
271
          <execution>
272
            <!--<phase>deploy</phase> -->
273
            <goals>
274
              <goal>create</goal>
275
            </goals>
276
          </execution>
277
        </executions>
278
        <configuration>
279
          <doCheck>false</doCheck>
280
          <!-- Only create the build number if there are no local modifications -->
281
          <doUpdate>false</doUpdate>
282
          <!-- automatically update the local svn copy -->
283
        </configuration>
284
      </plugin>
285
      <plugin>
286
        <groupId>org.apache.maven.plugins</groupId>
287
        <artifactId>maven-site-plugin</artifactId>
288 e3647a3c Andreas Kohlbecker
        <version>3.4</version>
289 66465ecb Andreas Kohlbecker
        <configuration>
290
          <locales>en</locales>
291 f15f6cdf Andreas Kohlbecker
          <outputEncoding>UTF-8</outputEncoding>
292
          <chmod>false</chmod>
293 66465ecb Andreas Kohlbecker
        </configuration>
294
      </plugin>
295
      <!-- ====== VERIFY ====== -->
296
      <plugin>
297
        <groupId>org.apache.maven.plugins</groupId>
298
        <artifactId>maven-source-plugin</artifactId>
299 179f09a7 Andreas Kohlbecker
        <version>2.4</version>
300 66465ecb Andreas Kohlbecker
        <executions>
301
          <execution>
302
            <id>attach-sources</id>
303
            <phase>verify</phase>
304
            <goals>
305
              <goal>jar</goal>
306
            </goals>
307
          </execution>
308
        </executions>
309
      </plugin>
310
      <plugin>
311
        <groupId>org.apache.maven.plugins</groupId>
312
        <artifactId>maven-javadoc-plugin</artifactId>
313 179f09a7 Andreas Kohlbecker
        <version>2.10.2</version>
314 66465ecb Andreas Kohlbecker
        <configuration>
315
          <aggregate>true</aggregate>
316
          <stylesheet>maven</stylesheet>
317
        </configuration>
318
      </plugin>
319 117b614b Andreas Kohlbecker
320 66465ecb Andreas Kohlbecker
      <!-- ====== PROCESS-SOURCES ====== -->
321
      <plugin>
322
        <groupId>org.apache.maven.plugins</groupId>
323
        <artifactId>maven-dependency-plugin</artifactId>
324 e3647a3c Andreas Kohlbecker
        <version>2.10</version>
325 66465ecb Andreas Kohlbecker
        <executions>
326
          <execution>
327
            <id>copy</id>
328
            <goals>
329
              <goal>copy</goal>
330
            </goals>
331
            <configuration>
332
              <silent>flase</silent>
333
              <stripVersion>true</stripVersion>
334
              <overWriteSnapshots>true</overWriteSnapshots>
335
              <overWriteIfNewer>true</overWriteIfNewer>
336
              <overWriteReleases>true</overWriteReleases>
337
              <artifactItems>
338
                <artifactItem>
339 d220174c Cherian Mathew
                  <!-- copy the cdm-webapp-${project.version}.war 
340 3f91e2a5 Cherian Mathew
                    to the build dir -->
341 66465ecb Andreas Kohlbecker
                  <groupId>eu.etaxonomy</groupId>
342 d220174c Cherian Mathew
                  <artifactId>cdm-webapp</artifactId>
343 9411e0fb Andreas Kohlbecker
                  <version>${project.version}</version>
344 66465ecb Andreas Kohlbecker
                  <type>war</type>
345
                  <!-- <classifier> [classifier - optional] </classifier> -->
346
                  <overWrite>true</overWrite>
347 d220174c Cherian Mathew
                  <destFileName>cdm-webapp-${project.version}.war</destFileName>
348 66465ecb Andreas Kohlbecker
                  <outputDirectory>
349 9e0cf9c0 Andreas Kohlbecker
                    ${project.build.directory}
350
                  </outputDirectory>
351 66465ecb Andreas Kohlbecker
                </artifactItem>
352
              </artifactItems>
353
            </configuration>
354
          </execution>
355
        </executions>
356
      </plugin>
357 17edc7de Andreas Kohlbecker
358 66465ecb Andreas Kohlbecker
      <!-- ====== PACKAGE ====== -->
359 d220174c Cherian Mathew
      <!-- package the default webapp, // (and also add the cdm-webapp.war) 
360 66465ecb Andreas Kohlbecker
        test with: mvn war:war -->
361
      <plugin>
362
        <groupId>org.apache.maven.plugins</groupId>
363
        <artifactId>maven-war-plugin</artifactId>
364 e3647a3c Andreas Kohlbecker
        <version>2.6</version>
365 66465ecb Andreas Kohlbecker
        <configuration>
366
          <warName>default-webapp</warName>
367 9e0cf9c0 Andreas Kohlbecker
          <packagingExcludes>
368 d220174c Cherian Mathew
            cdm-webapp-*.war
369 9e0cf9c0 Andreas Kohlbecker
          </packagingExcludes>
370 d220174c Cherian Mathew
          <!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId> 
371 3f91e2a5 Cherian Mathew
            <!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay 
372
            - -> </overlay> </overlays> -->
373 66465ecb Andreas Kohlbecker
        </configuration>
374
        <executions>
375
          <execution>
376
            <phase>package</phase>
377
            <goals>
378
              <goal>war</goal>
379
            </goals>
380
          </execution>
381
        </executions>
382
      </plugin>
383
      <!-- ====== INSTALL ====== -->
384
      <plugin>
385
        <!-- Assemble the runnable server jar test with: mvn assembly:single -->
386 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
387 66465ecb Andreas Kohlbecker
        <artifactId>maven-assembly-plugin</artifactId>
388 e3647a3c Andreas Kohlbecker
        <version>2.5.3</version>
389 66465ecb Andreas Kohlbecker
        <configuration>
390
          <appendAssemblyId>false</appendAssemblyId>
391
          <descriptors>
392
            <descriptor>src/main/assembly/assembly.xml</descriptor>
393
          </descriptors>
394
          <archive>
395
            <manifest>
396
              <mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
397
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
398
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
399
            </manifest>
400
          </archive>
401
        </configuration>
402
        <executions>
403
          <execution>
404
            <id>make-assembly</id>
405
            <phase>install</phase>
406
            <goals>
407
              <goal>attached</goal>
408
            </goals>
409
          </execution>
410
        </executions>
411
      </plugin>
412
      <plugin>
413
        <!-- Build a Debian package -->
414 1f3a4888 Andreas Kohlbecker
        <groupId>org.apache.maven.plugins</groupId>
415 66465ecb Andreas Kohlbecker
        <artifactId>maven-antrun-plugin</artifactId>
416 e3647a3c Andreas Kohlbecker
        <version>1.8</version>
417 66465ecb Andreas Kohlbecker
        <executions>
418
          <execution>
419
            <phase>install</phase>
420
            <configuration>
421
              <tasks>
422 624c228c edit-jenkins
                <property name="project.fullversionstring" value="${project.version}" />
423 66465ecb Andreas Kohlbecker
                <property name="project.version" value="${project.version}" />
424 624c228c edit-jenkins
                <ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
425 66465ecb Andreas Kohlbecker
              </tasks>
426
            </configuration>
427
            <goals>
428
              <goal>run</goal>
429
            </goals>
430
          </execution>
431
        </executions>
432
      </plugin>
433
      <!-- Build windows installer -->
434
      <plugin>
435
        <groupId>org.codehaus.mojo</groupId>
436
        <artifactId>exec-maven-plugin</artifactId>
437 179f09a7 Andreas Kohlbecker
        <version>1.3.2</version>
438 66465ecb Andreas Kohlbecker
        <executions>
439
          <execution>
440
            <phase>install</phase>
441
            <goals>
442
              <goal>exec</goal>
443
            </goals>
444
          </execution>
445
        </executions>
446
        <configuration>
447
          <executable>makensis</executable>
448
          <!-- optional -->
449
          <workingDirectory>/tmp</workingDirectory>
450
          <arguments>
451
            <!-- <argument>-V3</argument> -->
452
            <argument>${project.basedir}/target/installer/win32/setup.nsi</argument>
453
          </arguments>
454
        </configuration>
455
      </plugin>
456
      <!-- ====== DEPLOY ====== -->
457 e3647a3c Andreas Kohlbecker
      <plugin>
458
        <groupId>org.apache.maven.plugins</groupId> 
459
        <artifactId>maven-deploy-plugin</artifactId>
460 179f09a7 Andreas Kohlbecker
        <version>2.8.2</version>
461 e3647a3c Andreas Kohlbecker
      </plugin> 
462 66465ecb Andreas Kohlbecker
      <plugin>
463 096415c0 Andreas Kohlbecker
        <groupId>external.atlassian.jgitflow</groupId>
464
        <artifactId>jgitflow-maven-plugin</artifactId>
465 f3a1e350 Cherian Mathew
        <version>1.0-m6</version>
466 66465ecb Andreas Kohlbecker
        <configuration>
467 f3a1e350 Cherian Mathew
          <pushHotfixes>true</pushHotfixes>
468
          <pushReleases>true</pushReleases> 
469 096415c0 Andreas Kohlbecker
          <enableSshAgent>true</enableSshAgent>
470
          <allowSnapshots>true</allowSnapshots>
471
          <allowUntracked>true</allowUntracked>
472 66465ecb Andreas Kohlbecker
        </configuration>
473 f3a1e350 Cherian Mathew
        <dependencies>
474
          <!-- 
475
                upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53 
476 15a0854d Andreas Müller
                in order to have ssl key exchange algorithms compatible with openssh 6.7 
477 f3a1e350 Cherian Mathew
             -->
478
          <dependency>
479
            <groupId>com.jcraft</groupId>
480
            <artifactId>jsch</artifactId>
481
            <version>0.1.53</version>
482
          </dependency>
483
        </dependencies>
484 66465ecb Andreas Kohlbecker
      </plugin>
485
      <plugin>
486
        <groupId>org.codehaus.mojo</groupId>
487
        <artifactId>wagon-maven-plugin</artifactId>
488 e3647a3c Andreas Kohlbecker
        <version>1.0</version>
489 3f91e2a5 Cherian Mathew
        <!-- Problems with the wagon-maven-plugin have been encounterd on 
490
          Windows, it should work properly on linux though. -->
491 66465ecb Andreas Kohlbecker
        <executions>
492
          <execution>
493
            <phase>deploy</phase>
494
            <goals>
495
              <goal>upload</goal>
496
            </goals>
497
          </execution>
498
        </executions>
499
        <configuration>
500
          <fromDir>target</fromDir>
501
          <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
502
          <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
503
          <serverId>wp5.e-taxonomy.eu</serverId>
504
        </configuration>
505
      </plugin>
506
    </plugins>
507 c3cb2034 Cherian Mathew
    <!-- EXTENSIONS -->
508 66465ecb Andreas Kohlbecker
    <extensions>
509
      <extension>
510
        <groupId>org.apache.maven.wagon</groupId>
511
        <artifactId>wagon-scm</artifactId>
512 5bb72419 Cherian Mathew
        <version>1.0-beta-6</version>
513 66465ecb Andreas Kohlbecker
      </extension>
514
      <extension>
515
        <groupId>org.apache.maven.wagon</groupId>
516
        <artifactId>wagon-ssh</artifactId>
517 5bb72419 Cherian Mathew
        <version>1.0-beta-6</version>
518
      </extension>
519
      <extension>
520
        <groupId>org.apache.maven.wagon</groupId>
521
        <artifactId>wagon-ssh-external</artifactId>
522
        <version>1.0-beta-6</version>
523 66465ecb Andreas Kohlbecker
      </extension>
524
      <extension>
525
        <groupId>org.apache.maven.scm</groupId>
526
        <artifactId>maven-scm-manager-plexus</artifactId>
527
        <version>1.0</version>
528
      </extension>
529
      <extension>
530
        <groupId>org.apache.maven.scm</groupId>
531
        <artifactId>maven-scm-provider-svnexe</artifactId>
532
        <version>1.0</version>
533
      </extension>
534
      <!-- WebDAV plugin to upload snapshots -->
535
      <extension>
536
        <groupId>org.apache.maven.wagon</groupId>
537
        <artifactId>wagon-webdav</artifactId>
538
        <version>1.0-beta-2</version>
539
      </extension>
540 c3cb2034 Cherian Mathew
    </extensions>
541 66465ecb Andreas Kohlbecker
  </build>
542 5bd25aba Andreas Kohlbecker
543 66465ecb Andreas Kohlbecker
  <reporting>
544
    <plugins>
545
      <plugin>
546
        <!-- you will want to start by publishing your classes' Javadocs -->
547
        <groupId>org.apache.maven.plugins</groupId>
548
        <artifactId>maven-javadoc-plugin</artifactId>
549
        <configuration>
550
          <links>
551
            <link>http://java.sun.com/j2se/1.6.0/docs/api/</link>
552
            <!-- more libraries? -->
553
          </links>
554
        </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>