[
https://issues.apache.org/jira/browse/KARAF-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253458#comment-13253458
]
Christian Schneider commented on KARAF-1370:
--------------------------------------------
Succesfully tested on ubuntu and windows with the following config:
https://gist.github.com/2377258
> Loading snapshots from local repository does not work and the system dir
> should be read only
> --------------------------------------------------------------------------------------------
>
> Key: KARAF-1370
> URL: https://issues.apache.org/jira/browse/KARAF-1370
> Project: Karaf
> Issue Type: Bug
> Reporter: Christian Schneider
>
> Currently karaf does not use snapshots from the local repository. This is
> because the local repository is treated as a remote repository.
> On the other hand the system dir is currently set as local repository. So
> maven downloads meta info and more current snapshots into the system dir.
> This is not good as the system dir should be read only as it is often stored
> at a place where the karaf use may not write.
> I propose to switch the settings to what we had in 2.2.x. The default local
> repository was used as a local repository and the system dir was set as a
> remote repository.
> On windows this fully works and snapshots are recognized again.
> On Linux we have the issue that the default local repo is not recoginzed so
> artifacts are downloaded from remote even if they are there.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira