Skip to content

Commit

Permalink
MYFACES-4427: 5.0 Quarkus UberJar add META-INF/myfaces-metadata.xml (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Oct 29, 2024
1 parent 33908ad commit a332e03
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,20 @@ public class FacesUberJarProcessor
void uberJarServiceLoaders(BuildProducer<UberJarMergedResourceBuildItem> producer)
{
List<String> serviceFiles = List.of(
"jakarta.el.ExpressionFactory",
"jakarta.enterprise.inject.spi.Extension",
"jakarta.json.spi.JsonProvider",
"jakarta.servlet.ServletContainerInitializer",
"jakarta.websocket.ContainerProvider",
"jakarta.websocket.server.ServerEndpointConfig$Configurator",
"org.apache.myfaces.spi.AnnotationProvider",
"org.apache.myfaces.spi.InjectionProvider"
"myfaces-metadata.xml",
"services/jakarta.el.ExpressionFactory",
"services/jakarta.enterprise.inject.spi.Extension",
"services/jakarta.json.spi.JsonProvider",
"services/jakarta.servlet.ServletContainerInitializer",
"services/jakarta.websocket.ContainerProvider",
"services/jakarta.websocket.server.ServerEndpointConfig$Configurator",
"services/org.apache.myfaces.spi.AnnotationProvider",
"services/org.apache.myfaces.spi.InjectionProvider"
);

for (String serviceFile : serviceFiles)
{
producer.produce(new UberJarMergedResourceBuildItem("META-INF/services/" + serviceFile));
producer.produce(new UberJarMergedResourceBuildItem("META-INF/" + serviceFile));
}
}

Expand Down

0 comments on commit a332e03

Please sign in to comment.