From effb9874e9a9c09ccea6a0ae5badfec50b9e12a4 Mon Sep 17 00:00:00 2001 From: Melloware Date: Sun, 3 Nov 2024 12:13:21 -0500 Subject: [PATCH] MyFaces 4.1.0-RC3 (#282) --- pom.xml | 2 +- .../deployment/PrimeFacesProcessor.java | 37 ------------------- 2 files changed, 1 insertion(+), 38 deletions(-) diff --git a/pom.xml b/pom.xml index 451e9eb..9ecd025 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ 3.1.2 14.0.6 14.0.6 - 4.0.2 + 4.1.0-RC3 17 diff --git a/quarkus-primefaces/deployment/src/main/java/io/quarkiverse/primefaces/deployment/PrimeFacesProcessor.java b/quarkus-primefaces/deployment/src/main/java/io/quarkiverse/primefaces/deployment/PrimeFacesProcessor.java index a787a70..996f805 100644 --- a/quarkus-primefaces/deployment/src/main/java/io/quarkiverse/primefaces/deployment/PrimeFacesProcessor.java +++ b/quarkus-primefaces/deployment/src/main/java/io/quarkiverse/primefaces/deployment/PrimeFacesProcessor.java @@ -3,13 +3,10 @@ import java.util.ArrayList; import java.util.List; -import org.jboss.jandex.DotName; import org.primefaces.model.file.CommonsUploadedFile; import org.primefaces.util.Constants; import org.primefaces.util.PropertyDescriptorResolver; -import io.quarkus.arc.deployment.AdditionalBeanBuildItem; -import io.quarkus.arc.deployment.BeanDefiningAnnotationBuildItem; import io.quarkus.deployment.IsNormal; import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; @@ -193,40 +190,6 @@ void registerForSerialization(PrimeFacesRecorder recorder, BuildProducer additionalBean, - BuildProducer beanDefiningAnnotation, - BuildProducer reflectiveClass) { - additionalBean.produce(AdditionalBeanBuildItem - .unremovableOf(org.apache.myfaces.push.cdi.WebsocketScopeManager.ApplicationScope.class)); - additionalBean.produce( - AdditionalBeanBuildItem.unremovableOf(org.apache.myfaces.push.cdi.WebsocketScopeManager.SessionScope.class)); - additionalBean.produce( - AdditionalBeanBuildItem.unremovableOf(org.apache.myfaces.push.cdi.WebsocketScopeManager.ViewScope.class)); - - beanDefiningAnnotation - .produce(new BeanDefiningAnnotationBuildItem(DotName.createSimple(jakarta.faces.annotation.View.class))); - - // TODO: remove in MyFaces 4.0.3 - reflectiveClass.produce(ReflectiveClassBuildItem - .builder("org.apache.myfaces.view.facelets.component.RepeatStatus", - "org.apache.myfaces.push.EndpointImpl", - "jakarta.faces.component._AttachedStateWrapper", - "jakarta.faces.component._DeltaStateHelper", - "jakarta.faces.component._DeltaStateHelper$InternalMap", - "jakarta.faces.context._MyFacesExternalContextHelper", - "jakarta.faces.component._AttachedDeltaWrapper", - "java.util.Collections$EmptySet", - java.lang.StringBuilder.class.getName(), - jakarta.el.Expression.class.getName(), - jakarta.el.ValueExpression.class.getName(), - jakarta.faces.view.Location.class.getName(), - org.apache.myfaces.view.ViewScopeProxyMap.class.getName(), - org.apache.myfaces.view.facelets.tag.faces.FaceletState.class.getName()) - .methods().fields().serialization().build()); - } - @BuildStep void enforceInitParams(BuildProducer initParam) { // only native uploading is supported no need for Commons FileUpload