-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
rewrite.yml
671 lines (671 loc) · 24.9 KB
/
rewrite.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
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
---
type: specs.openrewrite.org/v1beta/style
name: io.quarkus.style.maven
styleConfigs:
- org.openrewrite.xml.style.TabsAndIndentsStyle:
useTabCharacter: false
tabSize: 1
indentSize: 4
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-versions
displayName: Adjust Jakarta versions
recipeList:
# Activation
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.activation.version
newValue: 2.0.1
# Annotation
- org.openrewrite.maven.ChangePropertyValue:
key: version.jakarta-annotation
newValue: 2.0.0
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.annotation-api.version
newValue: 2.0.0
# EL
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.el-impl.version
newValue: 4.0.2
# CDI
- org.openrewrite.maven.ChangePropertyValue:
key: version.cdi
newValue: 3.0.0
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.enterprise.cdi-api.version
newValue: 3.0.0
# Inject
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.inject-api.version
newValue: 2.0.0
# Interceptor
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.interceptor-api.version
newValue: 2.0.0
# JAX-RS - See below for the specs
- org.openrewrite.maven.ChangePropertyValue:
key: resteasy.version
newValue: 6.0.0.Final
# JAXB - See below
# JSON - See below
# JSON Bind
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.json.bind-api.version
newValue: 2.0.0
- org.openrewrite.maven.ChangePropertyValue:
key: yasson.version
newValue: 2.0.4
# JPA
- org.openrewrite.maven.ChangePropertyValue:
key: version.jpa
newValue: 3.0.0
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.persistence-api.version
newValue: 3.0.0
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: hibernate-core
newGroupId: org.hibernate
newArtifactId: hibernate-core-jakarta
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: hibernate-envers
newGroupId: org.hibernate
newArtifactId: hibernate-envers-jakarta
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: hibernate-jpamodelgen
newGroupId: org.hibernate
newArtifactId: hibernate-jpamodelgen-jakarta
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate.search
oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling
newGroupId: org.hibernate.search
newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate.search
oldArtifactId: hibernate-search-mapper-orm
newGroupId: org.hibernate.search
newArtifactId: hibernate-search-mapper-orm-jakarta
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate.reactive
oldArtifactId: hibernate-reactive-core
newGroupId: org.hibernate.reactive
newArtifactId: hibernate-reactive-core-jakarta
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: quarkus-local-cache
newGroupId: org.hibernate
newArtifactId: quarkus-local-cache-jakarta
# Mail
# TODO: move to Angus artifacts
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.mail.version
newValue: 2.0.1
# Security - See below
- org.openrewrite.maven.ChangePropertyValue:
key: quarkus-security.version
newValue: 2.0.0-SNAPSHOT
# Servlet
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.servlet-api.version
newValue: 5.0.0
- org.openrewrite.maven.ChangePropertyValue:
key: quarkus-http.version
newValue: 5.0.0-SNAPSHOT
# Transaction
- org.openrewrite.maven.ChangePropertyValue:
key: version.jta
newValue: 2.0.0
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.transaction-api.version
newValue: 2.0.0
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.narayana.jta
oldArtifactId: narayana-jta
newGroupId: org.jboss.narayana.jta
newArtifactId: narayana-jta-jakarta
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.narayana.jts
oldArtifactId: narayana-jts-integration
newGroupId: org.jboss.narayana.jts
newArtifactId: narayana-jts-integration-jakarta
# TODO remove this one
- org.openrewrite.maven.ChangePropertyValue:
key: narayana.version
newValue: 5.12.7.Final-SNAPSHOT
- org.openrewrite.maven.ChangePropertyValue:
key: agroal.version
newValue: 2.0
# Validation
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.validation-api.version
newValue: 3.0.1
- org.openrewrite.maven.ChangePropertyValue:
key: hibernate-validator.version
newValue: 7.0.4.Final
# Websockets
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.websocket-api.version
newValue: 2.0.0
# XML Bind
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.xml.bind-api.version
newValue: 3.0.1
- org.openrewrite.maven.ChangePropertyValue:
key: jaxb-runtime.version
newValue: 3.0.2
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-jaxrs-jaxb
displayName: Adjust JAX-RS/JAXB dependencies
recipeList:
- org.openrewrite.maven.AddManagedDependency:
groupId: jakarta.xml.bind
artifactId: jakarta.xml.bind-api
version: "${jakarta.xml.bind-api.version}"
- org.openrewrite.maven.AddManagedDependency:
groupId: org.jboss.spec.javax.ws.rs
artifactId: jboss-jaxrs-api_3.0_spec
version: "${jboss-jaxrs-api_3.0_spec.version}"
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.xml.bind-api.version
newValue: 3.0.1
addIfMissing: true
- org.openrewrite.maven.ChangePropertyValue:
key: jboss-jaxrs-api_3.0_spec.version
newValue: 1.0.1.Final
addIfMissing: true
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-jaxrs-jaxb-cleanup
displayName: Adjust JAX-RS/JAXB dependencies
recipeList:
- org.openrewrite.maven.RemoveManagedDependency:
groupId: org.jboss.spec.javax.xml.bind
artifactId: jboss-jaxb-api_2.3_spec
- org.openrewrite.maven.RemoveManagedDependency:
groupId: org.jboss.spec.javax.ws.rs
artifactId: jboss-jaxrs-api_2.1_spec
- org.openrewrite.maven.RemoveProperty:
propertyName: jboss-jaxrs-api_2.1_spec.version
- org.openrewrite.maven.RemoveProperty:
propertyName: jboss-jaxb-api_2.3_spec.version
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-jaxrs-switch
displayName: Switch JAX-RS version
recipeList:
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.spec.javax.ws.rs
oldArtifactId: jboss-jaxrs-api_2.1_spec
newGroupId: org.jboss.spec.javax.ws.rs
newArtifactId: jboss-jaxrs-api_3.0_spec
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.exclude-javax-jaxrs
displayName: Exclude Javax JAX-RS version
recipeList:
- org.openrewrite.maven.ExcludeDependency:
groupId: org.jboss.spec.javax.ws.rs
artifactId: jboss-jaxrs-api_2.1_spec
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-jaxb-switch
displayName: Switch JAXB version
recipeList:
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.spec.javax.xml.bind
oldArtifactId: jboss-jaxb-api_2.3_spec
newGroupId: jakarta.xml.bind
newArtifactId: jakarta.xml.bind-api
- org.openrewrite.maven.RemoveExclusion:
groupId: jakarta.xml.bind
artifactId: jakarta.xml.bind-api
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-json-cleanup
displayName: Clean up Jakarta JSON dependencies
recipeList:
- org.openrewrite.maven.RemoveManagedDependency:
groupId: org.glassfish
artifactId: jakarta.json
- org.openrewrite.maven.RemoveProperty:
propertyName: jakarta.json.version
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-json
displayName: Adjust Jakarta JSON dependencies
recipeList:
- org.openrewrite.maven.AddManagedDependency:
groupId: org.eclipse.parsson
artifactId: jakarta.json
version: "${parsson.version}"
- org.openrewrite.maven.ChangePropertyValue:
key: parsson.version
newValue: 1.0.0
addIfMissing: true
- org.openrewrite.maven.ChangePropertyValue:
key: jboss-logmanager.version
newValue: 1.1.0
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-json-switch
displayName: Switch Jakarta JSON version
recipeList:
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.glassfish
oldArtifactId: jakarta.json
newGroupId: org.eclipse.parsson
newArtifactId: jakarta.json
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.build-parent
displayName: Adjust build-parent
recipeList:
- org.openrewrite.maven.ChangePropertyValue:
key: subethasmtp.version
newValue: 6.0.1
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-security
displayName: Adjust Javax security dependencies
recipeList:
- org.openrewrite.maven.AddManagedDependency:
groupId: jakarta.authorization
artifactId: jakarta.authorization-api
version: "${jakarta.authorization-api.version}"
- org.openrewrite.maven.AddManagedDependency:
groupId: jakarta.authentication
artifactId: jakarta.authentication-api
version: "${jakarta.authentication-api}"
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.authorization-api.version
newValue: 2.0.0
addIfMissing: true
- org.openrewrite.maven.ChangePropertyValue:
key: jakarta.authentication-api
newValue: 2.0.0
addIfMissing: true
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-security-cleanup
displayName: Adjust Javax security dependencies
recipeList:
- org.openrewrite.maven.RemoveManagedDependency:
groupId: jakarta.security.jacc
artifactId: jakarta.security.jacc-api
- org.openrewrite.maven.RemoveManagedDependency:
groupId: jakarta.security.auth.message
artifactId: jakarta.security.auth.message-api
- org.openrewrite.maven.RemoveProperty:
propertyName: jakarta.security.jacc-api.version
- org.openrewrite.maven.RemoveProperty:
propertyName: jakarta.security.auth.message-api.version
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.jakarta-security-switch
displayName: Switch Javax security dependencies
recipeList:
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: jakarta.security.jacc
oldArtifactId: jakarta.security.jacc-api
newGroupId: jakarta.authorization
newArtifactId: jakarta.authorization-api
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: jakarta.security.auth.message
oldArtifactId: jakarta.security.auth.message-api
newGroupId: jakarta.authentication
newArtifactId: jakarta.authentication-api
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.hibernate-orm-narayana-switch
displayName: Switch Hibernate ORM/Narayana dependencies
recipeList:
- org.openrewrite.maven.RemoveExclusion:
groupId: org.hibernate
artifactId: hibernate-core
exclusionGroupId: javax.persistence
exclusionArtifactId: javax.persistence-api
- org.openrewrite.maven.RemoveExclusion:
groupId: org.hibernate
artifactId: hibernate-core
exclusionGroupId: org.jboss.spec.javax.transaction
exclusionArtifactId: jboss-transaction-api_1.2_spec
- org.openrewrite.maven.RemoveExclusion:
groupId: org.hibernate
artifactId: hibernate-core
exclusionGroupId: javax.xml.bind
exclusionArtifactId: jaxb-api
- org.openrewrite.maven.RemoveExclusion:
groupId: org.hibernate
artifactId: hibernate-core
exclusionGroupId: javax.activation
exclusionArtifactId: javax.activation-api
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.narayana.jta
oldArtifactId: narayana-jta
newGroupId: org.jboss.narayana.jta
newArtifactId: narayana-jta-jakarta
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.narayana.jts
oldArtifactId: narayana-jts-integration
newGroupId: org.jboss.narayana.jts
newArtifactId: narayana-jts-integration-jakarta
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: hibernate-core
newGroupId: org.hibernate
newArtifactId: hibernate-core-jakarta
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: hibernate-envers
newGroupId: org.hibernate
newArtifactId: hibernate-envers-jakarta
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: hibernate-jpamodelgen
newGroupId: org.hibernate
newArtifactId: hibernate-jpamodelgen-jakarta
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate.reactive
oldArtifactId: hibernate-reactive-core
newGroupId: org.hibernate.reactive
newArtifactId: hibernate-reactive-core-jakarta
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate
oldArtifactId: quarkus-local-cache
newGroupId: org.hibernate
newArtifactId: quarkus-local-cache-jakarta
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.hibernate-search-switch
displayName: Switch Hibernate Search dependencies
recipeList:
- org.openrewrite.maven.RemoveExclusion:
groupId: org.hibernate.search
artifactId: hibernate-search-mapper-orm-coordination-outbox-polling
exclusionGroupId: javax.persistence
exclusionArtifactId: javax.persistence-api
- org.openrewrite.maven.RemoveExclusion:
groupId: org.hibernate.search
artifactId: hibernate-search-mapper-orm
exclusionGroupId: javax.persistence
exclusionArtifactId: javax.persistence-api
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate.search
oldArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling
newGroupId: org.hibernate.search
newArtifactId: hibernate-search-mapper-orm-coordination-outbox-polling-jakarta
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.hibernate.search
oldArtifactId: hibernate-search-mapper-orm
newGroupId: org.hibernate.search
newArtifactId: hibernate-search-mapper-orm-jakarta
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.smallrye
displayName: Adjust SmallRye dependencies
recipeList:
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-common.version
newValue: 2.0.0-RC3
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-context-propagation.version
newValue: 1.3
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-context-propagation.version
newValue: 2.0.0-RC1
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-config-api.version
newValue: 3.0
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-config.version
newValue: 3.0.0-RC2
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-fault-tolerance.version
newValue: 6.0.0-RC4
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-graphql.version
newValue: 2.0.0.RC4
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-health.version
newValue: 4.0.0-RC2
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-jwt.version
newValue: 2.0
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-jwt.version
newValue: 4.0.0-RC2
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-lra.version
newValue: 2.0-RC1
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-metrics-api.version
newValue: 4.0.1
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-metrics.version
newValue: 4.0.0-RC1
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-open-api.version
newValue: 3.0.0-RC1
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-opentracing-api.version
newValue: 3.0
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-opentracing.version
newValue: 3.0.0-RC1
- org.openrewrite.maven.ChangePropertyValue:
key: smallrye-reactive-messaging.version
newValue: 4.0.0.RC1
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-rest-client.version
newValue: 3.0
# TestNG update, needed for the MicroProfile TCKs
- org.openrewrite.maven.ChangePropertyValue:
key: testng.version
newValue: 7.4.0
# In progress, these ones need a change:
# <microprofile-reactive-streams-operators.version>1.0.1</microprofile-reactive-streams-operators.version>
# <microprofile-lra.version>1.0</microprofile-lra.version>
# <smallrye-graphql.version>1.4.3</smallrye-graphql.version>
# <smallrye-reactive-streams-operators.version>1.0.13</smallrye-reactive-streams-operators.version>
# <smallrye-reactive-types-converter.version>2.6.0</smallrye-reactive-types-converter.version>
# <smallrye-mutiny-vertx-binding.version>2.19.0</smallrye-mutiny-vertx-binding.version>
# <smallrye-reactive-messaging.version>3.15.0</smallrye-reactive-messaging.version>
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.microprofile-tck-versions
displayName: Adjust MicroProfile TCK versions
recipeList:
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-config-tck.version
newValue: 3.0.1
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-context-propagation-tck.version
newValue: 1.3
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-fault-tolerance-tck.version
newValue: 4.0
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-graphql-tck.version
newValue: 2.0
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-health-tck.version
newValue: 4.0
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-jwt-auth-tck.version
newValue: 2.1-RC2
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-metrics-tck.version
newValue: 4.0.1
# TODO: update to 3.1 once SmallRye passes it
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-openapi-tck.version
newValue: 3.0
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-opentracing-tck.version
newValue: 3.0
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-reactive-messaging-tck.version
newValue: 3.0-RC2
- org.openrewrite.maven.ChangePropertyValue:
key: microprofile-rest-client-tck.version
newValue: 3.0
- org.openrewrite.maven.ChangePropertyValue:
key: resteasy-reactive-testsuite.repo.ref
newValue: 4324a133a824c6b9253870df8e8f7aeb2d76fe3b
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.maven.javax.managed
displayName: Adjust inject dependencies for Maven
recipeList:
- org.openrewrite.maven.AddManagedDependency:
groupId: javax.inject
artifactId: javax.inject
version: "${javax.inject.version}"
- org.openrewrite.maven.AddManagedDependency:
groupId: javax.annotation
artifactId: javax.annotation-api
version: "${javax.annotation-api.version}"
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.maven.javax.allow
displayName: Adjust inject dependencies for Maven
recipeList:
- org.openrewrite.maven.RemoveExclusion:
groupId: org.apache.maven
artifactId: maven-plugin-api
exclusionGroupId: javax.inject
exclusionArtifactId: javax.inject
- org.openrewrite.maven.RemoveExclusion:
groupId: org.apache.maven
artifactId: maven-plugin-api
exclusionGroupId: javax.annotation
exclusionArtifactId: javax.annotation-api
- org.openrewrite.maven.RemoveExclusion:
groupId: org.apache.maven
artifactId: maven-core
exclusionGroupId: javax.inject
exclusionArtifactId: javax.inject
- org.openrewrite.maven.RemoveExclusion:
groupId: org.apache.maven
artifactId: maven-embedder
exclusionGroupId: javax.inject
exclusionArtifactId: javax.inject
- org.openrewrite.maven.RemoveExclusion:
groupId: org.apache.maven
artifactId: maven-embedder
exclusionGroupId: javax.annotation
exclusionArtifactId: javax.annotation-api
- org.openrewrite.maven.RemoveExclusion:
groupId: org.apache.maven
artifactId: maven-resolver-provider
exclusionGroupId: javax.inject
exclusionArtifactId: javax.inject
- org.openrewrite.maven.RemoveExclusion:
groupId: org.apache.maven
artifactId: maven-settings-builder
exclusionGroupId: javax.inject
exclusionArtifactId: javax.inject
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.maven.javax.versions
displayName: Adjust bootstrap
recipeList:
- org.openrewrite.maven.ChangePropertyValue:
key: javax.inject.version
newValue: 1
addIfMissing: true
- org.openrewrite.maven.ChangePropertyValue:
key: javax.annotation-api.version
newValue: 1.3.2
addIfMissing: true
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.extensions.arc
displayName: Adjust ArC extension
recipeList:
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.spec.javax.ejb
oldArtifactId: jboss-ejb-api_3.1_spec
newGroupId: jakarta.ejb
newArtifactId: jakarta.ejb-api
newVersion: 4.0.0
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.bom.resteasy-microprofile
displayName: Add RESTEasy MicroProfile Config to BOM
recipeList:
- org.openrewrite.maven.AddManagedDependency:
groupId: org.jboss.resteasy.microprofile
artifactId: microprofile-config
version: "${resteasy-microprofile.version}"
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.resteasy
oldArtifactId: resteasy-client-microprofile
newGroupId: org.jboss.resteasy.microprofile
newArtifactId: microprofile-rest-client
newVersion: "${resteasy-microprofile.version}"
- org.openrewrite.maven.ChangePropertyValue:
key: resteasy-microprofile.version
newValue: 2.0.0.Beta1
addIfMissing: true
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.resteasy-common
displayName: Add RESTEasy MicroProfile Config to RESTEasy Common
recipeList:
- org.openrewrite.maven.AddDependencyNoQuestionsAsked:
groupId: org.jboss.resteasy.microprofile
artifactId: microprofile-config
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.bom.resteasy-spring-web
displayName: Add RESTEasy Spring Web to BOM
recipeList:
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.resteasy
oldArtifactId: resteasy-spring-web
newGroupId: org.jboss.resteasy.spring
newArtifactId: resteasy-spring-web
newVersion: "${resteasy-spring-web.version}"
- org.openrewrite.maven.ChangePropertyValue:
key: resteasy-spring-web.version
newValue: 3.0.0.Alpha2
addIfMissing: true
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.resteasy-spring-web
displayName: Adjust RESTEasy Spring Web
recipeList:
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.resteasy
oldArtifactId: resteasy-spring-web
newGroupId: org.jboss.resteasy.spring
newArtifactId: resteasy-spring-web
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.rest-client
displayName: Add RESTEasy MicroProfile Config to RESTEasy Common
recipeList:
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.jboss.resteasy
oldArtifactId: resteasy-client-microprofile
newGroupId: org.jboss.resteasy.microprofile
newArtifactId: microprofile-rest-client
---
type: specs.openrewrite.org/v1beta/recipe
name: io.quarkus.keycloak-admin-client
displayName: Adjust Keycloak Admin Client
recipeList:
- org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId:
oldGroupId: org.keycloak
oldArtifactId: keycloak-admin-client
newGroupId: org.keycloak
newArtifactId: keycloak-admin-client-jakarta
newVersion: 999-SNAPSHOT
- org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId:
oldGroupId: org.keycloak
oldArtifactId: keycloak-admin-client
newGroupId: org.keycloak
newArtifactId: keycloak-admin-client-jakarta