You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Fredrik Jonson (JIRA)" <ji...@apache.org> on 2019/06/24 12:48:00 UTC
[jira] [Created] (MRM-1991) Unable to configure Archive as mirror
of Google Android repository - https://dl.google.com/dl/android/maven2/
Fredrik Jonson created MRM-1991:
-----------------------------------
Summary: Unable to configure Archive as mirror of Google Android repository - https://dl.google.com/dl/android/maven2/
Key: MRM-1991
URL: https://issues.apache.org/jira/browse/MRM-1991
Project: Archiva
Issue Type: Bug
Reporter: Fredrik Jonson
When trying to configure Archiva as a proxy for the Google Android repository I get the error message below:
DefaultRemoteRepositoriesService [] - Connection exception: File: https://dl.google.com/dl/android/maven2/ does not exist
Indeed that url responds with http status 404, but it is a artifact repository because maven can retrive artifacts from it, the following command succeeds:
mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get \
-D artifact=androidx.appcompat:appcompat:1.0.0:aar \
-D remoteRepositories=https://dl.google.com/dl/android/maven2/
Is it possible to configure Archiva to ingore the 404 on the base repository url path?
I cannot find a nexus index on that server, but there appears to be some kind of hint about which group id:s are offered via the url: https://dl.google.com/dl/android/maven2/master-index.xml and from there taversable to specific groups, eg https://dl.google.com/dl/android/maven2/androidx/appcompat/group-index.xml which can be found via https://dl.google.com/dl/android/maven2/index.html
Is the Google Android repository incompatible with Archiva, or is it just a matter of insufficient configuration on my behalf?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)