[
https://issues.apache.org/jira/browse/MRM-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fredrik Jonson updated MRM-1991:
--------------------------------
Description:
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
(edit): FFR: I found two configuration errors that I've made, which resolved
troubles.
First, there is a parameter "Connection Check Path", which i set to
"master-index.xml", which resolved the connection exception above. I also
disabled the options "download index" and "download index on startup", as it
appears that the Google Android repository doesn't offer a nexus index file. (
was:
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?
> 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
> Priority: Minor
>
> 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
> (edit): FFR: I found two configuration errors that I've made, which resolved
> troubles.
> First, there is a parameter "Connection Check Path", which i set to
> "master-index.xml", which resolved the connection exception above. I also
> disabled the options "download index" and "download index on startup", as it
> appears that the Google Android repository doesn't offer a nexus index file. (
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)