You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Rakesh R. Prasad (JIRA)" <ji...@apache.org> on 2016/07/07 10:30:11 UTC

[jira] [Created] (KARAF-4613) Cave maven wrapper doesn't serve from cave, but from local maven.

Rakesh R. Prasad created KARAF-4613:
---------------------------------------

             Summary: 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


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)