[JIRA] (JENKINS-59472) Instructions to use Apache HttpComponents Client 4.x API Plugin

12 views
Skip to first unread message

devld@ikedam.jp (JIRA)

unread,
Sep 22, 2019, 3:15:03 AM9/22/19
to jenkinsc...@googlegroups.com
ikedam created an issue
 
Jenkins / Improvement JENKINS-59472
Instructions to use Apache HttpComponents Client 4.x API Plugin
Issue Type: Improvement Improvement
Assignee: ikedam
Components: apache-httpcomponents-client-4-api-plugin
Created: 2019-09-22 07:14
Priority: Minor Minor
Reporter: ikedam

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.
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

devld@ikedam.jp (JIRA)

unread,
Sep 22, 2019, 3:36:02 AM9/22/19
to jenkinsc...@googlegroups.com
ikedam updated an issue
Change By: ikedam
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.

devld@ikedam.jp (JIRA)

unread,
Sep 22, 2019, 3:36:03 AM9/22/19
to jenkinsc...@googlegroups.com
ikedam updated an issue
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.

devld@ikedam.jp (JIRA)

unread,
Sep 22, 2019, 3:38:02 AM9/22/19
to jenkinsc...@googlegroups.com
ikedam started work on Improvement JENKINS-59472
 
Change By: ikedam
Status: Open In Progress

devld@ikedam.jp (JIRA)

unread,
Sep 22, 2019, 3:38:02 AM9/22/19
to jenkinsc...@googlegroups.com

devld@ikedam.jp (JIRA)

unread,
Sep 22, 2019, 3:39:02 AM9/22/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Oct 5, 2019, 9:20:05 PM10/5/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages