Project

General

Profile

Download (28.7 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.32.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
    <doclint>none</doclint>
15
    <log4j.version>2.18.0</log4j.version>
16
    <slf4j.version>1.7.36</slf4j.version>
17
  </properties>
18

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

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

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

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

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

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

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

    
506
        </configuration>
507

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

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

    
640

    
641
    </plugins>
642
  </reporting>
643
  <!-- DISTRIBUTION MANAGEMENT -->
644
  <distributionManagement>
645
    <site>
646
      <id>wp5.e-taxonomy.eu</id>
647
      <url>
648
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server
649
      </url>
650
    </site>
651
    <repository>
652
      <uniqueVersion>false</uniqueVersion>
653
      <id>wp5.e-taxonomy.eu</id>
654
      <name>Edit Maven Repository</name>
655
      <url>
656
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
657
      </url>
658
    </repository>
659
  </distributionManagement>
660

    
661
  <dependencyManagement>
662
    <dependencies>
663
      <dependency>
664
        <groupId>org.slf4j</groupId>
665
        <artifactId>slf4j-api</artifactId>
666
        <version>${slf4j.version}</version>
667
      </dependency>
668
    </dependencies>
669
  </dependencyManagement>
670
  <dependencies>
671
    <!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts. 
672
      The cdm-server Bootlader however relies on a specific name of the cdm-webapp 
673
      war file. In order to achieve this with maven 3 the below dependency is now 
674
      handled more explicitely by utilizing the dependency:copy-dependencies goal 
675
      in the build/plugins section -->
676
      <!-- <dependency> -->
677
      <!--   <groupId>eu.etaxonomy</groupId>  -->
678
      <!--   <artifactId>cdm-webapp</artifactId> -->
679
      <!--   <version>${project.version}</version>  -->
680
      <!--   <type>war</type> -->
681
      <!-- </dependency> -->
682
      
683
    <!-- JETTY -->
684
    <dependency>
685
      <groupId>org.eclipse.jetty</groupId>
686
      <artifactId>jetty-webapp</artifactId>
687
      <version>${jetty-version}</version>
688
    </dependency>
689
    <dependency>
690
        <groupId>org.eclipse.jetty</groupId>
691
        <artifactId>jetty-webapp-logging</artifactId>
692
        <version>9.4.20.v20190813</version><!-- versioning independent of jetty core -->
693
        <type>pom</type><!-- we only need the dependencies like jul-to-slf4j managed in this pom! -->
694
        <exclusions>
695
          <exclusion>
696
            <groupId>org.slf4j</groupId>
697
            <artifactId>log4j-over-slf4j</artifactId>
698
          </exclusion>
699
        </exclusions>
700
    </dependency>
701
    <dependency>
702
      <groupId>org.eclipse.jetty</groupId>
703
      <artifactId>jetty-plus</artifactId>
704
      <version>${jetty-version}</version>
705
    </dependency>
706
    <dependency>
707
      <groupId>org.eclipse.jetty</groupId>
708
      <artifactId>jetty-jmx</artifactId>
709
      <version>${jetty-version}</version>
710
    </dependency>
711
    <dependency>
712
      <groupId>org.eclipse.jetty</groupId>
713
      <artifactId>jetty-security</artifactId>
714
      <version>${jetty-version}</version>
715
    </dependency>
716
    <dependency>
717
      <groupId>org.eclipse.jetty</groupId>
718
      <artifactId>jetty-annotations</artifactId>
719
      <version>${jetty-version}</version>
720
    </dependency>
721
    <dependency>
722
      <groupId>org.eclipse.jetty</groupId>
723
      <artifactId>apache-jsp</artifactId>
724
      <version>${jetty-version}</version>
725
      <type>jar</type>
726
    </dependency>
727
    <dependency>
728
      <groupId>org.eclipse.jetty</groupId>
729
      <artifactId>apache-jstl</artifactId>
730
      <version>${jetty-version}</version>
731
      <type>pom</type>
732
    </dependency>
733
    <dependency>
734
        <groupId>javax.el</groupId>
735
        <artifactId>javax.el-api</artifactId>
736
        <version>3.0.0</version>
737
    </dependency>
738
    <dependency>
739
      <groupId>org.glassfish.web</groupId>
740
      <artifactId>el-impl</artifactId>
741
      <version>2.2</version>
742
    </dependency>
743
    <dependency>
744
      <groupId>javax.transaction</groupId>
745
      <artifactId>jta</artifactId>
746
      <version>1.1</version>
747
    </dependency>
748
    <!-- JSON -->
749
    <dependency>
750
      <!-- according to maven repo this artifact moved to com.fasterxml.jackson.core » jackson-databind
751
        but changing to next higher version 2.0.0 throws exceptions on the jsp pages (e.g. .../cdmserver/instances.jsp) -->
752
      <groupId>org.codehaus.jackson</groupId>
753
      <artifactId>jackson-mapper-asl</artifactId>
754
      <version>1.9.13</version>
755
    </dependency>
756
    <!-- windows service -->
757
    <dependency>
758
      <groupId>tanukisoft</groupId>
759
      <artifactId>wrapper</artifactId>
760
      <version>3.2.3</version>
761
    </dependency>
762

    
763
    <!-- Logging -->
764
    <dependency>
765
      <groupId>org.slf4j</groupId>
766
      <artifactId>slf4j-api</artifactId>
767
    </dependency>
768
    <dependency>
769
      <!-- move all logging to log4j 2-->
770
      <groupId>org.apache.logging.log4j</groupId>
771
      <artifactId>log4j-slf4j-impl</artifactId>
772
      <version>${log4j.version}</version>
773
    </dependency>
774
    <dependency>
775
      <groupId>org.apache.logging.log4j</groupId>
776
      <artifactId>log4j-core</artifactId>
777
      <version>${log4j.version}</version>
778
    </dependency>
779

    
780
    <dependency>
781
      <groupId>commons-cli</groupId>
782
      <artifactId>commons-cli</artifactId>
783
      <version>1.3.1</version>
784
    </dependency>
785
    <dependency>
786
      <groupId>commons-io</groupId>
787
      <artifactId>commons-io</artifactId>
788
      <version>2.11.0</version>
789
    </dependency>
790
    <dependency>
791
      <!-- only used in InstanceManger class -->
792
      <groupId>org.apache.commons</groupId>
793
      <artifactId>commons-collections4</artifactId>
794
      <version>4.4</version>
795
    </dependency>
796
    <dependency>
797
      <groupId>net.sf.jopt-simple</groupId>
798
      <artifactId>jopt-simple</artifactId>
799
      <version>5.0.4</version>
800
    </dependency>
801
    <!-- Database dependencies -->
802
    <dependency>
803
      <groupId>eu.etaxonomy</groupId>
804
      <artifactId>cdmlib-db</artifactId>
805
      <version>${project.version}</version>
806
    </dependency>
807
  </dependencies>
808

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