You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin bundles all the components of https://hc.apache.org/httpcomponents-client-5.2.x/index.html[Apache HttpComponents Client 5.x] except `httpclient5-win` because of the dependency on jna.
2
15
3
-
This plugin bundles all the components of https://hc.apache.org/httpcomponents-client-5.2.x/index.html[Apache HttpComponents Client 5.2.x] except `httpclient5-win` because of the dependency on jna.
4
16
These components can be used by other plugins as a dependency.
5
17
It allows managing library updates independently of plugins.
6
18
@@ -10,7 +22,7 @@ It allows managing library updates independently of plugins.
10
22
11
23
Replace the dependency to `org.apache.httpcomponents.client5:httpclient5` with the dependency to `apache-httpcomponents-client-5-api`.
12
24
13
-
*Before:
25
+
*Before:*
14
26
15
27
----
16
28
<dependencies>
@@ -24,7 +36,7 @@ Replace the dependency to `org.apache.httpcomponents.client5:httpclient5` with t
24
36
</dependencies>
25
37
----
26
38
27
-
*After:
39
+
*After:*
28
40
29
41
----
30
42
<dependencies>
@@ -40,9 +52,9 @@ Replace the dependency to `org.apache.httpcomponents.client5:httpclient5` with t
40
52
41
53
=== Plugins using libraries depending on httpclient5
42
54
43
-
Add the dependency to `apache-httpcomponents-client-5-api` BEFORE any of dependencies to those libraries to force maven to use `httpclient5` declared by `apache-httpcomponents-client-5-api`.
55
+
Add the dependency to `apache-httpcomponents-client-5-api` *before* any of dependencies to those libraries to force maven to use `httpclient5` declared by `apache-httpcomponents-client-5-api`.
44
56
45
-
*Before:
57
+
*Before:*
46
58
47
59
----
48
60
<dependencies>
@@ -59,7 +71,7 @@ Add the dependency to `apache-httpcomponents-client-5-api` BEFORE any of depende
59
71
</dependencies>
60
72
----
61
73
62
-
*After:
74
+
*After:*
63
75
64
76
----
65
77
<dependencies>
@@ -81,6 +93,12 @@ Add the dependency to `apache-httpcomponents-client-5-api` BEFORE any of depende
81
93
</dependencies>
82
94
----
83
95
96
+
== Versioning
97
+
98
+
Version follows the pattern of `<org.apache.httpcomponents version>-<plugin version>`.
99
+
100
+
This way it is clear what upstream dependency is offered and allows patch releases for the plugin itself if required.
101
+
84
102
== Release Notes
85
103
86
104
Release notes are recorded in https://github.com/jenkinsci/apache-httpcomponents-client-5-api-plugin/releases[GitHub Releases].
0 commit comments