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

Instructions to use Apache HttpComponents Client 4.x API Plugin

    XMLWordPrintable

    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

          ikedam ikedam created issue -
          ikedam ikedam made changes -
          Field Original Value New Value
          Description 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.
          Libraries packaged into hpi files are decided with the "nearest definition" rule of maven.
          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.
          ikedam ikedam made changes -
          Description Libraries packaged into hpi files are decided with the "nearest definition" rule of maven.
          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.
          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.
          ikedam ikedam made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin/pull/22
          ikedam ikedam made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          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
          oleg_nenashev Oleg Nenashev made changes -
          Released As 4.5.10-2.0
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: