You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ta...@apache.org on 2026/01/12 18:00:10 UTC
(myfaces) branch main updated: MYFACES-4739: 5.0 Quarkus LTS and DevUI Card (#949)
This is an automated email from the ASF dual-hosted git repository.
tandraschko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/myfaces.git
The following commit(s) were added to refs/heads/main by this push:
new f974eee03 MYFACES-4739: 5.0 Quarkus LTS and DevUI Card (#949)
f974eee03 is described below
commit f974eee0390239f1d3a6282194b037929d890bc3
Author: Melloware <me...@gmail.com>
AuthorDate: Mon Jan 12 13:00:04 2026 -0500
MYFACES-4739: 5.0 Quarkus LTS and DevUI Card (#949)
---
.../devui/MyFacesCoreDevUIProcessor.java | 15 +--
.../main/resources/dev-ui/qwc-myfaces-core-card.js | 104 ---------------------
extensions/quarkus/pom.xml | 2 +-
.../main/resources/META-INF/quarkus-extension.yaml | 2 +-
4 files changed, 4 insertions(+), 119 deletions(-)
diff --git a/extensions/quarkus/deployment/src/main/java/org/apache/myfaces/core/extensions/quarkus/deployment/devui/MyFacesCoreDevUIProcessor.java b/extensions/quarkus/deployment/src/main/java/org/apache/myfaces/core/extensions/quarkus/deployment/devui/MyFacesCoreDevUIProcessor.java
index 7edcc608b..342c00068 100644
--- a/extensions/quarkus/deployment/src/main/java/org/apache/myfaces/core/extensions/quarkus/deployment/devui/MyFacesCoreDevUIProcessor.java
+++ b/extensions/quarkus/deployment/src/main/java/org/apache/myfaces/core/extensions/quarkus/deployment/devui/MyFacesCoreDevUIProcessor.java
@@ -18,14 +18,10 @@
*/
package org.apache.myfaces.core.extensions.quarkus.deployment.devui;
-import org.apache.myfaces.config.webparameters.MyfacesConfig;
-
import io.quarkus.deployment.IsDevelopment;
import io.quarkus.deployment.annotations.BuildProducer;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.devui.spi.page.CardPageBuildItem;
-import io.quarkus.devui.spi.page.Page;
-import io.quarkus.devui.spi.page.PageBuilder;
/**
* Dev UI card for displaying important details such as the library version.
@@ -38,15 +34,8 @@ void createVersion(BuildProducer<CardPageBuildItem> cardPageBuildItemBuildProduc
{
final CardPageBuildItem card = new CardPageBuildItem();
- final PageBuilder versionPage = Page.externalPageBuilder("Version")
- .icon("font-awesome-solid:book")
- .url("https://myfaces.apache.org/#/core40")
- .doNotEmbed()
- .staticLabel(MyfacesConfig.class.getPackage().getImplementationVersion());
-
- card.addPage(versionPage);
-
- card.setCustomCard("qwc-myfaces-core-card.js");
+ card.addLibraryVersion("org.apache.myfaces.core", "myfaces-impl", "MyFaces",
+ "https://myfaces.apache.org/#/core50");
cardPageBuildItemBuildProducer.produce(card);
}
diff --git a/extensions/quarkus/deployment/src/main/resources/dev-ui/qwc-myfaces-core-card.js b/extensions/quarkus/deployment/src/main/resources/dev-ui/qwc-myfaces-core-card.js
deleted file mode 100644
index 5d2ddc1d2..000000000
--- a/extensions/quarkus/deployment/src/main/resources/dev-ui/qwc-myfaces-core-card.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); 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.
- */
-import { LitElement, html, css} from 'lit';
-import { pages } from 'build-time-data';
-import 'qwc/qwc-extension-link.js';
-
-const NAME = "MyFaces Core";
-export class QwcMyFacesCoreCard extends LitElement {
-
- static styles = css`
- .identity {
- display: flex;
- justify-content: flex-start;
- }
-
- .description {
- padding-bottom: 10px;
- }
-
- .logo {
- padding-bottom: 10px;
- margin-right: 5px;
- }
-
- .card-content {
- color: var(--lumo-contrast-90pct);
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- padding: 2px 2px;
- height: 100%;
- }
-
- .card-content slot {
- display: flex;
- flex-flow: column wrap;
- padding-top: 5px;
- }
- `;
-
- static properties = {
- description: {type: String}
- };
-
- constructor() {
- super();
- }
-
- connectedCallback() {
- super.connectedCallback();
- }
-
- render() {
- return html`<div class="card-content" slot="content">
- <div class="identity">
- <div class="logo">
- <img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2aWV3Qm94PSIwIDAgMjM5Mi41IDQyMjYuNiI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0iYiIgZmlsbD0iI0JFMjAyRSIgZD0iTTEzOTMuMiAxOTM0 [...]
- alt="${NAME}"
- title="${NAME}"
- width="32"
- height="32">
- </div>
- <div class="description">${this.description}</div>
- </div>
- ${this._renderCardLinks()}
- </div>
- `;
- }
-
- _renderCardLinks(){
- return html`${pages.map(page => html`
- <qwc-extension-link slot="link"
- extensionName="${NAME}"
- iconName="${page.icon}"
- displayName="${page.title}"
- staticLabel="${page.staticLabel}"
- dynamicLabel="${page.dynamicLabel}"
- streamingLabel="${page.streamingLabel}"
- path="${page.id}"
- ?embed=${page.embed}
- externalUrl="${page.metadata.externalUrl}"
- webcomponent="${page.componentLink}" >
- </qwc-extension-link>
- `)}`;
- }
-
-}
-customElements.define('qwc-myfaces-core-card', QwcMyFacesCoreCard);
\ No newline at end of file
diff --git a/extensions/quarkus/pom.xml b/extensions/quarkus/pom.xml
index 9697e621a..915e039ea 100644
--- a/extensions/quarkus/pom.xml
+++ b/extensions/quarkus/pom.xml
@@ -41,7 +41,7 @@
</modules>
<properties>
- <quarkus.version>3.28.3</quarkus.version>
+ <quarkus.version>3.27.1</quarkus.version>
<xml-combiner.version>3.0.0</xml-combiner.version>
</properties>
diff --git a/extensions/quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions/quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml
index d13ec845e..174e2e9e0 100644
--- a/extensions/quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml
+++ b/extensions/quarkus/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -27,7 +27,7 @@ metadata:
- "Faces"
- "Jakarta Faces"
guide: "https://myfaces.apache.org/#/coregettingstarted?id=quarkus"
- icon-url: "https://www.apache.org/foundation/press/kit/poweredBy/Apache_PoweredBy.svg"
+ icon-url: "https://www.apache.org/logos/originals/myfaces.svg"
categories:
- "web"
status: "stable"