You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/03/06 23:57:12 UTC

[jira] Commented: (MNG-4071) Support additional read-only local repositories

    [ http://jira.codehaus.org/browse/MNG-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168266#action_168266 ] 

Wendy Smoak commented on MNG-4071:
----------------------------------

Why did you choose to make /usr/share/maven-repo a local repo?  It seems like if it were in remote repo format, you wouldn't need any changes for it to work.

> Support additional read-only local repositories
> -----------------------------------------------
>
>                 Key: MNG-4071
>                 URL: http://jira.codehaus.org/browse/MNG-4071
>             Project: Maven 2
>          Issue Type: Wish
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0-alpha-3
>         Environment: Debian Linux in particular, any other environment
>            Reporter: Ludovic Claude
>            Priority: Minor
>
> Work is under way at Debian to support Maven as a tool for building packaged software. 
> Debian uses a local Maven repository (in /usr/share/maven-repo/) which is updated by the Debian tools (dpkg, apt-get). This repository is read-only for the normal user. 
> It would be great if users could use this repository in addition to their local repository in ~/.m2/repo, and it would simplify the Debian tooling.
> In Debian, when building a package you cannot download anything from the Internet (to allow repeatable builds), so when packaging a Maven project, the --offline option is always used. That means that if you try to trick Maven and use file:///usr/share/maven-repo as a new repository, then it won't work as Maven believes that it is a remote repository. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira