generated from quarkiverse/quarkiverse-template
-
Notifications
You must be signed in to change notification settings - Fork 60
/
pom.xml
477 lines (453 loc) · 23.8 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
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
<?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>
<parent>
<groupId>io.quarkiverse</groupId>
<artifactId>quarkiverse-parent</artifactId>
<version>18</version>
</parent>
<groupId>io.quarkiverse.cxf</groupId>
<artifactId>quarkus-cxf-parent</artifactId>
<version>3.17.0-SNAPSHOT</version>
<name>Quarkus CXF - Parent</name>
<packaging>pom</packaging>
<url>https://github.com/quarkiverse/quarkiverse-cxf</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>dufoli</id>
<name>Olivier Dufour</name>
<email>olivier dot duff at gmail(DOT)com</email>
</developer>
<developer>
<id>dufgui</id>
<name>Guillaume Dufour</name>
</developer>
<developer>
<id>shumonsharif</id>
<name>Shumon Sharif</name>
<email>[email protected]</email>
</developer>
</developers>
<properties>
<!-- Primary dependencies -->
<quarkus.version>3.17.0.CR1</quarkus.version>
<cxf.version>4.0.5</cxf.version>
<quarkus-enforcer-rules.version>${quarkus.version}</quarkus-enforcer-rules.version>
<quarkus-antora.version>0.3.0</quarkus-antora.version>
<!-- Other compile dependency versions (keep sorted alphabetically) -->
<!-- Items annotated with @sync can be updated by running mvn cq:sync-versions -N -->
<angus-mail.version>2.0.3</angus-mail.version>
<assertj.version>3.26.3</assertj.version>
<cxf.xjcplugins.version>4.0.0</cxf.xjcplugins.version><!-- @sync org.apache.cxf:cxf:${cxf.version} prop:cxf.xjc-utils.version -->
<ehcache.version>3.10.8</ehcache.version>
<fastinfoset.version>2.1.1</fastinfoset.version>
<glassfish.jaxb.version>4.0.5</glassfish.jaxb.version><!-- @sync io.quarkus:quarkus-bom:${quarkus.version} dep:org.glassfish.jaxb:jaxb-runtime -->
<jakarta.mail-api.version>2.1.3</jakarta.mail-api.version><!-- @sync org.eclipse.angus:all:${angus-mail.version} prop:mail-api.version -->
<jakarta.jws-api.version>3.0.0</jakarta.jws-api.version><!-- @sync org.apache.cxf:cxf-parent:${cxf.version} prop:cxf.jakarta.jwsapi.version -->
<jakarta.xml.soap-api.version>2.0.1</jakarta.xml.soap-api.version><!-- @sync org.apache.cxf:cxf-parent:${cxf.version} prop:cxf.jakarta.soapapi.version -->
<jakarta.xml.ws-api.version>3.0.1</jakarta.xml.ws-api.version><!-- @sync org.apache.cxf:cxf-parent:${cxf.version} prop:cxf.jakarta.wsapi.version -->
<jasypt.version>1.9.3</jasypt.version><!-- @sync org.apache.wss4j:wss4j-parent:${wss4j.version} prop:jasypt.version -->
<httpclient5.version>5.2.3</httpclient5.version>
<httpcore5.version>5.2.5</httpcore5.version>
<neethi.version>3.2.0</neethi.version><!-- @sync org.apache.cxf:cxf-parent:${cxf.version} prop:cxf.neethi.version -->
<mimepull.version>1.10.0</mimepull.version>
<saaj-impl.version>2.0.1</saaj-impl.version><!-- @sync org.apache.cxf:cxf-parent:${cxf.version} prop:cxf.saaj-impl.version -->
<santuario-xmlsec.version>3.0.4</santuario-xmlsec.version>
<slf4j.version>2.0.6</slf4j.version><!-- @sync io.quarkus:quarkus-bom:${quarkus.version} dep:org.slf4j:slf4j-api -->
<smallrye-certificate-generator.version>0.8.1</smallrye-certificate-generator.version><!-- @sync io.quarkus:quarkus-bom:${quarkus.version} dep:io.smallrye.certs:smallrye-certificate-generator -->
<stax2.version>4.2.2</stax2.version><!-- @sync com.fasterxml.woodstox:woodstox-core:${woodstox-core.version} dep:org.codehaus.woodstox:stax2-api -->
<woodstox-core.version>7.1.0</woodstox-core.version>
<wsdl4j.version>1.6.3</wsdl4j.version><!-- Manage WSDL4J to make sure that quarkus-cxf-xjc-plugins pulls the right version via cxf-xjc-wsdlextension -->
<wss4j.version>3.0.3</wss4j.version><!-- We may ocassionally want to use a bugfix version of WSS4J that is newer than the one used by CXF -->
<supported-maven.versions>[3.6.2,)</supported-maven.versions>
<cq-maven-plugin.version>4.15.0</cq-maven-plugin.version>
<exec-maven-plugin.version>3.5.0</exec-maven-plugin.version>
<groovy-maven-plugin.version>2.1.1</groovy-maven-plugin.version>
<groovy.version>3.0.23</groovy.version>
<maven-build-cache-extension.version>1.2.0</maven-build-cache-extension.version>
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
<maven-eclipse-plugin.version>2.10</maven-eclipse-plugin.version>
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
<keytool-maven-plugin.version>1.7</keytool-maven-plugin.version>
<maven-idea-plugin.version>2.2.1</maven-idea-plugin.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version>
<quarkus-platform-bom-plugin.version>0.0.51</quarkus-platform-bom-plugin.version>
<rpkgtests-maven-plugin.version>1.0.0</rpkgtests-maven-plugin.version>
<!-- maven-compiler-plugin -->
<maven.compiler.release>17</maven.compiler.release>
<!-- maven-enforcer-plugin -->
<enforce-non-deployment.skip>false</enforce-non-deployment.skip>
<!-- keytool-maven-plugin -->
<keytool.skip>false</keytool.skip>
</properties>
<scm>
<url>https://github.com/quarkiverse/quarkiverse-cxf</url>
<connection>scm:git:https://github.com/quarkiverse/quarkiverse-cxf.git</connection>
<developerConnection>scm:git:https://github.com/quarkiverse/quarkiverse-cxf.git</developerConnection>
<tag>HEAD</tag>
</scm>
<modules>
<module>bom</module>
<module>extensions</module>
<module>bom-test</module>
<module>test-util-parent</module>
<module>integration-tests</module>
</modules>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.extensions</groupId>
<artifactId>maven-build-cache-extension</artifactId>
<version>${maven-build-cache-extension.version}</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>${maven-eclipse-plugin.version}</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<version>${groovy-maven-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.version}</version>
<type>pom</type>
<exclusions>
<exclusion>
<!-- groovy-testng depends on testng 7.2.0 which is not on maven central -->
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-testng</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>${exec-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>keytool-maven-plugin</artifactId>
<version>${keytool-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<version>${maven-idea-plugin.version}</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<user.language>en</user.language>
<user.country>US</user.country>
</systemPropertyVariables>
<environmentVariables>
<LANG>en_US.UTF-8</LANG>
</environmentVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<systemPropertyVariables>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<user.language>en</user.language>
<user.country>US</user.country>
</systemPropertyVariables>
<environmentVariables>
<LANG>en_US.UTF-8</LANG>
</environmentVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.l2x6.rpkgtests</groupId>
<artifactId>rpkgtests-maven-plugin</artifactId>
<version>${rpkgtests-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-maven-plugin</artifactId>
<version>${quarkus.version}</version>
<executions>
<execution>
<goals>
<goal>extension-descriptor</goal>
</goals>
<phase>compile</phase>
<configuration>
<deployment>${project.groupId}:${project.artifactId}-deployment:${project.version}</deployment>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-maven-plugin</artifactId>
<version>${quarkus.version}</version>
</plugin>
<plugin>
<groupId>org.l2x6.cq</groupId>
<artifactId>cq-maven-plugin</artifactId>
<version>${cq-maven-plugin.version}</version>
<configuration>
<templatesUriBase>file:${maven.multiModuleProjectDirectory}/src/build/doc-templates</templatesUriBase>
<ownLinkPattern>\Qlink:http\Es?\Q://docs.quarkiverse.io/quarkus-cxf/dev/\E([^\[]+).html</ownLinkPattern>
<configOptionExcludes>
<configOptionExclude>^quarkus\.cxf\.internal</configOptionExclude>
<configOptionExclude>^quarkus\.cxf\.wsdl-path</configOptionExclude>
</configOptionExcludes>
<descriptionReplacements>
<descriptionReplacement>&#64;/@</descriptionReplacement>
</descriptionReplacements>
</configuration>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-extension-processor</artifactId>
<version>${quarkus.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-enforcer-rules</artifactId>
<version>${quarkus-enforcer-rules.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>enforce</id>
<configuration>
<rules>
<requireJavaVersion>
<version>${maven.compiler.release}</version>
</requireJavaVersion>
<dependencyConvergence/>
<requireMavenVersion>
<version>${supported-maven.versions}</version>
</requireMavenVersion>
<externalRules>
<location>classpath:enforcer-rules/quarkus-require-maven-version.xml</location>
</externalRules>
<externalRules>
<location>classpath:enforcer-rules/quarkus-banned-dependencies.xml</location>
</externalRules>
<externalRules>
<location>${maven.multiModuleProjectDirectory}/src/build/enforcer-rules/quarkus-cxf-banned-dependencies.xml</location>
</externalRules>
</rules>
</configuration>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.gmaven</groupId>
<artifactId>groovy-maven-plugin</artifactId>
<executions>
<execution>
<id>update-github-workflows</id>
<inherited>false</inherited>
<goals>
<goal>execute</goal>
</goals>
<phase>validate</phase>
<configuration>
<!-- A Groovy script that updates the list of integration test modules in -->
<!-- .github/workflows/build.yml based on the real state in integration-tests -->
<!-- directory -->
<source>import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import java.util.stream.Collectors
import java.util.stream.Stream
def buildYaml = '.github/workflows/build.yml'
def buildXmlPath = project.basedir.toPath().resolve(buildYaml)
def buildXmlSource = buildXmlPath.getText('UTF-8')
def pattern = java.util.regex.Pattern.compile('testModule: *\\[([^\\]]*)\\]')
def matcher = pattern.matcher(buildXmlSource)
if (!matcher.find()) {
throw new IllegalStateException('Pattern ' + pattern + ' does not match ' + buildXmlPath)
}
def foundTestModules = matcher.group(1)
def expectedTestModules;
def iTestsDir = project.basedir.toPath().resolve('integration-tests')
try (java.util.stream.Stream files = Files.list(iTestsDir)) {
def pomFiles = files
.map(path -> iTestsDir.resolve(path).resolve('pom.xml'))
.filter(path -> Files.isRegularFile(path))
.collect(Collectors.toList())
def allTestModules = pomFiles.stream()
.map(Path::getParent)
.map(Path::getFileName)
.map(Path::toString)
def jksTestModules = pomFiles.stream()
.filter(path -> path.getText('UTF-8').contains('<id>jks</id>'))
.map(Path::getParent)
.map(Path::getFileName)
.map(Path::toString)
.map(path -> path + ' -Djks')
expectedTestModules = Stream.concat(allTestModules, jksTestModules)
.sorted()
.map(path -> "'" + path + "'")
.collect(Collectors.joining(', '))
}
if (!foundTestModules.equals(expectedTestModules)) {
println('Updating testModule attribute in ' + buildYaml + ':\n old: ' + foundTestModules + '\n new: '+expectedTestModules)
def newSource = new StringBuilder()
matcher.appendReplacement(newSource, 'testModule: ['+ expectedTestModules +']')
matcher.appendTail(newSource)
buildXmlPath.setText(newSource.toString(), 'UTF-8')
} else {
println('testModule attribute in ' + buildYaml + ' is up to date')
}</source>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<configuration>
<excludes><!-- Do not format generated files -->
<exclude>**/generated/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>net.revelc.code</groupId>
<artifactId>impsort-maven-plugin</artifactId>
<configuration>
<excludes><!-- Do not format generated files -->
<exclude>**/generated/*.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>docs</id>
<activation>
<property>
<name>performRelease</name>
<value>!true</value>
</property>
</activation>
<modules>
<module>docs</module>
</modules>
</profile>
<profile>
<id>format</id>
<build>
<plugins>
<plugin>
<groupId>org.l2x6.cq</groupId>
<artifactId>cq-maven-plugin</artifactId>
<executions>
<execution>
<id>format-poms</id>
<phase>process-resources</phase>
<goals>
<goal>format</goal>
</goals>
<inherited>false</inherited>
<configuration>
<updateVirtualDependencies>
<updateVirtualDependency>
<basedir>${project.basedir}</basedir>
<includes>
<include>integration-tests/*/pom.xml</include>
</includes>
</updateVirtualDependency>
</updateVirtualDependencies>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<properties>
<quarkus.build.skip>true</quarkus.build.skip>
<enforcer.skip>true</enforcer.skip>
<skipTests>true</skipTests>
<format.skip>true</format.skip>
</properties>
</profile>
</profiles>
</project>