Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4071

Support additional read-only local repositories

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0-alpha-3
    • None
    • None
    • Debian Linux in particular, any other environment

    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.

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              ludovicc Ludovic Claude
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: