-
Notifications
You must be signed in to change notification settings - Fork 13
/
pom.xml
307 lines (291 loc) · 11.6 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!--
~ Copyright 2016 - 2024 Riigi Infosüsteemi Amet
~
~ Licensed under the EUPL, Version 1.1 or – as soon they will be approved by
~ the European Commission - subsequent versions of the EUPL (the "Licence");
~ You may not use this work except in compliance with the Licence.
~ You may obtain a copy of the Licence at:
~
~ https://joinup.ec.europa.eu/software/page/eupl
~
~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is
~ distributed on an "AS IS" basis,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the Licence for the specific language governing permissions and limitations under the Licence.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>ee.openid.siva</groupId>
<artifactId>siva</artifactId>
<version>3.9.0-prerelease</version>
<packaging>pom</packaging>
<name>SiVa Digitally signed documents validation service</name>
<url>https://github.com/open-eid/SiVa</url>
<modules>
<module>validation-services-parent</module>
<module>siva-parent</module>
</modules>
<licenses>
<license>
<name>European Union Public License 1.1</name>
<url>https://joinup.ec.europa.eu/software/page/eupl</url>
</license>
</licenses>
<developers>
<developer>
<id>mihkels</id>
<name>Mihkel Selgal</name>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>andresvoll</id>
<name>Andres Voll</name>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>allanjuhanson</id>
<name>Allan Juhanson</name>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>priitr</id>
<name>Priit Reiser</name>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>siimsuu1</id>
<name>Siim Suu</name>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>JorgenHeinsoo</id>
<name>Jorgen Heinsoo</name>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<id>naare</id>
<name>Aare Nurm</name>
<roles>
<role>quality assurance</role>
</roles>
</developer>
<developer>
<id>rsarendus</id>
<name>Risto Seene</name>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
<!--
To update SiVa version for all the modules run below command:
./mvnw release:update-versions -DautoVersionSubmodules=true
-->
<properties>
<coveralls.repo.token>NA</coveralls.repo.token>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.root>${basedir}</project.root>
<project.encoding>UTF-8</project.encoding>
<language.level>17</language.level>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
<bouncycastle.version>1.79</bouncycastle.version>
<dss.version>6.0.d4j.2</dss.version>
<commons.collections.version>4.4</commons.collections.version>
<commons.io.version>2.18.0</commons.io.version>
<json.version>20240303</json.version>
<spring.boot.version>3.4.0</spring.boot.version>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../../target/jacoco-report/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.language>java</sonar.language>
</properties>
<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
</configuration>
</plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.26.0</version>
</plugin>
</plugins>
</reporting>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.5.0</version>
<configuration>
<includeTransitiveDependencies>false</includeTransitiveDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<forceLegacyJavacApi>true</forceLegacyJavacApi>
<source>${language.level}</source>
<target>${language.level}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<failOnServiceError>false</failOnServiceError>
<repoToken>${coveralls.repo.token}</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<configuration>
<excludes>
<exclude>**/*Application.*</exclude>
<exclude>**/*Configuration.*</exclude>
<exclude>**/extra-jars/**</exclude>
<exclude>**/ext-lib/**</exclude>
<exclude>**/eu/x_road/xsd/**</exclude>
<exclude>**/eu/europa/**</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.2</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<argLine>${argLine} -Dfile.encoding=UTF-8 -Xmx1024m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<!-- Allow only single edition (currently latest is jdk18on) of Bouncy Castle libraries.
Other libraries may reference different editions of the same Bouncy Castle library
(bcprov-jdk15on vs bcprov-jdk18on), but duplicate classes on classpath must be
avoided. -->
<bannedDependencies>
<excludes>
<exclude>org.bouncycastle:*</exclude>
</excludes>
<includes>
<include>org.bouncycastle:*-jdk18on</include>
</includes>
</bannedDependencies>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>dependency-check</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>8.4.3</version>
<configuration>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<goals>
<goal>report</goal>
</goals>
<configuration>
<formats>
<format>XML</format>
</formats>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>