is there any possibility to remove a provider in the build process?
I tried to hook in the "ResteasyDeploymentCustomizerBuildItem" in the following way:
deploymentCustomizerProducer.produce(new ResteasyDeploymentCustomizerBuildItem(new Consumer<ResteasyDeployment>() {
@Override
public void accept(ResteasyDeployment resteasyDeployment) {
resteasyDeployment.getProviderClasses().remove("my.testpackage.TestProvider");
}
}));
But in my opinion the removement is ignored and the provider is registered!
Thanks in advance for your tips!