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.26.0-PRE</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
	<cdm.version>5.26.0-SNAPSHOT</cdm.version>
16
</properties>
17

    
18
  <scm>
19
    <!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html 
20
      for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
21
    <connection>scm:git:https://dev.e-taxonomy.eu/git/cdm-server.git</connection>
22
    <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdm-server.git</developerConnection>
23
    <url>https://dev.e-taxonomy.eu/gitweb/cdm-server.git/tree</url>
24
  </scm>
25
  
26
  <prerequisites>
27
    <maven>3.2.3</maven>
28
  </prerequisites>
29

    
30
  <mailingLists>
31
    <mailingList>
32
        <name>EDIT Platform Developers</name>
33
        <subscribe>
34
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
35
        </subscribe>
36
        <unsubscribe>
37
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
38
        </unsubscribe>
39
    </mailingList>
40
    <mailingList>
41
        <name>EDIT User</name>
42
        <subscribe>
43
            https://lists.fu-berlin.de/listinfo/edituser#subscribe
44
        </subscribe>
45
        <unsubscribe>
46
            https://lists.fu-berlin.de/listinfo/edituser#options
47
        </unsubscribe>
48
    </mailingList>
49
  </mailingLists>
50
  <licenses>
51
    <license>
52
      <name>Mozilla Public License Version 1.1</name>
53
      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
54
      <distribution>repo</distribution>
55
    </license>
56
  </licenses>
57
  <developers>
58
    <developer>
59
      <!-- your SVN account id please! -->
60
      <id>a.kohlbecker</id>
61
      <name>
62
        Andreas Kohlbecker
63
      </name>
64
      <email>a.kohlbecker [at] bgbm.org</email>
65
      <organization>
66
        Botanical Garden Botanical Museum Berlin
67
      </organization>
68
      <organizationUrl>http://www.bgbm.org/BioDivInf/</organizationUrl>
69
      <timezone>+1</timezone>
70
      <roles>
71
        <role>Developer</role>
72
      </roles>
73
      <url />
74
    </developer>
75
  </developers>
76

    
77
  <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor> 
78
    </contributors -->
79
  <issueManagement>
80
    <system>Redmine</system>
81
    <url>http://dev.e-taxonomy.eu/redmine/</url>
82
  </issueManagement>
83
  <ciManagement>
84
    <system>Jenkins</system>
85
    <url>http://int.e-taxonomy.eu/jenkins</url>
86
  </ciManagement>
87
  <!-- **** REPOSITORIES **** -->
88
  <profiles>
89
    <profile>
90
      <id>local-repository</id>
91
      <activation>
92
        <property>
93
          <name>localrepo</name>
94
        </property>
95
      </activation>
96
      <repositories>
97
        <repository>
98
          <id>EditLocalRepository</id>
99
          <url>file://${localrepo}/eu/etaxonomy/</url>
100
          <releases>
101
            <enabled>false</enabled>
102
            <updatePolicy>always</updatePolicy>
103
          </releases>
104
          <snapshots>
105
            <enabled>true</enabled>
106
            <updatePolicy>always</updatePolicy>
107
          </snapshots>
108
        </repository>
109
      </repositories>
110
    </profile>
111
  </profiles>
112
  <repositories>
113
    <!-- sun repository -->
114
    <repository>
115
      <id>java.net-Public</id>
116
      <name>Maven Java Net Snapshots and Releases</name>
117
      <url>https://maven.java.net/content/groups/public/</url>
118
    </repository>
119
    <!-- the localhost Maven Repository -->
120
    <repository>
121
      <id>EditLocalRepository</id>
122
      <!-- disable the local repo to let maven always retrieve the latest 
123
        cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository 
124
        in MAVEN 3 -->
125
      <url>file://${user.home}/.m2/repository/eu/etaxonomy/</url>
126
      <releases>
127
        <enabled>false</enabled>
128
        <updatePolicy>always</updatePolicy>
129
      </releases>
130
      <snapshots>
131
        <enabled>false</enabled>
132
        <updatePolicy>always</updatePolicy>
133
      </snapshots>
134
    </repository>
135
    <!-- the EDIT Maven Repository -->
136
    <repository>
137
      <id>EditRepository</id>
138
      <url>http://wp5.e-taxonomy.eu/mavenrepo/</url>
139
      <releases>
140
        <enabled>true</enabled>
141
        <updatePolicy>always</updatePolicy>
142
      </releases>
143
      <snapshots>
