Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59472

Instructions to use Apache HttpComponents Client 4.x API Plugin

    Details

    • Similar Issues:
    • Released As:
      4.5.10-2.0

      Description

      Libraries packaged into hpi files are decided with the "nearest definition" rule of maven.
      http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

      httpclient would be packaged into hpi files even though the plugin depends on apache-httpcomponent-client-4-api if the dependency declaration was inappropriate.

      Developers have to know some rules to migrate to apache-httpcomponents-client-4-api-plugin:

      • For plugins directly depending on org.apache.httpcomponents:httpclient:
        • Replace the dependency to org.apache.httpcomponents:httpclient with the dependency to org.jenkins-ci.plugins:apache-httpcomponents-client-4-api
      • For plugins depending on libraries depending on org.apache.httpcomponents:httpclient:
        • Insert the dependency to org.apache.httpcomponents:httpclient BEFORE the dependency to the libraries.

        Attachments

          Activity

          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin/pull/22
          Show
          oleg_nenashev Oleg Nenashev added a comment - Released in https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin/releases/tag/apache-httpcomponents-client-4-api-4.5.10-2.0

            People

            • Assignee:
              ikedam ikedam
              Reporter:
              ikedam ikedam
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: