From 9214dbe5df3fcdd2d152fac64a45106e7c94db6c Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 13 Jul 2019 19:22:59 -0700 Subject: [PATCH 1/2] pom.xml: Require Jenkins 2.60.3 instead of 2.60.1 All recent versions of HttpClient API and Jackson2 API plugins require 2.60.3. It's not a significant requirement change. --- README.md | 2 +- pom.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bffdf242..ae1ba9a4 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This plugin was inspired by the GitHub & BitBucket pull request builder plugins. ## Prerequisites -- Jenkins 2.60.1 or higher. +- Jenkins 2.60.3 or higher. - [Git Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin) ## Environment variables diff --git a/pom.xml b/pom.xml index 9a8abbe0..02f31481 100644 --- a/pom.xml +++ b/pom.xml @@ -57,6 +57,7 @@ 1.11 -SNAPSHOT 8 + 2.60.3 From c59a20e01787231d5a0b02d871490a73166b1c86 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 12 Jul 2019 00:08:55 -0700 Subject: [PATCH 2/2] pom.xml: Use Apache HttpComponents Client 4.x API Plugin This removes httpclient-4.5.2.jar and httpcore-4.4.4.jar from the plugin package, cutting its size by almost a megabyte. Users can update the Apache HttpComponents plugin on their own without waiting for other plugins to update their dependencies. Apache HttpComponents plugin is likely to be installed already because it's used by the git plugin. --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 02f31481..ad489ac8 100644 --- a/pom.xml +++ b/pom.xml @@ -82,9 +82,9 @@ 2.1.5 - org.apache.httpcomponents - httpclient - 4.5.2 + org.jenkins-ci.plugins + apache-httpcomponents-client-4-api + 4.5.5-3.0 com.github.tomakehurst