Hi Jeff,

In regards to my other question, it seems that my invocation of Maven2 looks
at the repo depo no mattrer what even after I have done an mvn
install:install-file on my target.  The build succeeds but it spends an
awefully long time timing out against ibiblio when it can't find the
dependencies (JBoss 404GA stuff).

Any idea how this could happen?  (all I have is standard artifactId,
groupId, and versoin in my dependency section).

-aps


On 9/4/06, Jeff Jensen <[EMAIL PROTECTED]> wrote:

Hi mkp,

Please post general Maven questions on the Maven users list - this list is
for the plugins hosted here at SF.  I am redirecting there.  In your
reply,
please remove the SF list.

Maven does look in the local repo, and first, by default (by local repo, I
infer you mean the .maven dir on a user's workstation).  If it does not
find
a dependency there, it looks in the remotes.

You didn't specify "what" is taking more time.  My guess is your team has
snapshots in use?  Snapshots add time as Maven checks for updates.  Please
clarify what you see.

One speedy improvement is to setup a proxy-cache in-house, such as
Proximity, and configure Maven to use it as the remote.  Then, the proxy
accesses external repos as necessary to obtain artifacts, and individual
users receive the benefit of artifacts already cached in it.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of mkp
Sent: Monday, September 04, 2006 1:43 PM
To: [EMAIL PROTECTED]
Subject: [Maven-plugins-user] Configure to check local instead of remote


Is there a way to configure Maven, so it will look in the local repositury
instead of remote repository. When we build it takes more time as it looks
for Remote Repository, instead if we could configure to look in local
repository it would be great.

Can anyone please point me in the right direction. I did enough search in
Google and as well Maven site. Also did search here in this forum before
posting this question.
--
View this message in context:

http://www.nabble.com/Configure-to-check-local-instead-of-remote-tf2216747.h
tml#a6140086
Sent from the Maven Plugins - User forum at Nabble.com.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Maven-plugins-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/maven-plugins-user


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




--
"What lies behind us and what lies in front of us is of little concern to
what lies within us." -Ralph Waldo Emerson

Reply via email to