Project

General

Profile

Download (27.2 KB) Statistics
| Branch: | Tag: | Revision:
1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3

    
4
  <modelVersion>4.0.0</modelVersion>
5
  <groupId>eu.etaxonomy</groupId>
6
  <artifactId>cdm-server</artifactId>
7
  <version>5.29.0-SNAPSHOT</version>
8
  <packaging>jar</packaging>
9
  <name>CDM Community Standalone Server</name>
10

    
11
  <properties>
12
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
13
    <jetty-version>9.4.26.v20200117</jetty-version>
14
    <javadoc.opts>-Xdoclint:none</javadoc.opts>
15
  </properties>
16

    
17
  <scm>
18
    <!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html 
19
      for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
20
    <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
  </scm>
24
  
25
  <prerequisites>
26
    <maven>3.2.3</maven>
27
  </prerequisites>
28

    
29
  <mailingLists>
30
    <mailingList>
31
        <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
    </mailingList>
39
    <mailingList>
40
        <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
    </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
        Andreas Kohlbecker
62
      </name>
63
      <email>a.kohlbecker [at] bgbm.org</email>
64
      <organization>
65
        Botanical Garden Botanical Museum Berlin
66
      </organization>
67
      <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

    
76
  <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor> 
77
    </contributors -->
78
  <issueManagement>
79
    <system>Redmine</system>
80
    <url>http://dev.e-taxonomy.eu/redmine/</url>
81
  </issueManagement>
82
  <ciManagement>
83
    <system>Jenkins</system>
84
    <url>http://int.e-taxonomy.eu/jenkins</url>
85
  </ciManagement>
86
  <!-- **** REPOSITORIES **** -->
87
  <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
  <repositories>
112
    <!-- sun repository -->
113
    <repository>
114
      <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
    </repository>
118
    <!-- the localhost Maven Repository -->
119
    <repository>
120
      <id>EditLocalRepository</id>
121
      <!-- disable the local repo to let maven always retrieve the latest 
122
        cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository 
123
        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
    <!-- 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

    
154
  <!-- **** PLUGINS **** -->
155
  <build>
156
    <resources>
157
      <!-- ${basedir}/src/main/resources -->
158
      <resource>
159
        <!-- 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
          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
        <version>2.9</version>
202
        <configuration>
203
          <downloadSources>true</downloadSources>
204
          <downloadJavadocs>true</downloadJavadocs>
205
        </configuration>
206
      </plugin>
207

    
208
      <plugin>
209
        <!-- 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
        <groupId>org.apache.maven.plugins</groupId>
216
        <artifactId>maven-scm-plugin</artifactId>
217
        <version>1.9.2</version>
218
        <configuration>
219
          <connectionType>developerConnection</connectionType>
220
        </configuration>
221
      </plugin>
222
      <!-- ====== CREATE ====== -->
223
      <plugin>
224
        <groupId>org.apache.maven.plugins</groupId>
225
        <artifactId>maven-resources-plugin</artifactId>
226
        <version>2.7</version>
227
      </plugin>
228
      <plugin>
229
        <groupId>org.apache.maven.plugins</groupId>
230
        <artifactId>maven-compiler-plugin</artifactId>
231
        <version>3.2</version>
232
        <configuration>
233
          <source>1.8</source>
234
          <target>1.8</target>
235
        </configuration>
236
      </plugin>
237
      <plugin>
238
        <groupId>org.apache.maven.plugins</groupId>
239
        <artifactId>maven-surefire-plugin</artifactId>
240
        <version>2.18.1</version>
241
        <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
        <version>1.3</version>
271
        <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
        <version>3.4</version>
290
        <configuration>
291
          <locales>en</locales>
292
          <outputEncoding>UTF-8</outputEncoding>
293
          <chmod>false</chmod>
294
        </configuration>
295
      </plugin>
296
      <!-- ====== VERIFY ====== -->
297
      <plugin>
298
        <groupId>org.apache.maven.plugins</groupId>
299
        <artifactId>maven-source-plugin</artifactId>
300
        <version>2.4</version>
301
        <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
        <version>2.10.2</version>
