Repository: quarkusio/quarkus
Issue: RestEasy Jaxb not registered properly anymore

**Describe the bug**
After Upgrading our Application from 1.9.2.Final to 1.10.0.Final which uses Jax-b, REST calls fail because there is no MessageBodyReader present anymore

```
RESTEASY003145: Unable to find a MessageBodyReader of content-type application/xml and type class xxx.xxx.xxx
```

The dependecies include

```
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-jaxb</artifactId>
        </dependency>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy-jaxb</artifactId>
        </dependency>
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-rest-client-jaxb</artifactId>
        </dependency>
```

Funny Note:
In Tests that are run without Quarkus, the Jaxb-Providers are still registered and working

**Expected behavior**
XML should be read with jaxb as before

**Actual behavior**
(Describe the actual behavior clearly and concisely.)

```

**Environment (please complete the following information):**
 - Output of `uname -a` or `ver`: Linux 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

 - Output of `java -version`: openjdk 11.0.9 2020-10-20 LTS
 - Quarkus version or git rev: 1.10.0.Final



Changed files:
extensions/resteasy-classic/resteasy-jaxb/deployment/src/main/java/io/quarkus/resteasy/jaxb/deployment/ResteasyJaxbProcessor.java

diff --git a/extensions/resteasy-classic/resteasy-jaxb/deployment/src/main/java/io/quarkus/resteasy/jaxb/deployment/ResteasyJaxbProcessor.java b/extensions/resteasy-classic/resteasy-jaxb/deployment/src/main/java/io/quarkus/resteasy/jaxb/deployment/ResteasyJaxbProcessor.java
index e6d430d099d..e4ce30d18ac 100644
--- a/extensions/resteasy-classic/resteasy-jaxb/deployment/src/main/java/io/quarkus/resteasy/jaxb/deployment/ResteasyJaxbProcessor.java
+++ b/extensions/resteasy-classic/resteasy-jaxb/deployment/src/main/java/io/quarkus/resteasy/jaxb/deployment/ResteasyJaxbProcessor.java
@@ -4,6 +4,7 @@
 import java.util.Arrays;
 import java.util.Collections;
 import java.util.List;
+import java.util.Set;
 
 import org.jboss.jandex.DotName;
 import org.jboss.jandex.IndexView;
@@ -20,6 +21,7 @@
 import io.quarkus.deployment.builditem.FeatureBuildItem;
 import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import io.quarkus.jaxb.deployment.JaxbClassesToBeBoundBuildItem;
+import io.quarkus.resteasy.common.spi.ResteasyJaxrsProviderBuildItem;
 
 public class ResteasyJaxbProcessor {
 
@@ -61,6 +63,23 @@ void build(BuildProducer<FeatureBuildItem> feature) {
         feature.produce(new FeatureBuildItem(Feature.RESTEASY_JAXB));
     }
 
+    @BuildStep
+    void registerProviders(BuildProducer<ResteasyJaxrsProviderBuildItem> jaxrsProviders) {
+        Set<String> providers = Set.of(
+                "org.jboss.resteasy.plugins.providers.SourceProvider",
+                "org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlSeeAlsoProvider",
+                "org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlRootElementProvider",
+                "org.jboss.resteasy.plugins.providers.jaxb.JAXBElementProvider",
+                "org.jboss.resteasy.plugins.providers.jaxb.JAXBXmlTypeProvider",
+                "org.jboss.resteasy.plugins.providers.jaxb.CollectionProvider",
+                "org.jboss.resteasy.plugins.providers.jaxb.MapProvider",
+                "org.jboss.resteasy.plugins.providers.jaxb.XmlJAXBContextFinder");
+
+        for (String provider : providers) {
+            jaxrsProviders.produce(new ResteasyJaxrsProviderBuildItem(provider));
+        }
+    }
+
     private void addReflectiveClass(BuildProducer<ReflectiveClassBuildItem> reflectiveClass, boolean methods, boolean fields,
             String... className) {
         reflectiveClass.produce(new ReflectiveClassBuildItem(methods, fields, className));