Skip to content

Commit 1ecb96b

Browse files
committed
Recommend plugin bom, remove old changelog
Link to the old changelog with a tag based on the release after the last release that used the changelog. Note the date range of the changelog in the text so that readers do not waste time following the link to see how old it is.
1 parent 96ce901 commit 1ecb96b

File tree

2 files changed

+4
-59
lines changed

2 files changed

+4
-59
lines changed

CHANGELOG.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ It allows managing library updates independently from plugins.
99
### Plugins directly depending on httpclient
1010

1111
Replace the dependency to `org.apache.httpcomponents:httpclient` with the dependency to `apache-httpcomponents-client-4-api`.
12+
To avoid version conflicts it is suggested not to depend on a specific version, but use the [Jenkins plugin BOM](https://github.com/jenkinsci/bom#readme).
1213

1314
* Before:
1415
```
@@ -29,7 +30,6 @@ Replace the dependency to `org.apache.httpcomponents:httpclient` with the depend
2930
<dependency>
3031
<groupId>org.jenkins-ci.plugins</groupId>
3132
<artifactId>apache-httpcomponents-client-4-api</artifactId>
32-
<version>4.5.10-1.0</version>
3333
</dependency>
3434
...
3535
</dependencies>
@@ -38,6 +38,7 @@ Replace the dependency to `org.apache.httpcomponents:httpclient` with the depend
3838
### Plugins using libraries depending on httpclient
3939
4040
Add the dependency to `apache-httpcomponents-client-4-api` BEFORE any of dependencies to those libraries to force maven to use `httpclient` declared by `apache-httpcomponents-client-4-api`.
41+
To avoid version conflicts it is suggested not to depend on a specific version, but use the [Jenkins plugin BOM](https://github.com/jenkinsci/bom#readme).
4142
4243
* Before:
4344
```
@@ -61,7 +62,6 @@ Add the dependency to `apache-httpcomponents-client-4-api` BEFORE any of depende
6162
<dependency>
6263
<groupId>org.jenkins-ci.plugins</groupId>
6364
<artifactId>apache-httpcomponents-client-4-api</artifactId>
64-
<version>4.5.10-1.0</version>
6565
</dependency>
6666
<dependency>
6767
<artifactId>somelibrary-using-httpclient</artifactId>
@@ -77,7 +77,8 @@ Add the dependency to `apache-httpcomponents-client-4-api` BEFORE any of depende
7777
7878
## Release Notes
7979
80-
See the [Changelog](CHANGELOG.md).
80+
Current release notes are on [GitHub releases](https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin/releases).
81+
See the archived [Changelog](https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin/blob/apache-httpcomponents-client-4-api-4.5.5-2.0/CHANGELOG.md) for releases before 2019.
8182
8283
## License
8384

0 commit comments

Comments
 (0)