Maven
  1. Maven
  2. MNG-4071

Support additional read-only local repositories

    Details

    • Type: Wish Wish
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0-alpha-3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Debian Linux in particular, any other environment
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      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.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Brett Porter
              Reporter:
              Ludovic Claude
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: