Commit 40cae55
committed
Upgrade to Quarkus 3.0
the main change is migrating from JavaEE to JakartaEE.
- update Quarkus bom from io.quarkus:quarkus-universe-bom to
io.quarkus.platform:quarkus-bom as it was deprecated since Quarkus 2.1
https://github.com/quarkusio/quarkus/wiki/Migration-Guide-2.1#quarkus-universe-bom-is-deprecated
(and it is required to use the Quarkus migration tool)
- deactivated tests CompasOclFileCollectorTest and
SclRiseClipseValidatorTest which are failign locally so that I can build
locally the whole project and have the Quarkus migration tool working
- launched quarkus `quarkus update --stream=3.0` as mentioned in
https://github.com/quarkusio/quarkus/wiki/Migration-Guide-3.0#automatic-update-tool
which dealt with a fair part of the migration. Then it remained few
little tasks.
fix #204
Currently build failure:
```
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile
(default-compile) on project app: Compilation failure: Compilation
failure:
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/encoder/SclValidateWsResponseEncoder.java:[10,8]
cannot access javax.websocket.Encoder
[ERROR] class file for javax.websocket.Encoder not found
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/decoder/SclValidateWsResponseDecoder.java:[10,8]
cannot access javax.websocket.Decoder
[ERROR] class file for javax.websocket.Decoder not found
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/SclValidatorServerEndpoint.java:[30,48]
incompatible types:
java.lang.Class<org.lfenergy.compas.scl.validator.websocket.v1.decoder.SclValidateWsRequestDecoder>
cannot be converted to java.lang.Class<? extends
jakarta.websocket.Decoder>
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/SclValidatorServerEndpoint.java:[31,49]
incompatible types:
java.lang.Class<org.lfenergy.compas.scl.validator.websocket.v1.encoder.SclValidateWsResponseEncoder>
cannot be converted to java.lang.Class<? extends
jakarta.websocket.Encoder>
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/SclValidatorServerEndpoint.java:[31,77]
incompatible types:
java.lang.Class<org.lfenergy.compas.core.websocket.ErrorResponseEncoder>
cannot be converted to java.lang.Class<? extends
jakarta.websocket.Encoder>
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/SclValidatorServerEndpoint.java:[59,9]
cannot access javax.websocket.Session
[ERROR] class file for javax.websocket.Session not found
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/encoder/SclValidateWsResponseEncoder.java:[11,5]
method does not override or implement a method from a supertype
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/decoder/SclValidateWsResponseDecoder.java:[11,5]
method does not override or implement a method from a supertype
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/decoder/SclValidateWsResponseDecoder.java:[16,5]
method does not override or implement a method from a supertype
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/decoder/SclValidateWsRequestDecoder.java:[11,5]
method does not override or implement a method from a supertype
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/decoder/SclValidateWsRequestDecoder.java:[16,5]
method does not override or implement a method from a supertype
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/event/SclValidatorEventHandler.java:[29,81]
incompatible types: jakarta.websocket.Session cannot be converted to
javax.websocket.Session
[ERROR] /home/apupier/git/compas-scl-validator/app/src/main/java/org/lfenergy/compas/scl/validator/websocket/v1/encoder/SclValidateWsRequestEncoder.java:[11,5]
method does not override or implement a method from a supertype
```
Signed-off-by: Aurélien Pupier <apupier@redhat.com>1 parent e5c5e12 commit 40cae55
File tree
27 files changed
+75
-75
lines changed- app/src
- main/java/org/lfenergy/compas/scl/validator
- rest
- exception
- monitoring
- v1
- model
- websocket
- event
- model
- v1
- model
- test/java/org/lfenergy/compas/scl/validator
- rest/exception
- websocket
- event
- model
- v1
- decoder
- service/src/main/java/org/lfenergy/compas/scl/validator/service
- validator/src/main/java/org/lfenergy/compas/scl/validator/model
27 files changed
+75
-75
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments