Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3548

Analyze the provider dependencies to ensure they include the correct dependencies

XMLWordPrintable

      Providers can be used on the client side and should transitively include the dependencies they required. One example of an issue is org.jboss.resteasy:resteasy-json-p-provider requires a Jakarta JSON implementation, but has it marked as optional.

      <dependency>
          <groupId>org.eclipse.parsson</groupId>
          <artifactId>parsson</artifactId>
          <optional>true</optional>
      </dependency>
      

      The <optional>true</optional> should be removed.

      It also has a dependency on:

      <dependency>
          <groupId>org.jboss.resteasy</groupId>
          <artifactId>resteasy-client</artifactId>
          <version>${project.version}</version>
          <scope>provided</scope>
      </dependency>
      

      My guess is that should be <scope>test</scope>.

      Given these examples, we should also look at the other providers as well as verify we're up to date on our consumer BOM.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: