Skip to content

Commit

Permalink
Combine "maven/org.json/json/pom.properties
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Oct 29, 2024
1 parent e3b37cc commit b2a9d25
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,13 @@ void produceApplicationArchiveMarker(
@BuildStep(onlyIf = IsNormal.class)
void uberJarServiceLoaders(BuildProducer<UberJarMergedResourceBuildItem> producer) {
List<String> 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));
}
}

Expand Down Expand Up @@ -228,4 +229,4 @@ void enforceInitParams(BuildProducer<ServletInitParamBuildItem> initParam) {
// only native uploading is supported no need for Commons FileUpload
initParam.produce(new ServletInitParamBuildItem(Constants.ContextParams.UPLOADER, "native"));
}
}
}

0 comments on commit b2a9d25

Please sign in to comment.