Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 17590 invoked from network); 6 Sep 2006 00:27:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2006 00:27:21 -0000 Received: (qmail 46620 invoked by uid 500); 6 Sep 2006 00:27:15 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 46581 invoked by uid 500); 6 Sep 2006 00:27:15 -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 46570 invoked by uid 99); 6 Sep 2006 00:27:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 17:27:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 203.56.196.131 is neither permitted nor denied by domain of lakshman.srilakshmanan@tradingpost.com.au) Received: from [203.56.196.131] (HELO exchange.trader) (203.56.196.131) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 17:27:14 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Making a single independent and offline maven build directory Date: Wed, 6 Sep 2006 10:13:50 +1000 Message-ID: <930F5D613A943B41A5392993AC82940305B805D6@EXCHANGE.trader> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Making a single independent and offline maven build directory Thread-Index: AcbRN8iqVuyPvy8mTsq3eP03Vp/z9QAELgzA From: "Lakshman Srilakshmanan" To: "Maven Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Sepand, If you don't want access to the internet and no access to ~/.m2/repository where are you going to get your dependencies from ? an internal (company) Repository. If you are going to get it from an internal repository, then just remove ~/.m2/repository and run your build. This will download all the jars & plugins again and build it.=20 On the other hand if you are trying to prevent the creation of ~/.m2/repository then I don't think it is possible. You may want to understand what you are trying to do. Thanks Lakshman > -----Original Message----- > From: Sepand M [mailto:sepandm@gmail.com] > Sent: Wednesday, 6 September 2006 8:07 AM > To: users@maven.apache.org > Subject: Making a single independent and offline maven build directory >=20 > Hi, >=20 > I need to make a maven project build with no dependency on the internet. > I also need this to be over the network (so no access to ~/.m2) and runnable > without write permissions (except for the built files). > If you're wondering, I'm hoping to check a copy of this into a source > control system. >=20 > Can maven to this easily? I know of the -o option, but I don't know how to > make it work without the ~/.m2. I'd rather not touch the project POMs and I > would really hate to have to create my own ftp/sftp/... local repository. >=20 > Any help would be greatly appreciated. >=20 > Regards, > Sepand --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org