-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpom.xml
More file actions
739 lines (704 loc) · 26.1 KB
/
Copy pathpom.xml
File metadata and controls
739 lines (704 loc) · 26.1 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
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
<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>
<parent>
<groupId>org.cibseven</groupId>
<artifactId>release-parent</artifactId>
<version>1.6.0</version>
</parent>
<groupId>org.cibseven.webapp</groupId>
<artifactId>cibseven-webclient</artifactId>
<version>2.3.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>CIB seven webclient</name>
<description>CIB seven WebClient is a modern web-based interface for managing and interacting with the CIB seven cloud platform,
providing seamless access to services and optimized workflows.</description>
<properties>
<target.path>${project.basedir}/target</target.path>
<project.git.url>https://github.com/cibseven/cibseven-webclient.git</project.git.url>
<nexus-repository.url>https://artifacts.cibseven.org</nexus-repository.url>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven-war-plugin.version>3.5.0</maven-war-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
<maven-enforcer-plugin.version>3.6.2</maven-enforcer-plugin.version>
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
<maven-failsafe-plugin.version>3.2.5</maven-failsafe-plugin.version>
<!--
JaCoCo floors enforced by jacoco:check. Every module overrides these in its own
<properties> with a value a couple of points under what it currently measures, so an
honest refactor has headroom but a real regression trips the build. Raise them when
coverage rises - never lower them to make a build pass.
The repo-wide floor lives in cibseven-coverage-aggregate/pom.xml.
-->
<jacoco.line.coverage.floor>0.00</jacoco.line.coverage.floor>
<jacoco.branch.coverage.floor>0.00</jacoco.branch.coverage.floor>
<git-commit-id-maven-plugin.version>9.0.2</git-commit-id-maven-plugin.version>
<jjwt.version>0.12.6</jjwt.version>
<commons-io.version>2.18.0</commons-io.version>
<common-auth.version>1.3.0</common-auth.version>
<!-- ============================================================================
Spring Boot 3 — default flavour (cibseven-webclient-web, -core, direct-provider).
============================================================================ -->
<version.spring.boot>3.5.16</version.spring.boot>
<version.openapi-starter-webmvc-ui>2.8.13</version.openapi-starter-webmvc-ui>
<!-- ============================================================================
Spring Boot 4 flavour (cibseven-webclient-web-sb4). The "4" / SB4-specific
suffix marks versions that diverge from the SB3 default above. Naming mirrors
cibseven-parent (~/cibseven/cibseven/parent/pom.xml) so these can be consolidated
there later: version.spring-boot4, version.tomcat (11.x) vs version.tomcat10.
============================================================================ -->
<version.spring.boot4>4.0.7</version.spring.boot4>
<version.openapi-starter-webmvc-ui4>3.0.2</version.openapi-starter-webmvc-ui4>
<!-- SB4's own BOM still manages Jackson 2 (it imports com.fasterxml.jackson:jackson-bom
and ships spring-boot-jackson2), but its starters default to Jackson 3 (tools.jackson.*)
for the wire layer and don't pull Jackson 2 in transitively. The shared core compiles
against com.fasterxml.jackson.* (Jackson 2) directly, so the SB4 module overrides SB4's
own Jackson 2 BOM version explicitly to this patched release. -->
<version.jackson2>2.21.5</version.jackson2>
<!-- ============================================================================
CVE overrides. This project imports spring-boot-dependencies as a BOM (not as the
parent), so the usual ${tomcat.version}/${postgresql.version} BOM-property overrides
do NOT take effect — the fixed versions are pinned via explicit dependencyManagement
entries below.
============================================================================ -->
<!-- Apache Tomcat: CVE-2026-41293, -43512, -43515, -41284, -43513, -42498, -43514 (fixed in
10.1.55/11.0.22), plus CVE-2026-65182, -65905, -68525 (fixed in 10.1.58/11.0.25).
SB3 runs the Tomcat 10.1.x line, SB4 the 11.0.x line.
Suffix mirrors cibseven-parent: version.tomcat = 11.x (SB4), version.tomcat10 = 10.x (SB3). -->
<version.tomcat10>10.1.59</version.tomcat10>
<version.tomcat>11.0.25</version.tomcat>
<!-- swagger-ui webjar (via springdoc, both flavours): bundles DOMPurify 3.4.0 ->
CVE-2026-41240, -0540, CVE-2025-15599, CVE-2026-41238, -41239 and related GHSAs. -->
<version.swagger-ui>5.32.6</version.swagger-ui>
<version.commons-lang3>3.18.0</version.commons-lang3>
<!-- Temporary Apache HttpComponents CVE overrides.
Remove these once the imported Spring Boot BOM manages fixed versions. -->
<version.httpclient5>5.6.4</version.httpclient5>
<version.httpcore5>5.4.3</version.httpcore5>
<image.tomcat-11-base>harbor.cib.de/dev/tomcat-11-base:0.1.0@sha256:49e9bd250b4bc4e33465195106831b1afa69d38c0147f9960075cb1b45a8f7f5</image.tomcat-11-base>
<jib-maven-plugin.version>3.5.1</jib-maven-plugin.version>
<jib.from.image>${image.tomcat-11-base}</jib.from.image>
<jib.to.image>harbor.cib.de/dev/cibseven-webclient:${project.version}</jib.to.image>
<version.eirslett.frontend.maven.plugin>1.15.4</version.eirslett.frontend.maven.plugin>
<version.nodejs>24.13.1</version.nodejs>
<version.npm>11.8.0</version.npm>
<version.log4j2>2.25.5</version.log4j2>
<!-- Database driver versions (used by modeler JPA integration) -->
<version.postgresql>42.7.13</version.postgresql>
<version.mariadb>3.5.7</version.mariadb>
<version.h2>2.4.240</version.h2>
<version.mysql>9.5.0</version.mysql>
<version.oracle>23.26.0.0.0</version.oracle>
<version.mssql>12.8.2.jre11</version.mssql>
<version.db2>11.5.9.0</version.db2>
<!-- NPM publish tag configuration - empty by default (uses 'latest'), can be overridden with tag dev -->
<npm.publish.tag.arg></npm.publish.tag.arg>
<!-- REWRITE COPYRIGHT PARAMEMER FROM SUPER POM (CAMUNDA COPYRIGHT) -->
<license.inlineHeader>Copyright CIB software GmbH and/or licensed to CIB software GmbH
under one or more contributor license agreements. See the NOTICE file
distributed with this work for additional information regarding copyright
ownership. CIB software licenses this file to you under the Apache License,
Version 2.0; you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.</license.inlineHeader>
</properties>
<profiles>
<profile>
<id>normal-build</id>
<activation>
<property>
<name>!release-npm-library</name>
</property>
</activation>
<modules>
<module>cibseven-interfaces</module>
<module>cibseven-webclient-web</module>
<module>cibseven-webclient-core</module>
<module>cibseven-direct-provider</module>
<module>cibseven-webclient-web-sb4</module>
<!-- must stay last: aggregates the coverage of every module above -->
<module>cibseven-coverage-aggregate</module>
</modules>
<build>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<filesets>
<fileset>
<directory>./frontend/target</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${version.eirslett.frontend.maven.plugin}</version>
<inherited>false</inherited>
<configuration>
<nodeVersion>v${version.nodejs}</nodeVersion>
<npmVersion>${version.npm}</npmVersion>
<workingDirectory>./frontend</workingDirectory>
<outputdir>${project.build.directory}/webapp</outputdir>
<skip>${skip.frontend.build}</skip>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>
<execution>
<id>npm ci</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>ci --no-audit --no-fund</arguments>
</configuration>
</execution>
<!--
<execution>
<id>License check</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run license-check</arguments>
</configuration>
</execution>
-->
<execution>
<id>Test</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run test:report</arguments>
<skip>${skipTests}</skip>
</configuration>
</execution>
<execution>
<id>Lint</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run lint</arguments>
<skip>${skipTests}</skip>
</configuration>
</execution>
<execution>
<id>Build</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- Generate and attache a CycloneDX SBOM for the frontend's npm dependencies -->
<id>generate-frontend-sbom</id>
<activation>
<property>
<name>generate-frontend-sbom</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${version.eirslett.frontend.maven.plugin}</version>
<inherited>false</inherited>
<executions>
<execution>
<id>generate-frontend-sbom-json</id>
<goals>
<goal>npm</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>exec --yes -- @cyclonedx/cyclonedx-npm@6.0.0 --output-file target/frontend-bom.json --output-format json --omit dev</arguments>
</configuration>
</execution>
<execution>
<id>generate-frontend-sbom-xml</id>
<goals>
<goal>npm</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>exec --yes -- @cyclonedx/cyclonedx-npm@6.0.0 --output-file target/frontend-bom.xml --output-format xml --omit dev</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<!-- Distinct classifier since "cyclonedx" is already used by the Java backend's aggregate SBOM -->
<id>attach-frontend-sbom</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/frontend/target/frontend-bom.json</file>
<type>json</type>
<classifier>frontend-cyclonedx</classifier>
</artifact>
<artifact>
<file>${project.basedir}/frontend/target/frontend-bom.xml</file>
<type>xml</type>
<classifier>frontend-cyclonedx</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release-npm-library</id>
<activation>
<property>
<name>release-npm-library</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<filesets>
<fileset>
<directory>./frontend/target</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${version.eirslett.frontend.maven.plugin}</version>
<inherited>false</inherited>
<configuration>
<nodeVersion>v${version.nodejs}</nodeVersion>
<npmVersion>${version.npm}</npmVersion>
<workingDirectory>${release-npm-library}</workingDirectory>
<outputdir>${project.build.directory}/webapp</outputdir>
<skip>${skip.frontend.build}</skip>
</configuration>
<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
</execution>
<execution>
<id>npm ci</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>ci --no-audit --no-fund</arguments>
</configuration>
</execution>
<execution>
<id>npm version</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>version --allow-same-version
--no-git-tag-version ${project.version}</arguments>
<skip>${skip.npm.version.update}</skip>
</configuration>
</execution>
<execution>
<id>Build</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>run build:library</arguments>
</configuration>
</execution>
<execution>
<id>npm publish</id>
<goals>
<goal>npm</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<arguments>publish${npm.publish.tag.arg}</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>add-missing-copyright</id>
<build>
<plugins>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>5.0.0</version>
<configuration>
<mapping>
<vue>XML_STYLE</vue>
</mapping>
<licenseSets>
<licenseSet>
<inlineHeader>${license.inlineHeader}</inlineHeader>
<includes>
<include>**/*.java</include>
<include>**/*.js</include>
<include>**/*.vue</include>
</includes>
</licenseSet>
</licenseSets>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<!-- Import the Jackson 2 BOM before spring-boot-dependencies so it wins for every
com.fasterxml.jackson.* artifact pulled in transitively by the SB3 modules
(cibseven-webclient-web, -core, cibseven-direct-provider) via spring-boot-starter-web,
jjwt-jackson and the cibseven-engine REST client — otherwise those would stay on
whatever Jackson 2 version spring-boot-dependencies bundles. -->
<dependency>
<groupId>com.fasterxml.jackson</groupId>
<artifactId>jackson-bom</artifactId>
<version>${version.jackson2}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<scope>import</scope>
<type>pom</type>
<version>${version.spring.boot}</version>
</dependency>
<!-- Override log4j versions to fix security vulnerabilities -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${version.log4j2}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>${version.log4j2}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>${version.log4j2}</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId>
<version>${version.log4j2}</version>
</dependency>
<!-- Override Apache Tomcat for the SB3 flavour (BOM pins a vulnerable version) to fix
CVE-2026-41293, -43512, -43515, -41284, -43513, -42498, -43514, -65182, -65905, -68525.
The SB4 module overrides these to ${version.tomcat} in its own pom. -->
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>${version.tomcat10}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-el</artifactId>
<version>${version.tomcat10}</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-websocket</artifactId>
<version>${version.tomcat10}</version>
</dependency>
<!-- Override pgjdbc (managed by the Spring Boot BOM at 42.7.10) to fix
CVE-2026-42198 (fixed in 42.7.11) -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${version.postgresql}</version>
</dependency>
<!-- Override the swagger-ui webjar pulled transitively by springdoc to ship
DOMPurify 3.4.0 (CVE-2026-41240, -0540, CVE-2025-15599, CVE-2026-41238, -41239 + GHSAs) -->
<dependency>
<groupId>org.webjars</groupId>
<artifactId>swagger-ui</artifactId>
<version>${version.swagger-ui}</version>
</dependency>
<!-- Temporary override: force Apache HttpComponents 5 CVE-fixed versions for SB3 modules.
Remove once spring-boot-dependencies manages fixed HttpComponents versions. -->
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>${version.httpclient5}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5</artifactId>
<version>${version.httpcore5}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.core5</groupId>
<artifactId>httpcore5-h2</artifactId>
<version>${version.httpcore5}</version>
</dependency>
<!-- Force a single ANTLR runtime version to satisfy enforcer dependency-convergence -->
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.13.2</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-dependency-convergence</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<DependencyConvergence />
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<inherited>false</inherited>
<configuration>
<filesets>
<fileset>
<directory>./frontend/target</directory>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<release>${maven.compiler.target}</release>
<compilerArgs>
<arg>-parameters</arg>
<arg>-Werror</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
<doclint>none</doclint>
</configuration>
</plugin>
<!--
*IT classes are integration tests: surefire's default includes (Test*, *Test, *Tests,
*TestCase) deliberately skip them, and failsafe runs them in `integration-test` instead.
Declared here so every module behaves the same way - this used to be copy-pasted into
cibseven-interfaces/pom.xml and cibseven-webclient-core/pom.xml.
The include is restricted to the providers package on purpose. The two *IT classes outside
it - org.cibseven.webapp.rest.TenantProviderIT and org.cibseven.webapp.rest.AnalyticsServiceIT
- are dormant live-engine tests: they drive a real CustomRestTemplate against
cibseven.webclient.engineRest.url and assert a seeded demo dataset (7 running instances,
24 deployments, "Invoice Receipt", ...) that no longer exists, so they cannot pass in CI.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-failsafe-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>org/cibseven/webapp/providers/**/*IT.java</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-maven-plugin.version}</version>
<executions>
<execution>
<id>jacoco-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<!--
The `jacoco-report` execution above runs in the `test` phase, so it only ever sees
surefire data. The failsafe *IT runs happen later, in `integration-test`, and append to
the same jacoco.exec, so reporting again at `verify` is what makes their coverage count
(measured on cibseven-webclient-core: 358/4358 lines -> 733/4358).
The `test`-phase execution is kept so a plain `mvn test` still produces a report.
-->
<execution>
<id>jacoco-report-integration</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>jacoco-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>${jacoco.line.coverage.floor}</minimum>
</limit>
<limit>
<counter>BRANCH</counter>
<value>COVEREDRATIO</value>
<minimum>${jacoco.branch.coverage.floor}</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>${jib-maven-plugin.version}</version>
<configuration>
<skip>true</skip>
<from>
<image>${jib.from.image}</image>
</from>
<to>
<image>${jib.to.image}</image>
</to>
<!-- https://github.com/GoogleContainerTools/jib/blob/master/jib-maven-plugin/README.md#extended-usage -->
<container>
<labels>
<!-- https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys -->
<org.opencontainers.image.vendor>CIB software GmbH</org.opencontainers.image.vendor>
<org.opencontainers.image.authors>CIB software GmbH</org.opencontainers.image.authors>
<org.opencontainers.image.licenses>Proprietary software by CIB software GmbH</org.opencontainers.image.licenses>
<org.opencontainers.image.title>${project.name}</org.opencontainers.image.title>
<org.opencontainers.image.version>${project.version}</org.opencontainers.image.version>
<org.opencontainers.image.ref.name>${jib.to.image}</org.opencontainers.image.ref.name>
<org.opencontainers.image.description>${project.description}</org.opencontainers.image.description>
<org.opencontainers.image.source>${project.git.url}</org.opencontainers.image.source>
<org.opencontainers.image.url>${project.git.url}</org.opencontainers.image.url>
<org.opencontainers.image.base.name>${jib.from.image}</org.opencontainers.image.base.name>
</labels>
</container>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<repositories>
<repository>
<id>mvn-group</id>
<name>Maven group</name>
<!-- Links to repos for local builds by community users on master branch,
for local builds by developers on maintainance branches, jboss and maven central -->
<url>https://artifacts.cibseven.org/repository/mvn-group</url>
</repository>
</repositories>
<scm>
<connection>scm:git:${project.git.url}</connection>
<developerConnection>scm:git:${project.git.url}</developerConnection>
<url>${project.git.url}</url>
<tag>HEAD</tag>
</scm>
</project>