Revision 9b59c16d
Added by jenkins about 5 years ago
pom.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 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 | 3 |
<modelVersion>4.0.0</modelVersion> |
5 | 4 |
<groupId>eu.etaxonomy</groupId> |
6 | 5 |
<artifactId>cdm-server</artifactId> |
7 | 6 |
<version>5.5.1-SNAPSHOT</version> |
8 | 7 |
<packaging>jar</packaging> |
9 | 8 |
<name>CDM Community Standalone Server</name> |
10 |
|
|
11 | 9 |
<properties> |
12 | 10 |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
13 | 11 |
<jetty-version>9.2.9.v20150224</jetty-version> |
14 | 12 |
<javadoc.opts>-Xdoclint:none</javadoc.opts> |
15 | 13 |
</properties> |
16 |
|
|
17 | 14 |
<scm> |
18 | 15 |
<!-- see section Provider Configuration in http://maven.apache.org/scm/subversion.html |
19 | 16 |
for instructions on how to externalize credentials in $user.home/.scm/svn-settings.xml --> |
... | ... | |
21 | 18 |
<developerConnection>scm:git:ssh://git@dev.e-taxonomy.eu/var/git/cdm-server.git</developerConnection> |
22 | 19 |
<url>https://dev.e-taxonomy.eu/gitweb/cdm-server.git/tree</url> |
23 | 20 |
</scm> |
24 |
|
|
25 | 21 |
<prerequisites> |
26 | 22 |
<maven>3.0.5</maven> |
27 | 23 |
</prerequisites> |
28 |
|
|
29 | 24 |
<mailingLists> |
30 | 25 |
<mailingList> |
31 |
<name>EDIT Platform Developers</name>
|
|
32 |
<subscribe>
|
|
26 |
<name>EDIT Platform Developers</name> |
|
27 |
<subscribe> |
|
33 | 28 |
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#subscribe |
34 | 29 |
</subscribe> |
35 |
<unsubscribe>
|
|
30 |
<unsubscribe> |
|
36 | 31 |
https://lists.fu-berlin.de/listinfo/editplatformdevelopers#options |
37 | 32 |
</unsubscribe> |
38 | 33 |
</mailingList> |
39 | 34 |
<mailingList> |
40 |
<name>EDIT User</name>
|
|
41 |
<subscribe>
|
|
35 |
<name>EDIT User</name> |
|
36 |
<subscribe> |
|
42 | 37 |
https://lists.fu-berlin.de/listinfo/edituser#subscribe |
43 | 38 |
</subscribe> |
44 |
<unsubscribe>
|
|
39 |
<unsubscribe> |
|
45 | 40 |
https://lists.fu-berlin.de/listinfo/edituser#options |
46 | 41 |
</unsubscribe> |
47 | 42 |
</mailingList> |
... | ... | |
69 | 64 |
<roles> |
70 | 65 |
<role>Developer</role> |
71 | 66 |
</roles> |
72 |
<url />
|
|
67 |
<url/> |
|
73 | 68 |
</developer> |
74 | 69 |
</developers> |
75 |
|
|
76 | 70 |
<!-- contributors> <contributor> <name>Test-Contributor</name> </contributor> |
77 | 71 |
</contributors --> |
78 | 72 |
<issueManagement> |
... | ... | |
150 | 144 |
<url>http://people.apache.org/repo/m2-incubating-repository/</url> |
151 | 145 |
</repository> |
152 | 146 |
</repositories> |
153 |
|
|
154 | 147 |
<!-- **** PLUGINS **** --> |
155 | 148 |
<build> |
156 | 149 |
<resources> |
... | ... | |
204 | 197 |
<downloadJavadocs>true</downloadJavadocs> |
205 | 198 |
</configuration> |
206 | 199 |
</plugin> |
207 |
|
|
208 | 200 |
<plugin> |
209 | 201 |
<!-- only needed for testing the svn credentials credentials are |
210 | 202 |
usually stored by svn automatically unless not configured differently in |
... | ... | |
280 | 272 |
<doCheck>false</doCheck> |
281 | 273 |
<!-- Only create the build number if there are no local modifications --> |
282 | 274 |
<doUpdate>false</doUpdate> |
275 |
|
|
283 | 276 |
<!-- automatically update the local svn copy --> |
284 | 277 |
</configuration> |
285 | 278 |
</plugin> |
... | ... | |
319 | 312 |
<additionalparam>${javadoc.opts}</additionalparam> |
320 | 313 |
</configuration> |
321 | 314 |
</plugin> |
322 |
|
|
323 | 315 |
<!-- ====== PROCESS-SOURCES ====== --> |
324 | 316 |
<plugin> |
325 | 317 |
<groupId>org.apache.maven.plugins</groupId> |
... | ... | |
357 | 349 |
</execution> |
358 | 350 |
</executions> |
359 | 351 |
</plugin> |
360 |
|
|
361 | 352 |
<!-- ====== PACKAGE ====== --> |
362 | 353 |
<!-- package the default webapp, // (and also add the cdm-webapp.war) |
363 | 354 |
test with: mvn war:war --> |
... | ... | |
370 | 361 |
<packagingExcludes> |
371 | 362 |
cdm-webapp-*.war |
372 | 363 |
</packagingExcludes> |
364 |
|
|
373 | 365 |
<!-- <overlays> <overlay> <groupId>eu.etaxonomy</groupId> <artifactId>cdm-webapp</artifactId> |
374 | 366 |
<!- - version is set in dependency - -> <skip>true</skip> <!- - Do Not overlay |
375 | 367 |
- -> </overlay> </overlays> --> |
... | ... | |
412 | 404 |
</executions> |
413 | 405 |
</plugin> |
414 | 406 |
<plugin> |
415 |
<!-- ====== INSTALL ====== --> |
|
407 |
<!-- ====== INSTALL ====== -->
|
|
416 | 408 |
<!-- Build a Debian package --> |
417 | 409 |
<groupId>org.apache.maven.plugins</groupId> |
418 | 410 |
<artifactId>maven-antrun-plugin</artifactId> |
... | ... | |
422 | 414 |
<phase>install</phase> |
423 | 415 |
<configuration> |
424 | 416 |
<tasks> |
425 |
<property name="project.fullversionstring" value="${project.version}" />
|
|
426 |
<property name="project.version" value="${project.version}" />
|
|
427 |
<ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}" />
|
|
417 |
<property name="project.fullversionstring" value="${project.version}"/> |
|
418 |
<property name="project.version" value="${project.version}"/> |
|
419 |
<ant antfile="${project.basedir}/src/main/installer/linux/build-deb.xml" dir="${project.basedir}"/> |
|
428 | 420 |
</tasks> |
429 | 421 |
</configuration> |
430 | 422 |
<goals> |
... | ... | |
462 | 454 |
<artifactId>docker-maven-plugin</artifactId> |
463 | 455 |
<version>0.28.0</version> |
464 | 456 |
<configuration> |
465 |
<images>
|
|
466 |
<image>
|
|
467 |
<!-- docker hub does not allow dots in organizations, so the name is
|
|
457 |
<images> |
|
458 |
<image> |
|
459 |
<!-- docker hub does not allow dots in organizations, so the name is |
|
468 | 460 |
just 'cybertaxonomy', this MUST NOT BE CHANGED!!!! --> |
469 |
<name>cybertaxonomy/${project.artifactId}:${project.version}</name>
|
|
470 |
<build>
|
|
471 |
<!-- use a Dockerfile in the directory src/main/docker/production -->
|
|
472 |
<dockerFileDir>production</dockerFileDir>
|
|
473 |
<!-- fabric8-maven-plugin filters given Dockerfile with Maven properties -->
|
|
461 |
<name>cybertaxonomy/${project.artifactId}:${project.version}</name> |
|
462 |
<build> |
|
463 |
<!-- use a Dockerfile in the directory src/main/docker/production --> |
|
464 |
<dockerFileDir>production</dockerFileDir> |
|
465 |
<!-- fabric8-maven-plugin filters given Dockerfile with Maven properties --> |
|
474 | 466 |
<!-- For example, the default <filter>${*}</filter> parse Maven properties |
475 | 467 |
in the format that we know. If you specify a single character for |
476 | 468 |
<filter> then this delimiter is taken for both, the start and the end. |
477 | 469 |
E.g a <filter>@</filter> triggers on parameters in the format @…@, --> |
478 |
<filter>@</filter> |
|
479 |
<assembly> |
|
480 |
<descriptorRef>artifact</descriptorRef> |
|
470 |
<filter>@</filter> |
|
471 |
<assembly> |
|
472 |
<descriptorRef>artifact</descriptorRef> |
|
473 |
|
|
481 | 474 |
<!-- |
482 | 475 |
1. The maven plugin copies the jar to the artifacts assembly location at: |
483 | 476 |
./target/docker/eu.etaxonomy/cdm-server/${project.version}/build/maven/cdm-server-${project.version}.jar |
... | ... | |
487 | 480 |
3. The tar archive is passed to the docker daemon and is used as working directory for the build |
488 | 481 |
--> |
489 | 482 |
</assembly> |
490 |
</build> |
|
483 |
</build> |
|
484 |
|
|
491 | 485 |
|
492 | 486 |
<!-- TODO the run configuration if needed, see src/main/docker/production/README for examples --> |
493 | 487 |
<!-- |
... | ... | |
496 | 490 |
</run> |
497 | 491 |
--> |
498 | 492 |
</image> |
499 |
</images> |
|
500 |
|
|
493 |
</images> |
|
501 | 494 |
</configuration> |
502 |
|
|
503 | 495 |
<!-- Connect start/stop to pre- and |
504 | 496 |
post-integration-test phase, respectively if you want to start |
505 | 497 |
your docker containers during integration tests --> |
506 |
<executions> |
|
507 |
</executions> |
|
498 |
<executions></executions> |
|
508 | 499 |
</plugin> |
509 | 500 |
<!-- ====== DEPLOY ====== --> |
510 | 501 |
<plugin> |
511 |
<groupId>org.apache.maven.plugins</groupId>
|
|
502 |
<groupId>org.apache.maven.plugins</groupId> |
|
512 | 503 |
<artifactId>maven-deploy-plugin</artifactId> |
513 | 504 |
<version>2.8.2</version> |
514 |
</plugin>
|
|
505 |
</plugin> |
|
515 | 506 |
<plugin> |
516 | 507 |
<groupId>external.atlassian.jgitflow</groupId> |
517 | 508 |
<artifactId>jgitflow-maven-plugin</artifactId> |
518 | 509 |
<version>1.0-m6</version> |
519 | 510 |
<configuration> |
520 | 511 |
<pushHotfixes>true</pushHotfixes> |
521 |
<pushReleases>true</pushReleases>
|
|
512 |
<pushReleases>true</pushReleases> |
|
522 | 513 |
<enableSshAgent>true</enableSshAgent> |
523 | 514 |
<allowSnapshots>true</allowSnapshots> |
524 | 515 |
<allowUntracked>true</allowUntracked> |
... | ... | |
592 | 583 |
</extension> |
593 | 584 |
</extensions> |
594 | 585 |
</build> |
595 |
|
|
596 | 586 |
<reporting> |
597 | 587 |
<plugins> |
598 | 588 |
<plugin> |
599 | 589 |
<!-- you will want to start by publishing your classes' Javadocs --> |
600 | 590 |
<groupId>org.apache.maven.plugins</groupId> |
601 | 591 |
<artifactId>maven-javadoc-plugin</artifactId> |
602 |
<configuration>
|
|
592 |
<configuration> |
|
603 | 593 |
<additionalparam>${javadoc.opts}</additionalparam> |
604 | 594 |
</configuration> |
605 | 595 |
</plugin> |
... | ... | |
627 | 617 |
<artifactId>cobertura-maven-plugin</artifactId> |
628 | 618 |
<version>2.7</version> |
629 | 619 |
</plugin> |
630 |
|
|
631 |
|
|
632 | 620 |
</plugins> |
633 | 621 |
</reporting> |
634 | 622 |
<!-- DISTRIBUTION MANAGEMENT --> |
... | ... | |
648 | 636 |
</url> |
649 | 637 |
</repository> |
650 | 638 |
</distributionManagement> |
651 |
|
|
652 | 639 |
<dependencies> |
653 | 640 |
<!-- maven 3 no longer supports uniqueVersions for SNAPSHOT artifacts. |
654 | 641 |
The cdm-server Bootlader however relies on a specific name of the cdm-webapp |
... | ... | |
727 | 714 |
<artifactId>wrapper</artifactId> |
728 | 715 |
<version>3.2.3</version> |
729 | 716 |
</dependency> |
730 |
|
|
731 | 717 |
<!-- Logging --> |
732 | 718 |
<dependency> |
733 | 719 |
<groupId>org.slf4j</groupId> |
... | ... | |
766 | 752 |
<version>${project.version}</version> |
767 | 753 |
</dependency> |
768 | 754 |
</dependencies> |
769 |
|
|
770 | 755 |
</project> |
Also available in: Unified diff
jenkins bumping cdmlib.version to 5.5.1