315
        <configuration>
316
          <aggregate>true</aggregate>
317
          <stylesheet>maven</stylesheet>
318
          <failOnError>false</failOnError>
319
          <additionalparam>${javadoc.opts}</additionalparam>
320
        </configuration>
321
      </plugin>
322

    
323
      <!-- ====== PROCESS-SOURCES ====== -->
324
      <plugin>
325
        <groupId>org.apache.maven.plugins</groupId>
326
        <artifactId>maven-dependency-plugin</artifactId>
327
        <version>2.10</version>
328
        <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
                  <!-- copy the cdm-webapp-${project.version}.war 
343
                    to the build dir -->
344
                  <groupId>eu.etaxonomy</groupId>
345
                  <artifactId>cdm-webapp</artifactId>
346
                  <version>${project.version}</version>
347
                  <type>war</type>
348
                  <!-- <classifier> [classifier - optional] </classifier> -->
349
                  <overWrite>true</overWrite>
350
                  <destFileName>cdm-webapp-${project.version}.war</destFileName>
351
                  <outputDirectory>
352
                    ${project.build.directory}
353
                  </outputDirectory>
354
                </artifactItem>
355
              </artifactItems>
356
            </configuration>
357
          </execution>
358
        </executions>
359
      </plugin>
360

    
361
      <!-- ====== PACKAGE ====== -->
362
      <!-- package the default webapp, // (and also add the cdm-webapp.war) 
363
        test with: mvn war:war -->
364
      <plugin>
365
        <groupId>org.apache.maven.plugins</groupId>
366
        <artifactId>maven-war-plugin</artifactId>
367
        <version>2.6</version>
368
        <configuration>
369
          <warName>default-webapp</warName>
370
          <packagingExcludes>
371
            cdm-webapp-*.war
372
          </packagingExcludes>
373
          <!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId> 
374
            <!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay 
375
            - -> </overlay> </overlays> -->
376
        </configuration>
377
        <executions>
378
          <execution>
379
            <phase>package</phase>
380
            <goals>
381
              <goal>war</goal>
382
            </goals>
383
          </execution>
384
        </executions>
385
      </plugin>
386
      <plugin>
387
        <!-- Assemble the runnable server jar test with: mvn assembly:single -->
388
        <groupId>org.apache.maven.plugins</groupId>
389
        <artifactId>maven-assembly-plugin</artifactId>
390
        <version>2.5.3</version>
391
        <configuration>
392
          <appendAssemblyId>false</appendAssemblyId>
393
          <descriptors>
394
            <descriptor>src/main/assembly/assembly.xml</descriptor>
395
          </descriptors>
396
          <archive>
397
            <manifest>
398
              <mainClass>eu.etaxonomy.cdm.server.Bootloader</mainClass>
399
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
400
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
401
            </manifest>
402
          </archive>
403
        </configuration>
404
        <executions>
405
          <execution>
406
            <id>make-assembly</id>
407
            <phase>package</phase>
408
            <goals>
409
              <goal>attached</goal>
410
            </goals>
411
          </execution>
412
        </executions>
413
      </plugin>
414
      <plugin>
415
      <!-- ====== INSTALL ====== -->
416
        <!-- Build a Debian package -->
417
        <groupId>org.apache.maven.plugins</groupId>
418
        <artifactId>maven-antrun-plugin</artifactId>
419
        <version>1.8</version>
420
        <executions>
421
          <execution>
422
            <phase>install</phase>
423
            <configuration>
424
              <tasks>
425
                <property name="project.fullversionstring" value="${project.version}" />
426
                <property name="project.version" value="${project.version}" />
427
                <ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
428
              </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
        <version>1.3.2</version>
441
        <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
      <!-- Build Docker image -->
460
      <plugin>
461
        <groupId>io.fabric8</groupId>
462
        <artifactId>docker-maven-plugin</artifactId>
463
        <version>0.28.0</version>
464
        <configuration>
465
           <images>
466
             <image>
467
               <!-- docker hub does not allow dots in organizations, so the name is
468
                    just 'cybertaxonomy', this MUST NOT BE CHANGED!!!!  -->
