karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R. Prasad (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4613) Cave maven wrapper doesn't serve from cave, but from local maven.
Date Thu, 07 Jul 2016 10:30:11 GMT
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)

Mime
View raw message