Project

General

Profile

Download (29.1 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
  <modelVersion>4.0.0</modelVersion>
4
  <groupId>eu.etaxonomy</groupId>
5
  <artifactId>cdm-server</artifactId>
6
  <version>5.42.0</version>
7
  <packaging>jar</packaging>
8
  <name>CDM Community Standalone Server</name>
9
  <properties>
10
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11
    <jetty-version>9.4.26.v20200117</jetty-version>
12
    <doclint>none</doclint>
13
    <log4j.version>2.19.0</log4j.version>
14
    <slf4j.version>1.7.36</slf4j.version>
15
  </properties>
16
  <scm>
17
    <!-- see section Provider Configuration in https://maven.apache.org/scm/subversion.html 
18
      for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml -->
19
    <connection>scm:git:https://dev.e-taxonomy.eu/git/cdm-server.git</connection>
20
    <developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdm-server.git</developerConnection>
21
    <url>https://dev.e-taxonomy.eu/gitweb/cdm-server.git/tree</url>
22
  </scm>
23
  <prerequisites>
24
    <maven>3.6.3</maven>
25
  </prerequisites>
26
  <mailingLists>
27
    <mailingList>
28
      <name>EDIT Platform Developers</name>
29
      <subscribe>
30
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe
31
        </subscribe>
32
      <unsubscribe>
33
            https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options
34
        </unsubscribe>
35
    </mailingList>
36
    <mailingList>
37
      <name>EDIT User</name>
38
      <subscribe>
39
            https://lists.fu-berlin.de/listinfo/edituser#subscribe
40
        </subscribe>
41
      <unsubscribe>
42
            https://lists.fu-berlin.de/listinfo/edituser#options
43
        </unsubscribe>
44
    </mailingList>
45
  </mailingLists>
46
  <licenses>
47
    <license>
48
      <name>Mozilla Public License Version 1.1</name>
49
      <url>https://www.mozilla.org/MPL/MPL-1.1.html</url>
50
      <distribution>repo</distribution>
51
    </license>
52
  </licenses>
53
  <developers>
54
    <developer>
55
      <!-- your SVN account id please! -->
56
      <id>a.kohlbecker</id>
57
      <name>
58
        Andreas Kohlbecker
59
      </name>
60
      <email>a.kohlbecker [at] bgbm.org</email>
61
      <organization>
62
        Botanical Garden Botanical Museum Berlin
63
      </organization>
64
      <organizationUrl>https://www.bgbm.org/en/biodiversity-informatics</organizationUrl>
65
      <timezone>+1</timezone>
66
      <roles>
67
        <role>Developer</role>
68
      </roles>
69
      <url/>
70
    </developer>
71
  </developers>
72
  <!-- contributors> <contributor> <name>Test-Contributor</name> </contributor> 
73
    </contributors -->
74
  <issueManagement>
75
    <system>Redmine</system>
76
    <url>https://dev.e-taxonomy.eu/redmine/</url>
77
  </issueManagement>
78
  <ciManagement>
79
    <system>Jenkins</system>
80
    <url>https://int.e-taxonomy.eu/jenkins</url>
81
  </ciManagement>
82
  <!-- **** REPOSITORIES **** -->
83
  <profiles>
84
    <profile>
85
      <id>local-repository</id>
86
      <activation>
87
        <property>
88
          <name>localrepo</name>
89
        </property>
90
      </activation>
91
      <repositories>
92
        <repository>
93
          <id>EditLocalRepository</id>
94
          <url>file://${localrepo}/eu/etaxonomy/</url>
95
          <releases>
96
            <enabled>false</enabled>
97
            <updatePolicy>always</updatePolicy>
98
          </releases>
99
          <snapshots>
100
            <enabled>true</enabled>
101
            <updatePolicy>always</updatePolicy>
102
          </snapshots>
103
        </repository>
104
      </repositories>
105
    </profile>
106
  </profiles>
107
  <repositories>
108
    <!-- sun repository -->
109
    <repository>
110
      <id>java.net-Public</id>
111
      <name>Maven Java Net Snapshots and Releases</name>
112
      <url>https://maven.java.net/content/groups/public/</url>
113
    </repository>
114
    <!-- the localhost Maven Repository -->
115
    <repository>
116
      <id>EditLocalRepository</id>
117
      <!-- disable the local repo to let maven always retrieve the latest 
118
        cdm-webapp.war TODO: use ${localrepo} for ${user.home}/.m2/repository 
119
        in MAVEN 3 -->
120
      <url>file://${user.home}/.m2/repository/eu/etaxonomy/</url>
121
      <releases>
122
        <enabled>false</enabled>
123
        <updatePolicy>always</updatePolicy>
124
      </releases>
125
      <snapshots>
126
        <enabled>false</enabled>
127
        <updatePolicy>always</updatePolicy>
128
      </snapshots>
129
    </repository>
130
    <!-- the EDIT Maven Repository -->
131
    <repository>
132
      <id>EditRepository</id>
133
      <url>https://cybertaxonomy.org/mavenrepo/</url>
134
      <releases>
135
        <enabled>true</enabled>
136
        <updatePolicy>always</updatePolicy>
137
      </releases>
138
      <snapshots>
139
        <enabled>true</enabled>
140
        <updatePolicy>always</updatePolicy>
141
      </snapshots>
142
    </repository>
143
    <!-- apache incubating repository -->
144
    <repository>
145
      <id>ApacheIncubating</id>
146
      <url>https://people.apache.org/repo/m2-incubating-repository/</url>
147
    </repository>
148
  </repositories>
149
  <!-- **** PLUGINS **** -->
150
  <build>
151
    <resources>
152
      <!-- ${basedir}/src/main/resources -->
153
      <resource>
154
        <!-- replace the project-version placeholder in the version.properties 
155
          file. This property can then be used to retrieve the version number in the 
156
          Bootloader -->
157
        <targetPath>${project.build.directory}/classes</targetPath>
158
        <filtering>true</filtering>
159
        <directory>${basedir}/src/main/resources</directory>
160
        <includes>
161
          <include>version.properties</include>
162
        </includes>
163
      </resource>
164
      <resource>
165
        <!-- all other files in classes -->
166
        <targetPath>${project.build.directory}/classes</targetPath>
167
        <directory>${basedir}/src/main/resources</directory>
168
        <excludes>
169
          <exclude>version.properties</exclude>
170
        </excludes>
171
      </resource>
172
      <!-- ${basedir}/src/main/installer/win32 -->
173
      <resource>
174
        <targetPath>${project.build.directory}/installer</targetPath>
175
        <filtering>true</filtering>
176
        <directory>${basedir}/src/main/installer</directory>
177
        <includes>
178
          <include>win32/program-folder/etc/CDMServer.conf</include>
179
          <include>win32/setup.nsi</include>
180
        </includes>
181
      </resource>
182
      <resource>
183
        <targetPath>${project.build.directory}/installer</targetPath>
184
        <directory>${basedir}/src/main/installer</directory>
185
        <excludes>
186
          <exclude>win32/program-folder/etc/CDMServer.conf</exclude>
187
          <exclude>win32/setup.nsi</exclude>
188
        </excludes>
189
      </resource>
190
    </resources>
191
    <plugins>
192
      <!-- ====== IDE ====== -->
193
      <plugin>
194
        <groupId>org.apache.maven.plugins</groupId>
195
        <artifactId>maven-eclipse-plugin</artifactId>
196
        <version>2.10</version>
197
        <configuration>
198
          <downloadSources>true</downloadSources>
199
          <downloadJavadocs>true</downloadJavadocs>
200
        </configuration>
201
      </plugin>
202
      <plugin>
203
        <!-- only needed for testing the svn credentials credentials are 
204
          usually stored by svn automatically unless not configured differently in 
205
          {user.home}\.subversion\config So in order to use a specific svn account 
206
          with maven firts to a commit manually by svn ci -m "commit message" and answer 
207
          the question wether to store the credential with yes. There is no specific 
208
          maven configuration required for svn to work with maven! -->
209
        <groupId>org.apache.maven.plugins</groupId>
210
        <artifactId>maven-scm-plugin</artifactId>
211
        <version>1.9.2</version>
212
        <configuration>
213
          <connectionType>developerConnection</connectionType>
214
        </configuration>
215
      </plugin>
216
      <!-- ====== CREATE ====== -->
217
      <plugin>
218
        <groupId>org.apache.maven.plugins</groupId>
219
        <artifactId>maven-resources-plugin</artifactId>
220
        <!-- creates "compile" error in IDE in maven-dependency-plugin section (see below) since upgrading from 3.1.0 to 3.2.0 -->
221
        <version>3.2.0</version>
222
      </plugin>
223
      <plugin>
224
        <groupId>org.apache.maven.plugins</groupId>
225
        <artifactId>maven-compiler-plugin</artifactId>
226
        <version>3.9.0</version>
227
        <configuration>
228
          <source>1.8</source>
229
          <target>1.8</target>
230
        </configuration>
231
      </plugin>
232
      <plugin>
233
        <groupId>org.apache.maven.plugins</groupId>
234
        <artifactId>maven-surefire-plugin</artifactId>
235
        <version>3.0.0-M7</version>
236
        <configuration>
237
          <argLine>-Xmx512M</argLine>
238
          <includes>
239
            <include>**/*Test.java</include>
240
          </includes>
241
          <systemProperties>
242
            <property>
243
              <name>hibernate.connection.driver_class</name>
244
              <value>${hibernate.connection.driver_class}</value>
245
            </property>
246
            <property>
247
              <name>hibernate.connection.url</name>
248
              <value>${hibernate.connection.url}</value>
249
            </property>
250
            <property>
251
              <name>hibernate.connection.username</name>
252
              <value>${hibernate.connection.username}</value>
253
            </property>
254
            <property>
255
              <name>hibernate.connection.password</name>
256
              <value>${hibernate.connection.password}</value>
257
            </property>
258
          </systemProperties>
259
        </configuration>
260
      </plugin>
261
      <!-- ====== CREATE ====== -->
262
      <plugin>
263
        <groupId>org.codehaus.mojo</groupId>
264
        <artifactId>buildnumber-maven-plugin</artifactId>
265
        <version>1.4</version>
266
        <executions>
267
          <execution>
268
            <!--<phase>deploy</phase> -->
269
            <goals>
270
              <goal>create</goal>
271
            </goals>
272
          </execution>
273
        </executions>
274
        <configuration>
275
          <doCheck>false</doCheck>
276
          <!-- Only create the build number if there are no local modifications -->
277
          <doUpdate>false</doUpdate>
278
        
279
        
280
        
281
          <!-- automatically update the local svn copy -->
282
        </configuration>
283
      </plugin>
284
      <plugin>
285
        <groupId>org.apache.maven.plugins</groupId>
286
        <artifactId>maven-site-plugin</artifactId>
287
        <version>3.10.0</version>
288
        <configuration>
289
          <locales>en</locales>
290
          <outputEncoding>UTF-8</outputEncoding>
291
          <chmod>false</chmod>
292
        </configuration>
293
      </plugin>
294
      <!-- ====== VERIFY ====== -->
295
      <plugin>
296
        <groupId>org.apache.maven.plugins</groupId>
297
        <artifactId>maven-source-plugin</artifactId>
298
        <version>3.2.1</version>
299
        <executions>
300
          <execution>
301
            <id>attach-sources</id>
302
            <phase>verify</phase>
303
            <goals>
304
              <goal>jar</goal>
305
            </goals>
306
          </execution>
307
        </executions>
308
      </plugin>
309
      <plugin>
310
        <groupId>org.apache.maven.plugins</groupId>
311
        <artifactId>maven-javadoc-plugin</artifactId>
312
        <version>3.3.1</version>
313
        <configuration>
314
          <aggregate>true</aggregate>
315
          <stylesheet>maven</stylesheet>
316
          <failOnError>false</failOnError>
317
          <doclint>${doclint}</doclint>
318
        </configuration>
319
      </plugin>
320
      <!-- ====== PROCESS-SOURCES ====== -->
321
      <plugin>
322
        <groupId>org.apache.maven.plugins</groupId>
323
        <artifactId>maven-dependency-plugin</artifactId>
324
        <version>3.2.0</version>
325
        <executions>
326
          <!-- creates "compile" error in IDE in maven-dependency-plugin section (see below) since upgrading from 3.1.0 to 3.2.0 -->
327
          <execution>
328
            <id>copy</id>
329
            <goals>
330
              <goal>copy</goal>
331
            </goals>
332
            <configuration>
333
              <silent>flase</silent>
334
              <stripVersion>true</stripVersion>
335
              <overWriteSnapshots>true</overWriteSnapshots>
336
              <overWriteIfNewer>true</overWriteIfNewer>
337
              <overWriteReleases>true</overWriteReleases>
338
              <artifactItems>
339
                <artifactItem>
340
                  <!-- copy the cdm-webapp-${project.version}.war 
341
                    to the build dir -->
342
                  <groupId>eu.etaxonomy</groupId>
343
                  <artifactId>cdm-webapp</artifactId>
344
                  <version>${project.version}</version>
345
                  <type>war</type>
346
                  <!-- <classifier> [classifier - optional] </classifier> -->
347
                  <overWrite>true</overWrite>
348
                  <destFileName>cdm-webapp-${project.version}.war</destFileName>
349
                  <outputDirectory>
350
                    ${project.build.directory}
351
                  </outputDirectory>
352
                </artifactItem>
353
              </artifactItems>
354
            </configuration>
355
          </execution>
356
        </executions>
357
      </plugin>
358
      <!-- ====== PACKAGE ====== -->
359
      <!-- package the default webapp, // (and also add the cdm-webapp.war) 
360
        test with: mvn war:war -->
361
      <plugin>
362
        <groupId>org.apache.maven.plugins</groupId>
363
        <artifactId>maven-war-plugin</artifactId>
364
        <version>3.3.2</version>
365
        <configuration>
366
          <warName>default-webapp</warName>
367
          <packagingExcludes>
368
            cdm-webapp-*.war
369
          </packagingExcludes>
370
        
371
        
372
        
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>3.3.0</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>single</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>3.0.0</version>
420
        <executions>
421
          <execution>
422
            <phase>install</phase>
423
            <configuration>
424
              <target>
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
              </target>
429
            </configuration>
430
            <goals>
431
              <goal>run</goal>
432
            </goals>
433
          </execution>
434
        </executions>
435
      </plugin>
436
      <!-- Build windows installer -->
437
      <!-- temporarily switched off due to problems with jenkins build after upgrading to debian 10 (#9972)  -->
438
 <!--     <plugin>
439
        <groupId>org.codehaus.mojo</groupId>
440
        <artifactId>exec-maven-plugin</artifactId>
441
        <version>3.0.0</version>
442
        <executions>
443
          <execution>
444
            <phase>install</phase>
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>s
458
        </configuration>
459
      </plugin> -->
460
      <!-- Build Docker image -->
461
      <plugin>
462
        <groupId>io.fabric8</groupId>
463
        <artifactId>docker-maven-plugin</artifactId>
464
        <version>0.38.1</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
                
484
                
485
                    <!--
486
                         1. The maven plugin copies the jar to the artifacts assembly location at:
487
                            ./target/docker/eu.etaxonomy/cdm-server/${project.version}/build/maven/cdm-server-${project.version}.jar
488
                         2. a tar is being created at target/docker/eu.etaxonomy/cdm-server/${project.version}/tmp/docker-build.tar 
489
                            which contains all files located in /target/docker/production and the artifacts. 
490
                            Artifacts are put into the folder maven/ inside the tar archive
491
                         3. The tar archive is passed to the docker daemon and is used as working directory for the build 
492
                     -->
493
                  </assembly>
494
              </build>
495
            
496
            
497
            
498
               
499
               <!-- TODO the run configuration if needed, see src/main/docker/production/README for examples -->
500
               <!-- 
501
               <run>
502
                 <ports>8080:8080</ports>
503
               </run>
504
                -->
505
             </image>
506
           </images>
507
        </configuration>
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
      </plugin>
513
      <!-- ====== DEPLOY ====== -->
514
      <plugin>
515
        <groupId>org.apache.maven.plugins</groupId>
516
        <artifactId>maven-deploy-plugin</artifactId>
517
        <version>2.8.2</version>
518
      </plugin>
519
      <plugin>
520
        <!-- groupId>ch.dvbern.oss.maven.jgitflow</groupId>
521
        <artifactId>jgitflow-maven-plugin</artifactId>
522
        <version>1.0-m8</version>  -->
523
        <groupId>external.atlassian.jgitflow</groupId>
524
        <artifactId>jgitflow-maven-plugin</artifactId>
525
        <version>1.0-m6</version>
526
        <configuration>
527
          <pushHotfixes>true</pushHotfixes>
528
          <pushReleases>true</pushReleases>
529
          <enableSshAgent>true</enableSshAgent>
530
          <allowSnapshots>true</allowSnapshots>
531
          <allowUntracked>true</allowUntracked>
532
        </configuration>
533
        <dependencies>
534
          <!-- 
535
                upgrading dependency jsch.agent.version of jgit-flow plugin to 0.1.53 
536
                in order to have ssl key exchange algorithms compatible with openssh 6.7 
537
             -->
538
          <dependency>
539
            <groupId>com.jcraft</groupId>
540
            <artifactId>jsch</artifactId>
541
            <version>0.1.55</version>
542
          </dependency>
543
        </dependencies>
544
      </plugin>
545
      <plugin>
546
        <groupId>org.codehaus.mojo</groupId>
547
        <artifactId>wagon-maven-plugin</artifactId>
548
        <version>1.0</version>
549
        <!-- Problems with the wagon-maven-plugin have been encounterd on 
550
          Windows, it should work properly on linux though. -->
551
        <executions>
552
          <execution>
553
            <phase>deploy</phase>
554
            <goals>
555
              <goal>upload</goal>
556
            </goals>
557
          </execution>
558
        </executions>
559
        <configuration>
560
          <fromDir>target</fromDir>
561
          <includes>*${project.version}*.deb,*${project.version}*.jar,*${project.version}*.exe</includes>
562
          <url>scpexe://wp5.e-taxonomy.eu/var/www/download/cdmserver/${project.version}</url>
563
          <serverId>wp5.e-taxonomy.eu</serverId>
564
        </configuration>
565
      </plugin>
566
    </plugins>
567
    <!-- EXTENSIONS -->
568
    <extensions>
569
      <extension>
570
        <groupId>org.apache.maven.wagon</groupId>
571
        <artifactId>wagon-scm</artifactId>
572
        <version>3.5.1</version>
573
      </extension>
574
      <extension>
575
        <groupId>org.apache.maven.wagon</groupId>
576
        <artifactId>wagon-ssh</artifactId>
577
        <version>3.5.1</version>
578
      </extension>
579
      <extension>
580
        <groupId>org.apache.maven.wagon</groupId>
581
        <artifactId>wagon-ssh-external</artifactId>
582
        <version>3.5.1</version>
583
      </extension>
584
      <extension>
585
        <groupId>org.apache.maven.scm</groupId>
586
        <artifactId>maven-scm-manager-plexus</artifactId>
587
        <version>1.12.2</version>
588
      </extension>
589
      <extension>
590
        <groupId>org.apache.maven.scm</groupId>
591
        <artifactId>maven-scm-provider-svnexe</artifactId>
592
        <version>1.12.2</version>
593
      </extension>
594
      <!-- WebDAV plugin to upload snapshots -->
595
      <extension>
596
        <groupId>org.apache.maven.wagon</groupId>
597
        <artifactId>wagon-webdav-jackrabbit</artifactId>
598
        <version>3.5.1</version>
599
      </extension>
600
    </extensions>
601
  </build>
602
  <reporting>
603
    <plugins>
604
      <plugin>
605
        <!-- you will want to start by publishing your classes' Javadocs -->
606
        <groupId>org.apache.maven.plugins</groupId>
607
        <artifactId>maven-javadoc-plugin</artifactId>
608
        <version>3.3.1</version>
609
        <configuration>    
610
          <doclint>${doclint}</doclint>
611
        </configuration>
612
      </plugin>
613
      <plugin>
614
        <!-- this will generate an indexed and cross-referenced HTML version 
615
          of your source code -->
616
        <groupId>org.apache.maven.plugins</groupId>
617
        <artifactId>maven-jxr-plugin</artifactId>
618
        <version>2.5</version>
619
      </plugin>
620
      <plugin>
621
        <!-- if you use @todo tags to remind you of things to be done (which 
622
          is a good coding practice), the taglist report will generate a list of all 
623
          the items marked @todo or TODO -->
624
        <groupId>org.codehaus.mojo</groupId>
625
        <artifactId>taglist-maven-plugin</artifactId>
626
        <version>2.4</version>
627
      </plugin>
628
      <plugin>
629
        <!-- Test coverage can be a useful indication of the quality of your 
630
          unit tests. It basically tells you how much of your code is actually run 
631
          by your unit tests, which, in turn, can give you a good idea of the tests' 
632
          quality -->
633
        <groupId>org.codehaus.mojo</groupId>
634
        <artifactId>cobertura-maven-plugin</artifactId>
635
        <version>2.7</version>
636
      </plugin>
637
    </plugins>
638
  </reporting>
639
  <!-- DISTRIBUTION MANAGEMENT -->
640
  <distributionManagement>
641
    <site>
642
      <id>wp5.e-taxonomy.eu</id>
643
      <url>
644
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/cdm-server
645
      </url>
646
    </site>
647
    <repository>
648
      <uniqueVersion>false</uniqueVersion>
649
      <id>wp5.e-taxonomy.eu</id>
650
      <name>Edit Maven Repository</name>
651
      <url>
652
        scpexe://wp5.e-taxonomy.eu/var/www/wp5.e-taxonomy.eu/mavenrepo
653
      </url>
654
    </repository>
655
  </distributionManagement>
656

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

    
737
    <dependency>
738
      <groupId>javax.transaction</groupId>
739
      <artifactId>jta</artifactId>
740
      <version>1.1</version>
741
    </dependency>
742
    <!-- JSON -->
743
    <dependency>
744
      <!-- according to maven repo this artifact moved to com.fasterxml.jackson.core » jackson-databind
745
        but changing to next higher version 2.0.0 throws exceptions on the jsp pages (e.g. .../cdmserver/instances.jsp) -->
746
      <groupId>org.codehaus.jackson</groupId>
747
      <artifactId>jackson-mapper-asl</artifactId>
748
      <version>1.9.13</version>
749
    </dependency>
750
    <!-- windows service -->
751
    <dependency>
752
      <groupId>tanukisoft</groupId>
753
      <artifactId>wrapper</artifactId>
754
      <version>3.2.3</version>
755
    </dependency>
756
    <!-- Logging -->
757
    <dependency>
758
      <groupId>org.slf4j</groupId>
759
      <artifactId>slf4j-api</artifactId>
760
    </dependency>
761
    <!-- move all logging to log4j 2-->
762
    <!-- <dependency>
763
      <groupId>org.apache.logging.log4j</groupId>
764
      <artifactId>log4j-slf4j-impl</artifactId>
765
      <version>${log4j.version}</version>
766
    </dependency>  -->
767
    <!-- move all log4j2 logging to the current slf4j implementor,
768
         !!! never use together with log4j-slf4j-impl on classpath => endless circle -->
769
    <dependency>
770
      <groupId>org.apache.logging.log4j</groupId>
771
      <artifactId>log4j-to-slf4j</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 InstanceManager 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>5.5.1</version>
806
    </dependency>
807
  </dependencies>
808
</project>
(4-4/4)