Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3087

Resteasy jettison provider commented out in the JaxrsDepependencyProcessor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • 7.0.0.ER6
    • 7.0.0.ER4
    • REST
    • None

    Description

      The jettison provider is commented out from default modules in JaxrsDependencyProcessor:
      https://github.com/jbossas/jboss-eap7/commit/e247791a2de89c62afb5f71b33da8630a9d7826b

      This causes that jettison provider is not found unless you use the following jboss-deployment-descriptor.xml in your application:

      <?xml version="1.0" encoding="UTF-8"?>
      <jboss-deployment-structure>
          <deployment>
              <exclusions>
                  <module name="org.jboss.resteasy.resteasy-jackson2-provider"/>
                  <module name="org.jboss.resteasy.resteasy-jackson-provider"/>
              </exclusions>
              <dependencies>
                  <module name="org.jboss.resteasy.resteasy-jettison-provider" services="import"/>
              </dependencies>
          </deployment>
      </jboss-deployment-structure>
      

      The dependency to the jettison-provider is neccessary in order to trigger it. IMHO it should be triggered even without explicit dependency to it.

      Is it ok if the resteasy jettison provider stays commented out and we add note into the migration notes? (There is a workaround if some customers wish to use it)

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              kanovotn Katerina Odabasi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: