[#1414] Upgrade Quarkus to 2.6.1.Final and fix metadata of extension#1415
[#1414] Upgrade Quarkus to 2.6.1.Final and fix metadata of extension#1415gsmet wants to merge 3 commits intoBlazebit:mainfrom
Conversation
| return null; | ||
| } | ||
| return new CapabilityBuildItem(CAPABILITY); | ||
| } |
There was a problem hiding this comment.
I don't think it's worth keeping that for new versions given Quarkus 2 is there for quite a while now and there's very little chance people would use new versions of the extension with it.
| <plugins> | ||
| <plugin> | ||
| <groupId>io.quarkus</groupId> | ||
| <artifactId>quarkus-bootstrap-maven-plugin</artifactId> |
There was a problem hiding this comment.
@aloubyansky can you check I did things properly? I checked the metadata and they look fine now.
Metadata are:
---
name: "Blaze-Persistence"
metadata:
short-name: "BP"
keywords:
- "jpa"
- "hibernate"
- "blaze-persistence"
- "entity-view"
- "dto"
- "mapper"
- "sql"
guide: "https://quarkus.io/guides/blaze-persistence"
categories:
- "data"
status: "stable"
built-with-quarkus-core: "2.6.1.Final"
capabilities:
provides:
- "com.blazebit.persistence.integration.quarkus"
extension-dependencies:
- "io.quarkus:quarkus-core"
- "io.quarkus:quarkus-hibernate-orm"
- "io.quarkus:quarkus-agroal"
- "io.quarkus:quarkus-arc"
- "io.quarkus:quarkus-datasource"
- "io.quarkus:quarkus-narayana-jta"
- "io.quarkus:quarkus-mutiny"
- "io.quarkus:quarkus-smallrye-context-propagation"
- "io.quarkus:quarkus-caffeine"
artifact: "com.blazebit:blaze-persistence-integration-quarkus::jar:1.6.5-SNAPSHOT"
description: "Advanced SQL support for JPA and Entity-Views as efficient DTOs"|
Looks good @gsmet, thanks! |
|
Coming here from quarkiverse/quarkus-logging-manager#125 First load of Dev UI breaks with blaze 1.6.4 on Quarkus 2.6.1. Without that lazy optimization from quarkusio/quarkus@315f6b2 (which I first thought was the cause) the error pops up eagerly during boot of dev mode (which is even more unpleasant). |
|
...aaand it breaks on Quarkus 2.5.4 as well (eagerly this time because that lazy tweak was added only to 2.6.0.CR1+). |
|
@aloubyansky yeah, thats what I reckoned. It feels there is a test coverage gap here. I mean quarkus integration wise 1.6.4 is kinda doomed, 1.6.5 will probably fix it. No offense really, it's just that 1.6.4 took a while and so it's a bit sad to see it turn out like this. |
|
Extensions can include dev mode tests in their test suite (and the the platform one), I suppose that would catch this kind of issue. |
|
TBH, my main interrogation is why it didn't fail earlier. |
|
Earlier - meaning 1.6.3? |
|
1.6.3 didn't have this: #1376 (but not sure if related) |
|
Outch, yes, so that might be it because it removes the metadata generation. My guess is that the |
|
Yes, if the plugin is present anyway, it's not worth it having the descriptor as a static resource. |
|
Added a commit to remove it. |
|
Turns out there is at least one |
|
I also updated the Quarkus version in this PR. |
|
Right, I missed that one. |
e48c9da to
40a2617
Compare
So now we have the issue that Quarkus 2 is JDK 11 only. |
Fixes #1414
Note: there's a good chance CI will fail as the license headers need an update but I'll let you do that yourself as the license update also removed a new line on my box and I'm not sure it's expected.
Let me know when I can rebase this one.