469
               <name>cybertaxonomy/${project.artifactId}:${project.version}</name>
470
               <build>
471
                 <!-- use a Dockerfile in the directory src/main/docker/production -->
472
                 <dockerFileDir>production</dockerFileDir>
473
                 <!-- fabric8-maven-plugin filters given Dockerfile with Maven properties -->
474
                 <!-- For example, the default <filter>${*}</filter> parse Maven properties 
475
                     in the format that we know. If you specify a single character for 
476
                     <filter> then this delimiter is taken for both, the start and the end. 
477
                     E.g a <filter>@</filter> triggers on parameters in the format @…​@, -->
478
                 <filter>@</filter>
479
                 <assembly>
480
                    <descriptorRef>artifact</descriptorRef>
481
                    <!--
482
                         1. The maven plugin copies the jar to the artifacts assembly location at:
483
                            ./target/docker/eu.etaxonomy/cdm-server/${project.version}/build/maven/cdm-server-${project.version}.jar
484
                         2. a tar is being created at target/docker/eu.etaxonomy/cdm-server/${project.version}/tmp/docker-build.tar 
485
                            which contains all files located in /target/docker/production and the artifacts. 
486
                            Artifacts are put into the folder maven/ inside the tar archive
487
                         3. The tar archive is passed to the docker daemon and is used as working directory for the build 
488
                     -->
489
                  </assembly>
490
               </build>
491
               
492
               <!-- TODO the run configuration if needed, see src/main/docker/production/README for examples -->
493
               <!-- 
494
               <run>
495
                 <ports>8080:8080</ports>
496
               </run>
497
                -->
498
             </image>
499
           </images>
500

    
501
        </configuration>
502

    
503
        <!-- Connect start/stop to pre- and
504
             post-integration-test phase, respectively if you want to start
505
             your docker containers during integration tests -->
506
        <executions>
507
        </executions>
508
      </plugin>
509
      <!-- ====== DEPLOY ====== -->
510
      <plugin>
511
        <groupId>org.apache.maven.plugins</groupId> 
512
        <artifactId>maven-deploy-plugin</artifactId>
513
        <version>2.8.2</version>
514
      </plugin> 
515
      <plugin>
516
        <groupId>external.atlassian.jgitflow</groupId>
517
        <artifactId>jgitflow-maven-plugin</artifactId>
518
        <version>1.0-m6</version>
519
        <configuration>
520
          <pushHotfixes>true</pushHotfixes>
521
          <pushReleases>true</pushReleases> 
522
          <enableSshAgent>true</enableSshAgent>
523
          <allowSnapshots>true</allowSnapshots>
524
          <allowUntracked>true</allowUntracked>
525
        </configuration>
526
        <dependencies>
527
          <!-- 
528
                upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53 
529
                in order to have ssl key exchange algorithms compatible with openssh 6.7 
530
             -->
531
          <dependency>
532
            <groupId>com.jcraft</groupId>
533
            <artifactId>jsch</artifactId>
534
            <version>0.1.53</version>
535
          </dependency>
536
        </dependencies>
537
      </plugin>
538
      <plugin>
539
        <groupId>org.codehaus.mojo</groupId>
540
        <artifactId>wagon-maven-plugin</artifactId>
541
        <version>1.0</version>
542
        <!-- Problems with the wagon-maven-plugin have been encounterd on 
543
          Windows, it should work properly on linux though. -->
544
        <executions>
545
          <execution>
546
            <phase>deploy</phase>
547
            <goals>
548
              <goal>upload</goal>
549
            </goals>
550
          </execution>
551
        </executions>
552
        <configuration>
553
          <fromDir>target</fromDir>
554
          <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
555
          <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
556
          <serverId>wp5.e-taxonomy.eu</serverId>
557
        </configuration>
558
      </plugin>
559
    </plugins>
560
    <!-- EXTENSIONS -->
561
    <extensions>
562
      <extension>
563
        <groupId>org.apache.maven.wagon</groupId>
564
        <artifactId>wagon-scm</artifactId>
565
        <version>1.0-beta-6</version>
566
      </extension>
567
      <extension>
568
        <groupId>org.apache.maven.wagon</groupId>
569
        <artifactId>wagon-ssh</artifactId>
570
        <version>1.0-beta-6</version>
571
      </extension>
572
      <extension>
573
        <groupId>org.apache.maven.wagon</groupId>
574
        <artifactId>wagon-ssh-external</artifactId>
575
        <version>1.0-beta-6</version>
576
      </extension>
577
      <extension>
578
        <groupId>org.apache.maven.scm</groupId>
579
        <artifactId>maven-scm-manager-plexus</artifactId>
580
        <version>1.0</version>
581
      </extension>
582
      <extension>
583
        <groupId>org.apache.maven.scm</groupId>
584
        <artifactId>maven-scm-provider-svnexe</artifactId>
585
        <version>1.0</version>
586
      </extension>
587
      <!-- WebDAV plugin to upload snapshots -->
588
      <extension>
589
        <groupId>org.apache.maven.wagon</groupId>
590
        <artifactId>wagon-webdav</artifactId>
591
        <version>1.0-beta-2</version>
592
      </extension>
593
    </extensions>
594
  </build>
595

    
596
  <reporting>
597
    <plugins>
598
      <plugin>
599
        <!-- you will want to start by publishing your classes' Javadocs -->
600
        <groupId>org.apache.maven.plugins</groupId>
601
        <artifactId>maven-javadoc-plugin</artifactId>
602
        <configuration>    
603
          <additionalparam>${javadoc.opts}</additionalparam>
604
        </configuration>
605
      </plugin>
606
      <plugin>
607
        <!-- this will generate an indexed and cross-referenced HTML version 
608
          of your source code -->
609
        <groupId>org.apache.maven.plugins</groupId>
610
        <artifactId>maven-jxr-plugin</artifactId>
611
        <version>2.5</version>
612
      </plugin>
613
      <plugin>
614
        <!-- if you use @todo tags to remind you of things to be done (which 
615
          is a good coding practice), the taglist report will generate a list of all 
616
          the items marked @todo or TODO -->
617
        <groupId>org.codehaus.mojo</groupId>
618
        <artifactId>taglist-maven-plugin</artifactId>
619
        <version>2.4</version>
620
      </plugin>
621
      <plugin>
622
        <!-- Test coverage can be a useful indication of the quality of your 
623
          unit tests. It basically tells you how much of your code is actually run 
624
          by your unit tests, which, in turn, can give you a good idea of the tests' 
625
          quality -->
626
        <groupId>org.codehaus.mojo</groupId>
627
        <artifactId>cobertura-maven-plugin</artifactId>
628
        <version>2.7</version>
629
      </plugin>
630

    
631

    
632
    </plugins>
633
  </reporting>
634
  <!-- DISTRIBUTION MANAGEMENT -->
635
  <distributionManagement>
636
    <site>
637
      <id>wp5.e-taxonomy.eu</id>
638
      <url>
639
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server
640
      </url>
641
    </site>
642
    <repository>
643
      <uniqueVersion>false</uniqueVersion>
644
      <id>wp5.e-taxonomy.eu</id>
645
      <name>Edit Maven Repository</name>
646
      <url>
647
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
648
      </url>
649
    </repository>
650
  </distributionManagement>
651

    
652
  <dependencies>
653
    <!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts. 
654
      The cdm-server Bootlader however relies on a specific name of the cdm-webapp 
655
      war file. In order to achieve this with maven 3 the below dependency is now 
656
      handled more explicitely by utilizing the dependency:copy-dependencies goal 
657
      in the build/plugins section -->
658
      <!-- <dependency> -->
659
      <!--   <groupId>eu.etaxonomy</groupId>  -->
660
      <!--   <artifactId>cdm-webapp</artifactId> -->
661
      <!--   <version>${project.version}</version>  -->
662
      <!--   <type>war</type> -->
663
      <!-- </dependency> -->
664
      
665
    <!-- JETTY -->
666
    <dependency>
667
      <groupId>org.eclipse.jetty</groupId>
668
      <artifactId>jetty-webapp</artifactId>
669
      <version>${jetty-version}</version>
