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

trunk - Resteasy dependency on commons-httpclient should be marked optional

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0-beta-5
    • 2.3.5.Final
    • jaxrs
    • None

      The resteasy-jaxrs pom currently has a dependency on apache commons-httpclient. This dependency has been banned in AS/EAP because it's been replaced by the newer org.apache.httpcomponents:httpclient. If the older dependency is needed for backwards compatibility, it should be marked as "optional" so that it isn't included as a transitive dependency.

      There is also a transitive dependency on commons-logging.

      org.jboss.resteasy:resteasy-jaxrs:jar:2.3.5.Final-redhat-1:compile
      org.apache.httpcomponents:httpclient:jar:4.2.1-redhat-1:compile
      commons-logging:commons-logging:jar:1.1.1-redhat-2:compile

      This should be excluded in the resteasy-jaxrs pom.

            weli@redhat.com Weinan Li
            weli@redhat.com Weinan Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: