-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpom.yml
127 lines (111 loc) · 4.24 KB
/
pom.yml
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
modelVersion: 4.0.0
parent:
groupId: io.skullabs.boilerplates
artifactId: java-8
version: 1.0.0
groupId: io.skullabs.kos
artifactId: kos-parent
version: "0.8.8"
packaging: pom
properties:
# VERSIONS
version.vertx: 4.4.1
version.injector: 1.5.3
version.mockito: 4.9.0
version.lombok: 1.18.20
version.slf4j: 1.7.9
version.logback: 1.2.3
version.google-truth: 0.30
version.compile-testing: "0.18"
version.class-generator: "0.4.0"
version.jacoco: "0.8.8"
version.junit.jupiter: 5.7.2
version.nexus-staging.plugin: "1.6.13"
# CONFIGS
sonar.jacoco.reportPaths: "${project.basedir}/../report/output/aggregated.exec"
sonar.language: java
sonar.java.coveragePlugin: jacoco
sonar.host.url: https://sonarcloud.io/
sonar.organization: skullabs
sonar.coverage.jacoco.xmlReportPaths: "${project.basedir}/../report/output/site/jacoco-aggregate/jacoco.xml"
sonar.junit.reportsPath: "output/surefire-reports/TEST-*.xml"
modules:
- kos-core
- kos-injector
- kos-config-yaml
- kos-annotations
- kos-bom
- report
# Pre-configured dependencies
dependencyManagement:
dependencies:
- { groupId: "${project.groupId}", version: "${project.version}", artifactId: kos-core }
- { groupId: "${project.groupId}", version: "${project.version}", artifactId: kos-annotations }
- { groupId: "${project.groupId}", version: "${project.version}", artifactId: kos-config-yaml }
- { groupId: "${project.groupId}", version: "${project.version}", artifactId: kos-injector }
- { groupId: "${project.groupId}", version: "${project.version}", artifactId: kos-webapp }
# Mockito
- { groupId: org.mockito,version: "${version.mockito}", scope: test, artifactId: mockito-core }
- { groupId: org.mockito,version: "${version.mockito}", scope: test, artifactId: mockito-junit-jupiter }
# Other minor dependencies
- { groupId: io.skullabs.injector, version: "${version.injector}", artifactId: injector-core }
- { groupId: io.skullabs.injector, version: "${version.injector}", artifactId: injector-processor, scope: provided }
- { groupId: io.skullabs.apt, artifactId: class-generator, version: "${version.class-generator}", scope: provided }
- { groupId: com.google.truth, artifactId: truth, version: "${version.google-truth}", scope: test }
- { groupId: com.google.testing.compile, artifactId: compile-testing, version: "${version.compile-testing}", scope: test }
- { groupId: org.slf4j, artifactId: slf4j-api, version: "${version.slf4j}" }
- { groupId: ch.qos.logback, artifactId: logback-classic, version: "${version.logback}" }
# Vert.X
- groupId: io.vertx
artifactId: vertx-dependencies
version: "${version.vertx}"
type: pom
scope: import
dependencies:
- { groupId: "javax.annotation", artifactId: "javax.annotation-api", version: "1.3.2", scope: "provided" }
build:
pluginManagement:
plugins:
- groupId: org.sonatype.plugins
version: 1.6.3
artifactId: nexus-staging-maven-plugin
extensions: true
configuration:
serverId: ossrh
nexusUrl: https://oss.sonatype.org/
autoReleaseAfterClose: true
- groupId: org.jacoco
version: "${version.jacoco}"
artifactId: jacoco-maven-plugin
executions:
- id: prepare-agent
phase: validate
goals: ["prepare-agent"]
configuration:
append: true
configuration:
rules:
- element: BUNDLE
excludes: [ "*Test" ]
limits:
- { counter: COMPLEXITY, value: COVEREDRATIO, minimum: "61%" }
- { counter: LINE, value: COVEREDRATIO, minimum: "70%" }
#dataFile: "${sonar.jacoco.reportPaths}"
destFile: "${sonar.jacoco.reportPaths}"
- artifactId: maven-javadoc-plugin
version: 3.1.0
configuration:
additionalJOptions:
- "-Xdoclint:none"
excludePackageNames: "kos.apt:kos.core.client"
source: "8"
plugins:
- artifactId: maven-compiler-plugin
groupId: org.apache.maven.plugins
version: 3.8.1
configuration:
release: 11
target: 11
source: 11
- groupId: org.jacoco
artifactId: jacoco-maven-plugin