144
        <enabled>true</enabled>
145
        <updatePolicy>always</updatePolicy>
146
      </snapshots>
147
    </repository>
148
    <!-- apache incubating repository -->
149
    <repository>
150
      <id>ApacheIncubating</id>
151
      <url>http://people.apache.org/repo/m2-incubating-repository/</url>
152
    </repository>
153
  </repositories>
154

    
155
  <!-- **** PLUGINS **** -->
156
  <build>
157
    <resources>
158
      <!-- ${basedir}/src/main/resources -->
159
      <resource>
160
        <!-- replace the cdm.version placeholder in the version.properties 
161
          file. This property can then be used to retrieve the version number in the 
162
          Bootloader -->
163
        <targetPath>${project.build.directory}/classes</targetPath>
164
        <filtering>true</filtering>
165
        <directory>${basedir}/src/main/resources</directory>
166
        <includes>
167
          <include>version.properties</include>
168
        </includes>
169
      </resource>
170
      <resource>
171
        <!-- all other files in classes -->
172
        <targetPath>${project.build.directory}/classes</targetPath>
173
        <directory>${basedir}/src/main/resources</directory>
174
        <excludes>
175
          <exclude>version.properties</exclude>
176
        </excludes>
177
      </resource>
178
      <!-- ${basedir}/src/main/installer/win32 -->
179
      <resource>
180
        <targetPath>${project.build.directory}/installer</targetPath>
181
        <filtering>true</filtering>
182
        <directory>${basedir}/src/main/installer</directory>
183
        <includes>
184
          <include>win32/program-folder/etc/CDMServer.conf</include>
185
          <include>win32/setup.nsi</include>
186
        </includes>
187
      </resource>
188
      <resource>
189
        <targetPath>${project.build.directory}/installer</targetPath>
190
        <directory>${basedir}/src/main/installer</directory>
191
        <excludes>
192
          <exclude>win32/program-folder/etc/CDMServer.conf</exclude>
193
          <exclude>win32/setup.nsi</exclude>
194
        </excludes>
195
      </resource>
196
    </resources>
197
    <plugins>
198
      <!-- ====== IDE ====== -->
199
      <plugin>
200
        <groupId>org.apache.maven.plugins</groupId>
201
        <artifactId>maven-eclipse-plugin</artifactId>
202
        <version>2.9</version>
203
        <configuration>
204
          <downloadSources>true</downloadSources>
205
          <downloadJavadocs>true</downloadJavadocs>
206
        </configuration>
207
      </plugin>
208

    
209
      <plugin>
210
        <!-- only needed for testing the svn credentials credentials are 
211
          usually stored by svn automatically unless not configured differently in 
212
          {user.home}\.subversion\config So in order to use a specific svn account 
213
          with maven firts to a commit manually by svn ci -m "commit message" and answer 
214
          the question wether to store the credential with yes. There is no specific 
215
          maven configuration required for svn to work with maven! -->
216
        <groupId>org.apache.maven.plugins</groupId>
217
        <artifactId>maven-scm-plugin</artifactId>
218
        <version>1.9.2</version>
219
        <configuration>
220
          <connectionType>developerConnection</connectionType>
221
        </configuration>
222
      </plugin>
223
      <!-- ====== CREATE ====== -->
224
      <plugin>
225
        <groupId>org.apache.maven.plugins</groupId>
226
        <artifactId>maven-resources-plugin</artifactId>
227
        <version>2.7</version>
228
      </plugin>
229
      <plugin>
230
        <groupId>org.apache.maven.plugins</groupId>
231
        <artifactId>maven-compiler-plugin</artifactId>
232
        <version>3.2</version>
233
        <configuration>
234
          <source>1.8</source>
235
          <target>1.8</target>
236
        </configuration>
237
      </plugin>
238
      <plugin>
239
        <groupId>org.apache.maven.plugins</groupId>
240
        <artifactId>maven-surefire-plugin</artifactId>
241
        <version>2.18.1</version>
242
        <configuration>
243
          <argLine>-Xmx512M</argLine>
244
          <includes>
