karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5663) CaveMavenServlet download doesn't do anything
Date Wed, 14 Mar 2018 16:52:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398878#comment-16398878
] 

Guillaume Nodet commented on KARAF-5663:
----------------------------------------

For the record, the servlet is supposed to act as a proxy to a maven repository, and the requests
for artifacts all look like:

 https://repo1.maven.org/maven2/org/apache/aries/org.apache.aries.util/1.0.0/org.apache.aries.util-1.0.0.jar

So it's always the full path...

> CaveMavenServlet download doesn't do anything
> ---------------------------------------------
>
>                 Key: KARAF-5663
>                 URL: https://issues.apache.org/jira/browse/KARAF-5663
>             Project: Karaf
>          Issue Type: Bug
>          Components: cave-maven
>    Affects Versions: cave-4.1.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: cave-4.1.1
>
>
> When trying to resolve an artifact via the {{CaveMavenServlet}}, both:
> {code}
>         Matcher artifactMatcher = ARTIFACT_REQUEST_URL_REGEX.matcher(path);
>         Matcher metadataMatcher = ARTIFACT_METADATA_URL_REGEX.matcher(path);
> {code}
> don't match.
> So {{download}} operation always returns {{null}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message