Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A7F510D90 for ; Tue, 29 Oct 2013 10:52:39 +0000 (UTC) Received: (qmail 59402 invoked by uid 500); 29 Oct 2013 10:52:31 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 59254 invoked by uid 500); 29 Oct 2013 10:52:24 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 81151 invoked by uid 99); 29 Oct 2013 09:46:31 -0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthieu.moy@imag.fr designates 129.88.30.5 as permitted sender) Date: Tue, 29 Oct 2013 10:38:01 +0100 (CET) From: Matthieu Moy To: users@maven.apache.org Message-ID: <1617140979.4777131.1383039481273.JavaMail.root@imag.fr> In-Reply-To: <624820644.4776978.1383038972753.JavaMail.root@imag.fr> Subject: System-wide, read-only repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [129.88.6.115] X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF24 (Linux)/8.0.3_GA_5664) Thread-Topic: System-wide, read-only repository Thread-Index: uglpwal/c7InW3E4uG+2QUlrh/u5mQ== X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (shiva.imag.fr [129.88.30.5]); Tue, 29 Oct 2013 10:46:00 +0100 (CET) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-MailScanner-ID: r9T9k0wq022187 X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: matthieu.moy@imag.fr MailScanner-NULL-Check: 1383644763.07425@3SSL6eLWExxZTVp+xxamrw X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a setup with many users (200 students), each of them having a limited $HOME. I'm looking for a way to provide them the most common plugins and dependencies and save disk space. Is there a way to have a system-wide (e.g. /usr/share/maven/... or so) repository, where the sysadmin could download stuff that the students wouldn't have to download and store in their $HOME ? I found many solutions using a proxy, that would allow me to download from the intranet, but these solutions still require a local repository in $HOME/.m2/, so this saves bandwidth but not disk space. I also saw some people advising to set localRepository in their pom.xml, but this does not seem to be a good idea (not thread-safe), and doesn't really solve my issue, as I would like the system-wide repository to be read-only (managed by root only), and to come in addition to $HOME/.m2/, not as a replacement. Thanks in advance, -- Matthieu Moy http://www-verimag.imag.fr/~moy/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org