Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.3
-
None
-
$ docker run --rm -it maven:3-jdk-8 mvn --version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T19:49:05Z)
Maven home: /usr/share/maven
Java version: 1.8.0_162, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", family: "unix"
----
$ mvn -version
Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T14:49:05-05:00)
Maven home: /opt/local/share/java/maven3
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"$ docker run --rm -it maven:3-jdk-8 mvn --version Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T19:49:05Z) Maven home: /usr/share/maven Java version: 1.8.0_162, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "3.10.0-693.21.1.el7.x86_64", arch: "amd64", family: "unix" ---- $ mvn -version Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297; 2018-02-24T14:49:05-05:00) Maven home: /opt/local/share/java/maven3 Java version: 1.8.0_161, vendor: Oracle Corporation Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"
Description
When using Maven 3.5.3 with Artifactory 5.10.0 configured as a "*" mirror, downloads & uploads fail with errors like:
[ERROR] Failed to execute goal on project ccc-persistence: Could not resolve dependencies for project REDACTED:REDACTED:jar:3.47.0-SNAPSHOT: Failed to collect dependencies at org.flywaydb:flyway-core:jar:3.2.1: Failed to read artifact descriptor for org.flywaydb:flyway-core:jar:3.2.1: Could not transfer artifact org.flywaydb:flyway-core:pom:3.2.1 from/to artifactory (https://artifactory.REDACTED.com/artifactory/all): [B cannot be cast to java.lang.String -> [Help 1]
I've seen this issue both with the official Docker container, and with Maven 3.5.3 from MacPorts; in both cases, downgrading back down to 3.5.2 resolved the issue.
Attachments
Issue Links
- depends upon
-
HTTPCLIENT-1906 HttpClient rejects valid certificates with subjectAltNames
- Resolved
-
WAGON-513 Upgrade HttpClient to 4.5.5
- Closed
- is blocked by
-
MNG-6423 Upgrade to Wagon 3.1.0
- Closed
- is related to
-
HTTPCLIENT-1836 DefaultHostnameVerifier#getSubjectAltNames(X509Certificate) throws java.lang.ClassCastException
- Resolved
- links to