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.

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.

~Dan Allen

-----Original Message-----
From: JG Flowers [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 12, 2008 1:32 PM
To: users@maven.apache.org
Subject: Local Maven repository. Newbie question...


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
<user_home>/.m2/repository. You must have a local repository in order
for
Maven to work."

Now I'm using XP and I'm assuming <user_home> 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.

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
-- 
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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
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"). 

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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to