On Fri, 2006-02-24 at 16:54 -0700, Brad O'Hearne wrote:
> I have a couple of issues using maven-proxy-webapp. I have the webapp 
> set up and working, and I'm seeing the activity in my tomcat log, but I 
> have two problems:
> 
> 1) I'm seeing lines in my log such as:
> 
> 2006-02-24 16:43:32,212 [INFO ] components.impl.DefaultSnapshotCache  - 
> Updating /opensymphony/oscache/2.1.1/oscache-2.1.1.jar in snapshot cache
> 
> but nothing is being written to my local store. I thought that any file 
> downloaded should be written to the value specified in 
> maven-proxy.properties for repo.local.store. Am I doing something wrong 
> here?
> 

I am not sure what the log message means specifically.

I have an instance of the stand-alone maven-proxy running and it does
write the files to ./target/repo (as per my repo.local.store setting).
Are you certain that you are looking for the files in the right place?
It might be worth searching for the oscache-2.1.1.jar file to see if it
might be putting the files in a place that you did not expect.

> 
> 2) I need to be able to have my proxy checked prior to the central 
> (ibiblio) repository when I'm building from a cleint. In my project's 
> pom.xml, I have only one repository specified, that being my proxy. But 
> it appears its checking the central first. How can I change this, so 
> that my proxy gets checked first?
> 

Specifying only your maven-proxy in pom.xml seems like the best policy
to me -- any additional repos can be added to your maven-proxy config
where you reap the benefits of it's caching, reduce the delays of
SNAPSHOT dependencies, etc.

You specify the order in which to check the repos with the repo.list
property in maven-proxy.properties:
repo.list=local-repo,www-ibiblio-org

-Max

> Thanks,
> 
> Brad
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
-- 
Max Cooper <[EMAIL PROTECTED]>


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

Reply via email to