For what it's worth 2 months later, I thought I'd post my experiance using
maven-proxy.  I followed the setup instructions and had no problem with
maven-proxy downloading files from central into the local mirror. However, I
did have an issue with my local artifacts being picked up. 

 I setup a mirror in my settings file, but the profiles I had setup were
useless.  The one thing I did to correct everything was to include the repo
location in my POM.xml file.  So, what I have is a <mirror> tag in my
settings.xml file, which points to the repo on my server. I have a
<repository> tag in my POM.xml file that points to the repo on my server. 
Also, in my settings.xml file I set my local repo as a location on my local
machine (i.e. c:\.m2\repo).  

This accomplishes the following: When searching for an artifact that is not
in local, maven goes to the repository, which goes to ibiblio if it's not in
my repo.  The artifact is then copied to my local machine for use by Maven. 
Now, I could have pointed local to my server, but I want each developer to
have a copy of the repo on their local machine.  They don't have write
access to the server and I want them to have the latest artifacts so when
they build, the newer artifacts are installed in their local repo.  I hope
this will help anyone who is still stuck.
--
View this message in context: 
http://www.nabble.com/Internal-%28intranet%29-repositories-t1408249.html#a4776490
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to