You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2016/07/08 05:45:11 UTC
[jira] [Assigned] (KARAF-4613) Cave maven wrapper doesn't serve
from cave, but from local maven.
[ https://issues.apache.org/jira/browse/KARAF-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré reassigned KARAF-4613:
-------------------------------------------
Assignee: Jean-Baptiste Onofré
> Cave maven wrapper doesn't serve from cave, but from local maven.
> -----------------------------------------------------------------
>
> Key: KARAF-4613
> URL: https://issues.apache.org/jira/browse/KARAF-4613
> Project: Karaf
> Issue Type: Bug
> Components: cave-server
> Affects Versions: cave-4.0.1
> Environment: Windows 7, Java 8
> Reporter: Rakesh R. Prasad
> Assignee: Jean-Baptiste Onofré
>
> If local maven repository is cleared, then cave wrapper stops serving artifacts, even though they exist inside cave.
> Steps to reproduce
> {noformat}
> cave:repository-create -l c:/temp/cave batcave
> cave:repository-populate batcave file:/C:/Users/Rakesh/.m2/repository/commons-lang/commons-lang/1.0
>
> In Chrome, the following URL, downloads the jar
> http://localhost:8181/cave/maven/commons-lang/commons-lang/1.0/commons-lang-1.0.jar
> Now, if I delete the local maven folder
> C:/Users/Rakesh/.m2/repository/commons-lang/commons-lang/1.0
>
> And go again to
> http://localhost:8181/cave/maven/commons-lang/commons-lang/1.0/commons-lang-1.0.jar
> This time, I get only a blank response.
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)