You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (Created) (JIRA)" <ji...@apache.org> on 2012/04/13 17:28:17 UTC

[jira] [Created] (KARAF-1370) Loading snapshots from local repository does not work and the system dir should be read only

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

        

[jira] [Updated] (KARAF-1370) Loading snapshots from local repository does not work and the system dir should be read only

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1370:
----------------------------------------

      Component/s: karaf-core
    Fix Version/s: 3.0.0
    
> 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
>          Components: karaf-core
>            Reporter: Christian Schneider
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> 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

       

[jira] [Assigned] (KARAF-1370) Loading snapshots from local repository does not work and the system dir should be read only

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1370:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> 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
>            Assignee: Jean-Baptiste Onofré
>
> 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

       

[jira] [Resolved] (KARAF-1370) Loading snapshots from local repository does not work and the system dir should be read only

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1370.
-----------------------------------------

    Resolution: Fixed
    
> 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
>          Components: karaf-core
>            Reporter: Christian Schneider
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>
> 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

       

[jira] [Commented] (KARAF-1370) Loading snapshots from local repository does not work and the system dir should be read only

Posted by "Christian Schneider (Commented) (JIRA)" <ji...@apache.org>.
    [ 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