forked from corona-warn-app/cwa-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
113 lines (109 loc) · 3.96 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<modules>
<module>common</module>
<module>services</module>
</modules>
<groupId>org.opencwa</groupId>
<artifactId>server</artifactId>
<version>${revision}</version>
<name>server</name>
<description>CWA Server</description>
<organization>
<name>SAP SE</name>
</organization>
<url>https://www.coronawarn.app/</url>
<ciManagement>
<url>https://app.circleci.com/pipelines/github/corona-warn-app/cwa-server</url>
</ciManagement>
<issueManagement>
<url>https://github.com/corona-warn-app/cwa-server/issues</url>
</issueManagement>
<scm>
<url>https://github.com/corona-warn-app/cwa-server</url>
</scm>
<properties>
<java.version>11</java.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<sonar.projectKey>corona-warn-app_cwa-server</sonar.projectKey>
<sonar.organization>corona-warn-app</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.0.0</version>
<configuration>
<includes>**/*.java</includes>
<copyrightOwners>${organization.name} and all other contributors</copyrightOwners>
<processStartTag>---license-start</processStartTag>
<processEndTag>---license-end</processEndTag>
<sectionDelimiter>---</sectionDelimiter>
<addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
<trimHeaderLine>true</trimHeaderLine>
<emptyLineAfterHeader>true</emptyLineAfterHeader>
</configuration>
</plugin>
<plugin>
<!-- see https://maven.apache.org/maven-ci-friendly.html#install-deploy -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals><goal>flatten</goal></goals>
</execution>
<execution>
<id>flatten-clean</id>
<phase>clean</phase>
<goals><goal>clean</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<configLocation>codestyle/checkstyle.xml</configLocation>
<excludes>**/module-info.java,**/target/**/*,**/protocols/**/*</excludes>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<violationSeverity>warning</violationSeverity>
<failOnViolation>true</failOnViolation>
<linkXRef>false</linkXRef>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
</plugin>
</plugins>
</build>
</project>