245
            <include>**/*Test.java</include>
246
          </includes>
247
          <systemProperties>
248
            <property>
249
              <name>hibernate.connection.driver_class</name>
250
              <value>${hibernate.connection.driver_class}</value>
251
            </property>
252
            <property>
253
              <name>hibernate.connection.url</name>
254
              <value>${hibernate.connection.url}</value>
255
            </property>
256
            <property>
257
              <name>hibernate.connection.username</name>
258
              <value>${hibernate.connection.username}</value>
259
            </property>
260
            <property>
261
              <name>hibernate.connection.password</name>
262
              <value>${hibernate.connection.password}</value>
263
            </property>
264
          </systemProperties>
265
        </configuration>
266
      </plugin>
267
      <!-- ====== CREATE ====== -->
268
      <plugin>
269
        <groupId>org.codehaus.mojo</groupId>
270
        <artifactId>buildnumber-maven-plugin</artifactId>
271
        <version>1.3</version>
272
        <executions>
273
          <execution>
274
            <!--<phase>deploy</phase> -->
275
            <goals>
276
              <goal>create</goal>
277
            </goals>
278
          </execution>
279
        </executions>
280
        <configuration>
281
          <doCheck>false</doCheck>
282
          <!-- Only create the build number if there are no local modifications -->
283
          <doUpdate>false</doUpdate>
284
          <!-- automatically update the local svn copy -->
285
        </configuration>
286
      </plugin>
287
      <plugin>
288
        <groupId>org.apache.maven.plugins</groupId>
289
        <artifactId>maven-site-plugin</artifactId>
290
        <version>3.4</version>
291
        <configuration>
292
          <locales>en</locales>
293
          <outputEncoding>UTF-8</outputEncoding>
294
          <chmod>false</chmod>
295
        </configuration>
296
      </plugin>
297
      <!-- ====== VERIFY ====== -->
298
      <plugin>
299
        <groupId>org.apache.maven.plugins</groupId>
300
        <artifactId>maven-source-plugin</artifactId>
301
        <version>2.4</version>
302
        <executions>
303
          <execution>
304
            <id>attach-sources</id>
305
            <phase>verify</phase>
306
            <goals>
307
              <goal>jar</goal>
308
            </goals>
309
          </execution>
310
        </executions>
311
      </plugin>
312
      <plugin>
313
        <groupId>org.apache.maven.plugins</groupId>
314
        <artifactId>maven-javadoc-plugin</artifactId>
315
        <version>2.10.2</version>
316
        <configuration>
317
          <aggregate>true</aggregate>
318
          <stylesheet>maven</stylesheet>
319
          <failOnError>false</failOnError>
320
          <additionalparam>${javadoc.opts}</additionalparam>
321
        </configuration>
322
      </plugin>
323

    
324
      <!-- ====== PROCESS-SOURCES ====== -->
325
      <plugin>
326
        <groupId>org.apache.maven.plugins</groupId>
327
        <artifactId>maven-dependency-plugin</artifactId>
328
        <version>2.10</version>
329
        <executions>
330
          <execution>
331
            <id>copy</id>
332
            <goals>
333
              <goal>copy</goal>
334
            </goals>
335
            <configuration>
336
              <silent>flase</silent>
337
              <stripVersion>true</stripVersion>
338
              <overWriteSnapshots>true</overWriteSnapshots>
339
              <overWriteIfNewer>true</overWriteIfNewer>
340
              <overWriteReleases>true</overWriteReleases>
341
              <artifactItems>
342
                <artifactItem>
343
                  <!-- copy the cdm-webapp-${cdm.version}.war 
344
                    to the build dir -->
345
                  <groupId>eu.etaxonomy</groupId>
346
                  <artifactId>cdm-webapp</artifactId>
347
                  <version>${cdm.version}</version>
348
                  <type>war</type>
349
                  <!-- <classifier> [classifier - optional] </classifier> -->
350
                  <overWrite>true</overWrite>
351
                  <destFileName>cdm-webapp-${cdm.version}.war</destFileName>
352
                  <outputDirectory>
353
                    ${project.build.directory}
354
                  </outputDirectory>
355
                </artifactItem>
356
              </artifactItems>
357
            </configuration>
358
          </execution>
359
        </executions>
360
      </plugin>
361

    
362
      <!-- ====== PACKAGE ====== -->
363
      <!-- package the default webapp, // (and also add the cdm-webapp.war) 
364
        test with: mvn war:war -->
365
      <plugin>
366
        <groupId>org.apache.maven.plugins</groupId>
367
        <artifactId>maven-war-plugin</artifactId>
368
        <version>2.6</version>
369
        <configuration>
370
          <warName>default-webapp</warName>
371
          <packagingExcludes>
372
            cdm-webapp-*.war
373
          </packagingExcludes>
374
          <!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId> 
375
            <!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay 
376
            - -> </overlay> </overlays> -->
377
        </configuration>
378
        <executions>
379
          <execution>
380
            <phase>package</phase>
381
            <goals>
382
              <goal>war</goal>
383
            </goals>
384
          </execution>
385
        </executions>
386
      </plugin>
387
      <plugin>
388
        <!-- Assemble the runnable server jar test with: mvn assembly:single -->
389
        <groupId>org.apache.maven.plugins</groupId>
390
        <artifactId>maven-assembly-plugin</artifactId>
391
        <version>2.5.3</version>
392
        <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>package</phase>
409
            <goals>
410
              <goal>attached</goal>
411
            </goals>
412
          </execution>
413
        </executions>
414
      </plugin>
415
      <plugin>
416
      <!-- ====== INSTALL ====== -->
417
        <!-- Build a Debian package -->
418
        <groupId>org.apache.maven.plugins</groupId>
419
        <artifactId>maven-antrun-plugin</artifactId>
420
        <version>1.8</version>
421
        <executions>
422
          <execution>
423
            <phase>install</phase>
424
            <configuration>
425
              <tasks>
426
                <property name="project.fullversionstring" value="${cdm.version}" />
427
                <property name="cdm.version" value="${cdm.version}" />
428
                <ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
429
              </tasks>
430
            </configuration>
431
            <goals>
432
              <goal>run</goal>
433
            </goals>
434
          </execution>
435
        </executions>
436
      </plugin>
437
      <!-- Build windows installer -->
438
      <plugin>
439
        <groupId>org.codehaus.mojo</groupId>
440
        <artifactId>exec-maven-plugin</artifactId>
441
        <version>1.3.2</version>
442
        <executions>
443
          <execution>
444
            <!-- <phase>install</phase> --><!-- DISABLED -->
445
            <goals>
446
              <goal>exec</goal>
447
            </goals>
448
          </execution>
449
        </executions>
450
        <configuration>
451
          <executable>makensis</executable>
452
          <!-- optional -->
453
          <workingDirectory>/tmp</workingDirectory>
454
          <arguments>
455
            <!-- <argument>-V3</argument> -->
456
            <argument>${project.basedir}/target/installer/win32/setup.nsi</argument>
457
          </arguments>
458
        </configuration>
459
      </plugin>
460
      <!-- Build Docker image -->
461
      <plugin>
462
        <groupId>io.fabric8</groupId>
463
        <artifactId>docker-maven-plugin</artifactId>
464
        <version>0.28.0</version>
465
        <configuration>
466
           <images>
467
             <image>
468
               <!-- docker hub does not allow dots in organizations, so the name is
469
                    just 'cybertaxonomy', this MUST NOT BE CHANGED!!!!  -->
470
               <name>cybertaxonomy/${project.artifactId}:${project.version}</name>
471
               <build>
472
                 <!-- use a Dockerfile in the directory src/main/docker/production -->
473
                 <dockerFileDir>production</dockerFileDir>
474
                 <!-- fabric8-maven-plugin filters given Dockerfile with Maven properties -->
475
                 <!-- For example, the default <filter>${*}</filter> parse Maven properties 
476
                     in the format that we know. If you specify a single character for 
477
                     <filter> then this delimiter is taken for both, the start and the end. 
478
                     E.g a <filter>@</filter> triggers on parameters in the format @…​@, -->
479
                 <filter>@</filter>
480
                 <assembly>
481
                    <descriptorRef>artifact</descriptorRef>
482
                    <!--
483
                         1. The maven plugin copies the jar to the artifacts assembly location at:
484
                            ./target/docker/eu.etaxonomy/cdm-server/${cdm.version}/build/maven/cdm-server-${cdm.version}.jar
485
                         2. a tar is being created at target/docker/eu.etaxonomy/cdm-server/${cdm.version}/tmp/docker-build.tar 
486
                            which contains all files located in /target/docker/production and the artifacts. 
487
                            Artifacts are put into the folder maven/ inside the tar archive
488
                         3. The tar archive is passed to the docker daemon and is used as working directory for the build 
489
                     -->
490
                  </assembly>
491
               </build>
492
               
493
               <!-- TODO the run configuration if needed, see src/main/docker/production/README for examples -->
494
               <!-- 
495
               <run>
496
                 <ports>8080:8080</ports>
497
               </run>
498
                -->
499
             </image>
500
           </images>
501

    
502
        </configuration>
503

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

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

    
632

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

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

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

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