Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 43303 invoked from network); 12 Feb 2008 19:33:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2008 19:33:48 -0000 Received: (qmail 98655 invoked by uid 500); 12 Feb 2008 19:33:35 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 98596 invoked by uid 500); 12 Feb 2008 19:33:34 -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 98585 invoked by uid 99); 12 Feb 2008 19:33:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 11:33:34 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Daniel.Allen@kbcfp.com designates 204.253.248.124 as permitted sender) Received: from [204.253.248.124] (HELO ns2.nyc.kbcfp.com) (204.253.248.124) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 19:32:47 +0000 Received: from ns2.nyc.kbcfp.com (unknown [127.0.0.1]) by ns2.nyc.kbcfp.com (Symantec Mail Security) with ESMTP id 91FEF757B for ; Tue, 12 Feb 2008 14:33:08 -0500 (EST) X-AuditID: 0a400015-0000000600002ad7-4a-47b1f4746aea Received: from deputy.nyc.kbcfp.com (deputy.nyc.kbcfp.com [204.253.250.11]) by ns2.nyc.kbcfp.com (Symantec Mail Security) with ESMTP id 54B047518 for ; Tue, 12 Feb 2008 14:33:08 -0500 (EST) X-From: Daniel.Allen@kbcfp.com Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Local Maven repository. Newbie question... Date: Tue, 12 Feb 2008 14:33:07 -0500 Message-ID: <431CF4CD710A274AA1A541F1F4F221FF01C2D0B6@nyc.kbcfp.com> in-reply-to: <15440135.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Local Maven repository. Newbie question... Thread-Index: Achtqj4shIwzaC/6SHK52pV47nqAaQAA2grQ From: "Allen, Daniel" To: "Maven Users List" X-KBCDisclaimer: 1 Content-Disposition: inline X-Scanned-By: MIMEDefang 2.61 on 204.253.250.11 X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure what's going on... The first time I ran maven 2, it autocreated both the .m2/repository directory and the .m2/settings.xml file. Both empty, but just present is sufficient if nothing needs to be in them yet.=20 Have you tried to run Maven and found that it crashes? Or are you just reading the documents right now? (In the latter case, yeah, I had better luck skimming them for basic ideas and then reading newsgroup posts and doing trial and error to figure out the details for myself.) ~DVA -----Original Message----- From: JG Flowers [mailto:Jeremy_G_Flowers@yahoo.co.uk]=20 Sent: Tuesday, February 12, 2008 2:05 PM To: users@maven.apache.org Subject: RE: Local Maven repository. Newbie question... Argh!!! It's a Windows Explorer thing.. :-U Can name a directory with . prefix with md from command prompt... Still directory has no repositoty in it. But reading on a bit further it talks about creating a settings.xml file. I think it's a chicken or egg thing. In writing the book they talk about things in chapter 1 than get covered for first time in chapter 2... %-|=20 Cheers for reply, Jeremy Allen, Daniel wrote: >=20 > Not saying for sure that this is what's going on, but in my experience > it seems like XP only makes that complaint if *you* try to name a folder > that, while automated processes can get away with it. That is, the check > is only part of the UI, not an actual file system rule. I'm developing > on XP, and my local repository cache is in C:\Docs & > Settings\username\.m2 as usual, and in fact I have several other apps > born on Unix that name directories with a leading dot. >=20 > You mileage may vary, though; I'm on a fancy corporate network set up to > share drives between Unix systems and Windows desktops, so maybe IT did > something magical that they never told me about to make this possible. > Try to run Maven, and see if it autocreates the directory. >=20 > ~Dan Allen >=20 > -----Original Message----- > From: JG Flowers [mailto:Jeremy_G_Flowers@yahoo.co.uk]=20 > Sent: Tuesday, February 12, 2008 1:32 PM > To: users@maven.apache.org > Subject: Local Maven repository. Newbie question... >=20 >=20 > Reading Better Builds with Maven. from Devzuz > It says on page 32 "When you install and run Maven for the first time, > it > will create your local repository and populate it > with artifacts as a result of dependency requests. By default, Maven > creates > your local repository in > /.m2/repository. You must have a local repository in order > for > Maven to work." >=20 > Now I'm using XP and I'm assuming will be substituted with > %USERPROFILE% environment variable. > But on XP you can't have a directory named ".m2", XP groans and says you > must have a file name, for it thinks you are just specifying an > extension. >=20 > Have done the install. When I run mvn --version it says everything's ok. > So > where is my repository? > The last thing booksays is you must have local repository for Maven to > work. > Confused.. You bet :confused: > Any > --=20 > View this message in context: > http://www.nabble.com/Local-Maven-repository.-Newbie-question...-tp15439 > 648s177p15439648.html > Sent from the Maven - Users mailing list archive at Nabble.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org >=20 >=20 > --=20 > This message may contain confidential, proprietary, or legally privileged > information. No confidentiality or privilege is waived by any transmission > to an unintended recipient. If you are not an intended recipient, please > notify the sender and delete this message immediately. Any views expressed > in this message are those of the sender, not those of any entity within > the KBC Financial Products group of companies (together referred to as > "KBC FP").=20 >=20 > This message does not create any obligation, contractual or otherwise, on > the part of KBC FP. It is not an offer (or solicitation of an offer) of, > or a recommendation to buy or sell, any financial product. Any prices or > other values included in this message are indicative only, and do not > necessarily represent current market prices, prices at which KBC FP would > enter into a transaction, or prices at which similar transactions may be > carried on KBC FP's own books. The information contained in this message > is provided "as is", without representations or warranties, express or > implied, of any kind. Past performance is not indicative of future > returns. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Local-Maven-repository.-Newbie-question...-tp15439 648s177p15440135.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org --=20 This message may contain confidential, proprietary, or legally privileged i= nformation. No confidentiality or privilege is waived by any transmission t= o an unintended recipient. If you are not an intended recipient, please not= ify the sender and delete this message immediately. Any views expressed in = this message are those of the sender, not those of any entity within the KB= C Financial Products group of companies (together referred to as "KBC FP").= =20 This message does not create any obligation, contractual or otherwise, on t= he part of KBC FP. It is not an offer (or solicitation of an offer) of, or = a recommendation to buy or sell, any financial product. Any prices or other= values included in this message are indicative only, and do not necessaril= y represent current market prices, prices at which KBC FP would enter into = a transaction, or prices at which similar transactions may be carried on KB= C FP's own books. The information contained in this message is provided "as= is", without representations or warranties, express or implied, of any kin= d. Past performance is not indicative of future returns. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org