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 2018/03/07 13:25:00 UTC
[jira] [Resolved] (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é resolved KARAF-4613.
-----------------------------------------
Resolution: Not A Problem
Fix Version/s: (was: cave-4.1.1)
> 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.1.0
> Environment: Windows 7, Java 8
> Reporter: Rakesh R. Prasad
> Assignee: Jean-Baptiste Onofré
> Priority: Major
>
> 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
(v7.6.3#76005)