[JENKINS-51058] use last httpcomponents version and snapshot of jira … (#1729)

* [JENKINS-51058] jira plugin version with binary compatibility and proxy configuration fix

Signed-off-by: olivier lamy <olamy@apache.org>

* fix dependencies

Signed-off-by: olivier lamy <olamy@apache.org>

* enforcer is managed with exclusion so use same way

Signed-off-by: olivier lamy <olamy@apache.org>

* add missing dependencies for test

Signed-off-by: olivier lamy <olamy@apache.org>

* add missing dependencies for test

Signed-off-by: olivier lamy <olamy@apache.org>

* fix dependencies

Signed-off-by: olivier lamy <olamy@apache.org>

* no need anymore to exclude com.atlassian.httpclient:atlassian-httpclient-plugin as it is already excluded in jira plugin

Signed-off-by: olivier lamy <olamy@apache.org>

* remove not anymore needed exclusions

Signed-off-by: olivier lamy <olamy@apache.org>

* upgrade with last snapshot after jira pr merged

Signed-off-by: olivier lamy <olamy@apache.org>

* test new snapshot which has proxy support

Signed-off-by: olivier lamy <olamy@apache.org>

* test with last jira snapshot

Signed-off-by: olivier lamy <olamy@apache.org>

* jira plugin 2.5.2 released

Signed-off-by: olivier lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2018-05-04 18:17:42 +10:00 committed by Vivek Pandey
parent 8a2e2b5017
commit a7368615ac
6 changed files with 40 additions and 19 deletions

View File

@ -74,7 +74,7 @@
<dependency>
<groupId>io.jenkins.blueocean</groupId>
<artifactId>blueocean-rest-impl</artifactId>
<version>1.6.0-beta-2-SNAPSHOT</version>
<version>${project.version}</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
@ -85,6 +85,7 @@
<scope>test</scope>
</dependency>
<!-- end HttpRequest -->
</dependencies>
</project>

View File

@ -70,6 +70,13 @@
<scope>test</scope>
</dependency>
<!-- as async is excluded from unirest-java this one is missing for tests -->
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>apache-httpcomponents-client-4-api</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -61,6 +61,7 @@
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>

View File

@ -138,6 +138,14 @@
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<!-- as async is excluded from unirest-java this one is missing for tests -->
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>apache-httpcomponents-client-4-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<!--
jsoup HTML parser library @ http://jsoup.org/
@ -173,6 +181,12 @@
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<!-- as async is excluded from unirest-java this one is missing for tests -->
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>apache-httpcomponents-client-4-api</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>

View File

@ -139,6 +139,12 @@
<artifactId>wiremock-standalone</artifactId>
<scope>test</scope>
</dependency>
<!-- as async is excluded from unirest-java this one is missing for tests -->
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>apache-httpcomponents-client-4-api</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>

28
pom.xml
View File

@ -455,7 +455,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>apache-httpcomponents-client-4-api</artifactId>
<version>4.5.3-2.1</version>
<version>4.5.5-2.0</version>
</dependency>
<!-- Other -->
@ -484,6 +484,10 @@
<groupId>org.jenkins-ci</groupId>
<artifactId>annotation-indexer</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Upper bound dependency fix as git plugin brings new version of it than others -->
@ -512,7 +516,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>jira</artifactId>
<version>2.4.2</version>
<version>2.5.2</version>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
@ -526,26 +530,10 @@
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</exclusion>
<exclusion>
<groupId>com.atlassian.httpclient</groupId>
<artifactId>atlassian-httpclient-plugin</artifactId>
</exclusion>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
@ -766,6 +754,10 @@
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpasyncclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>