670
    </dependency>
671
    <dependency>
672
        <groupId>org.eclipse.jetty</groupId>
673
        <artifactId>jetty-webapp-logging</artifactId>
674
        <version>9.4.20.v20190813</version><!-- versioning independent of jetty core -->
675
        <type>pom</type><!-- we only need the dependencies like jul-to-slf4j managed in this pom! -->
676
    </dependency>
677
    <dependency>
678
      <groupId>org.eclipse.jetty</groupId>
679
      <artifactId>jetty-plus</artifactId>
680
      <version>${jetty-version}</version>
681
    </dependency>
682
    <dependency>
683
      <groupId>org.eclipse.jetty</groupId>
684
      <artifactId>jetty-jmx</artifactId>
685
      <version>${jetty-version}</version>
686
    </dependency>
687
    <dependency>
688
      <groupId>org.eclipse.jetty</groupId>
689
      <artifactId>jetty-security</artifactId>
690
      <version>${jetty-version}</version>
691
    </dependency>
692
    <dependency>
693
      <groupId>org.eclipse.jetty</groupId>
694
      <artifactId>jetty-annotations</artifactId>
695
      <version>${jetty-version}</version>
696
    </dependency>
697
    <dependency>
698
      <groupId>org.eclipse.jetty</groupId>
699
      <artifactId>apache-jsp</artifactId>
700
      <version>${jetty-version}</version>
701
      <type>jar</type>
702
    </dependency>
703
    <dependency>
704
      <groupId>org.eclipse.jetty</groupId>
705
      <artifactId>apache-jstl</artifactId>
706
      <version>${jetty-version}</version>
707
      <type>pom</type>
708
    </dependency>
709
    <dependency>
710
      <groupId>javax.el</groupId>
711
      <artifactId>el-api</artifactId>
712
      <version>2.2</version>
713
    </dependency>
714
    <dependency>
715
      <groupId>el-impl</groupId>
716
      <artifactId>el-impl</artifactId>
717
      <version>1.0</version>
718
    </dependency>
719
    <dependency>
720
      <groupId>javax.transaction</groupId>
721
      <artifactId>jta</artifactId>
722
      <version>1.1</version>
723
    </dependency>
724
    <!-- JSON -->
725
    <dependency>
726
      <groupId>org.codehaus.jackson</groupId>
727
      <artifactId>jackson-mapper-asl</artifactId>
728
      <version>1.9.11</version>
729
    </dependency>
730
    <!-- windows service -->
731
    <dependency>
732
      <groupId>tanukisoft</groupId>
733
      <artifactId>wrapper</artifactId>
734
      <version>3.2.3</version>
735
    </dependency>
736

    
737
    <!-- Logging -->
738
    <dependency>
739
      <groupId>org.slf4j</groupId>
740
      <artifactId>slf4j-api</artifactId>
741
      <version>1.7.13</version>
742
    </dependency>
743
    <dependency>
744
      <groupId>org.slf4j</groupId>
745
      <artifactId>slf4j-log4j12</artifactId>
746
      <version>1.7.13</version>
747
    </dependency>
748
    <dependency>
749
      <groupId>commons-cli</groupId>
750
      <artifactId>commons-cli</artifactId>
751
      <version>1.3.1</version>
752
    </dependency>
753
    <dependency>
754
      <groupId>commons-io</groupId>
755
      <artifactId>commons-io</artifactId>
756
      <version>2.4</version>
757
    </dependency>
758
    <dependency>
759
      <groupId>commons-collections</groupId>
760
      <artifactId>commons-collections</artifactId>
761
      <version>3.2.1</version>
762
    </dependency>
763
    <dependency>
764
      <groupId>net.sf.jopt-simple</groupId>
765
      <artifactId>jopt-simple</artifactId>
766
      <version>4.9</version>
767
    </dependency>
768
    <!-- Database dependencies -->
769
    <dependency>
770
      <groupId>eu.etaxonomy</groupId>
771
      <artifactId>cdmlib-db</artifactId>
772
      <version>${project.version}</version>
773
    </dependency>
774
  </dependencies>
775

    
776
</project>
(4-4/4)