Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
480 lines (468 loc) · 21.9 KB
/
Copy pathpom.xml
File metadata and controls
480 lines (468 loc) · 21.9 KB
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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
<?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"
child.project.url.inherit.append.path="false"
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>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-parent</artifactId>
<version>0.8.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>easyssf</name>
<description>Building blocks for the OpenID Shared Signals Framework (SSF)</description>
<url>https://easyssf.org</url>
<inceptionYear>2026</inceptionYear>
<organization>
<name>easyssf</name>
<url>https://easyssf.org</url>
</organization>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<developers>
<developer>
<id>thomasdarimont</id>
<name>Thomas Darimont</name>
<email>oss@easyssf.org</email>
<url>https://github.com/thomasdarimont</url>
<organization>easyssf</organization>
<organizationUrl>https://easyssf.org</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/easyssf/easyssf</url>
<connection>scm:git:https://github.com/easyssf/easyssf.git</connection>
<developerConnection>scm:git:git@github.com:easyssf/easyssf.git</developerConnection>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>GitHub</system>
<url>https://github.com/easyssf/easyssf/issues</url>
</issueManagement>
<modules>
<module>easyssf-core</module>
<module>easyssf-test</module>
<module>easyssf-receiver</module>
<module>easyssf-receiver-jdbc</module>
<module>easyssf-test-conformance</module>
<module>easyssf-receiver-spring-boot-autoconfigure</module>
<module>easyssf-receiver-spring-boot-starter</module>
<module>easyssf-receiver-spring-boot-examples</module>
<module>easyssf-receiver-spring-boot-conformance-tests</module>
</modules>
<properties>
<java.version>21</java.version>
<!-- what the "ide" profile below opens for JUnit; the explicit modules list their test packages -->
<ide.test.add-opens></ide.test.add-opens>
<maven.compiler.release>${java.version}</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- lets Byte Buddy (Mockito) accept a class file version it does not know yet, for tests on
the newest JDK: -Dbytebuddy.experimental=true -->
<bytebuddy.experimental>false</bytebuddy.experimental>
<!-- reproducible builds: the timestamp of the files in the jars, updated for every release -->
<project.build.outputTimestamp>2026-10-30T13:41:19Z</project.build.outputTimestamp>
<!-- All modules build against the versions of the Spring Boot BOM, imported below.
The plain modules (easyssf-core, easyssf-receiver) do not depend on Spring:
the import only resolves versions. -->
<spring-boot.version>4.1.2</spring-boot.version>
<!-- not managed by the Spring Boot BOM, Spring Security pulls it in transitively -->
<nimbus-jose-jwt.version>10.9.1</nimbus-jose-jwt.version>
<maven-compiler-plugin.version>3.16.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.6.1</maven-surefire-plugin.version>
<maven-jar-plugin.version>3.5.1</maven-jar-plugin.version>
<maven-resources-plugin.version>3.5.0</maven-resources-plugin.version>
<maven-install-plugin.version>3.2.0</maven-install-plugin.version>
<maven-deploy-plugin.version>3.2.0</maven-deploy-plugin.version>
<maven-dependency-plugin.version>3.11.0</maven-dependency-plugin.version>
<spotless-maven-plugin.version>3.10.4</spotless-maven-plugin.version>
<flatten-maven-plugin.version>1.8.0</flatten-maven-plugin.version>
<cyclonedx-maven-plugin.version>2.9.3</cyclonedx-maven-plugin.version>
<!-- the release profile, see below -->
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<central-publishing-maven-plugin.version>0.12.0</central-publishing-maven-plugin.version>
<!-- modules that are built but not published set this to true -->
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-receiver</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-test</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-receiver-jdbc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-test-conformance</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-receiver-spring-boot-autoconfigure</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.easyssf</groupId>
<artifactId>easyssf-receiver-spring-boot-starter</artifactId>
<version>${project.version}</version>
</dependency>
<!-- declared before the BOM import so that it takes precedence -->
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
<version>${nimbus-jose-jwt.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
<!-- the licence travels with the code -->
<resource>
<directory>${maven.multiModuleProjectDirectory}</directory>
<targetPath>META-INF</targetPath>
<includes>
<include>LICENSE</include>
<include>NOTICE</include>
</includes>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<parameters>true</parameters>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
<!-- every module sets automatic.module.name -->
<Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven-install-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>${maven-dependency-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring-boot.version}</version>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- The published POMs are self-contained: no parent, no imported BOM, every
version resolved. Consumers do not see the build structure. -->
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
<flattenMode>oss</flattenMode>
<updatePomFile>true</updatePomFile>
</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>
<!-- a CycloneDX SBOM (target/bom.json) for every module, attached to the artifact -->
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>${cyclonedx-maven-plugin.version}</version>
<configuration>
<outputFormat>json</outputFormat>
<projectType>library</projectType>
<includeTestScope>false</includeTestScope>
</configuration>
<executions>
<execution>
<id>sbom</id>
<phase>package</phase>
<goals>
<goal>makeBom</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<configuration>
<!-- a missing comment is not an error, a broken one is -->
<doclint>all,-missing</doclint>
<quiet>true</quiet>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- Signs every artifact with the project key. The passphrase comes from the
environment variable MAVEN_GPG_PASSPHRASE, never from the command line. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<configuration>
<bestPractices>true</bestPractices>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!-- Uploads the whole reactor as one deployment to the Maven Central portal
(credentials: server "central" in settings.xml) and waits until it is
published. Snapshots go to the Central snapshot repository instead. -->
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<deploymentName>easyssf ${project.version}</deploymentName>
<autoPublish>true</autoPublish>
<waitUntil>published</waitUntil>
<skipPublishing>${maven.deploy.skip}</skipPublishing>
<excludeArtifacts>
<!-- the flattened POMs of the modules do not reference the parent -->
<excludeArtifact>easyssf-parent</excludeArtifact>
</excludeArtifacts>
</configuration>
</plugin>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless-maven-plugin.version}</version>
<configuration>
<java>
<importOrder>
<order>java|javax|jakarta,org,com,,\#</order>
</importOrder>
<removeUnusedImports/>
<eclipse>
<!-- the Spring Java Format conventions, see the file -->
<file>${maven.multiModuleProjectDirectory}/etc/eclipse-formatter.prefs</file>
</eclipse>
<trimTrailingWhitespace/>
<endWithNewline/>
</java>
</configuration>
<executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
</plugin>
<plugin>
<!-- the flattened POMs of the modules do not reference this parent, it is not published -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Active in IntelliJ IDEA only, which sets idea.version: the IDE runs the tests of an explicit
module with JUnit on the module path, where surefire keeps JUnit on the class path, so the IDE
needs the test packages opened to the JUnit module. It copies surefire's argLine into its
JUnit run configurations; each explicit module lists its test packages in ide.test.add-opens.
Under Maven the profile is off and the option, whose target module is unknown there, is not
passed. See CONTRIBUTING.md. -->
<id>ide</id>
<activation>
<property>
<name>idea.version</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>${ide.test.add-opens}</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- A javadoc comment that is attached to nothing, typically one that a later edit separated from
its method, is an error. javac knows the lint from JDK 23 on, so the check runs where the build
JDK is new enough: the "jdk" job of the CI, not the Java 21 jobs. See CONTRIBUTING.md. -->
<id>dangling-doc-comments</id>
<activation>
<jdk>[23,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xlint:dangling-doc-comments</arg>
<arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Builds the artifacts the way Maven Central requires them: sources and javadoc jars,
GPG signatures, and "deploy" publishes to the Central portal. See CONTRIBUTING.md. -->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>