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

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

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

        

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

Posted by "Ludovic Claude (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168267#action_168267 ] 

Ludovic Claude commented on MNG-4071:
-------------------------------------

When building a Debian package with Maven, the Debian policies prevent from downloading anything from the Internet. So you need to run Maven with the --offline option, which disables all remote repositories, regardless of their actual location.

> 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

        

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

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-4071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-4071.
-----------------------------

      Assignee: Brett Porter
    Resolution: Duplicate

> 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
>            Assignee: Brett Porter
>            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