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 0e4b39d..4839e81 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 @@ -67,12 +67,13 @@ void produceApplicationArchiveMarker( @BuildStep(onlyIf = IsNormal.class) void uberJarServiceLoaders(BuildProducer producer) { List serviceFiles = List.of( - "org.primefaces.component.fileupload.FileUploadDecoder", - "org.primefaces.util.PropertyDescriptorResolver", - "org.primefaces.virusscan.VirusScanner"); + "services/org.primefaces.component.fileupload.FileUploadDecoder", + "services/org.primefaces.util.PropertyDescriptorResolver", + "services/org.primefaces.virusscan.VirusScanner", + "maven/org.json/json/pom.properties"); for (String serviceFile : serviceFiles) { - producer.produce(new UberJarMergedResourceBuildItem("META-INF/services/" + serviceFile)); + producer.produce(new UberJarMergedResourceBuildItem("META-INF/" + serviceFile)); } } @@ -228,4 +229,4 @@ void enforceInitParams(BuildProducer initParam) { // only native uploading is supported no need for Commons FileUpload initParam.produce(new ServletInitParamBuildItem(Constants.ContextParams.UPLOADER, "native")); } -} +} \ No newline at end of file