Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix nativeImageResourceBundleBuildItem instead of nativeImageResource…
Browse files Browse the repository at this point in the history
…BuildItem
dufoli committed Jun 25, 2021
1 parent 5552f6a commit cd17809
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -89,6 +89,7 @@
import io.quarkus.deployment.builditem.IndexDependencyBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageProxyDefinitionBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBundleBuildItem;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
import io.quarkus.deployment.pkg.PackageConfig;
@@ -1066,11 +1067,14 @@ public void registerReflectionItems(BuildProducer<ReflectiveClassBuildItem> refl
"org.springframework.osgi.util.BundleDelegatingClassLoader"));
}

@BuildStep
NativeImageResourceBundleBuildItem nativeImageResourceBundleBuildItem() {
return new NativeImageResourceBundleBuildItem("org.apache.cxf.interceptor.Messages");
}
@BuildStep
NativeImageResourceBuildItem nativeImageResourceBuildItem() {
//TODO add @HandlerChain (file) and parse it to add class loading
return new NativeImageResourceBuildItem("com/sun/xml/fastinfoset/resources/ResourceBundle.properties",
"org.apache.cxf.interceptor.Messages.properties",
"META-INF/cxf/bus-extensions.txt",
"META-INF/services/javax.xml.ws.spi.Provider",
"META-INF/cxf/cxf.xml",

0 comments on commit cd17809

Please sign in to comment.