On Tuesday 25 April 2006 9:51 am, Tom Joad wrote:
> How do you copy stuff to your maven-proxy repository?
> and what is value for
>  pom.update key on your config properties?
>
> Tom

Tom,

Thanx for your quick reply. So far so good. I set the proxy on both the 
ibiblio.org and codehaus.org repository settings and now I can download the 
pom.xml files from my maven-proxy instance. I configured a local repo for the 
proxy which is pointed to a folder under $JETTY_HOME/maven/repo-local. I 
understand this is different from the actual proxy cache which I point to 
$JETTY_HOME/maven/repo. Is that correct? Anyway, it looks like it's not 
having trouble getting out to the net at least to check for updates to the 
pom files. I tried testing to see if I could get the proxy to auto-download 
the pom for jaxen by pointing my browser to:
http://maven-proxy-host:8080/mvnrepo/repository/jaxen/poms/jaxen-1.1-beta-8.pom
After doing that I got another error 500. Here's a snippet of my log file:

2006-04-25 09:38:10,954 [INFO ] proxy.servlets.RepositoryServlet  - Received 
request: /jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,955 [DEBUG] proxy.engine.DownloadEngine  - Request: 
source=192.168.99.15, path=/jaxen/poms/jaxen-1.1-beta-8.pom, lastModified=-1, 
headOnly=false, ifModifiedSince=1132809499000
2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  - 
Repo[global]: Checking last modified time 
for ./maven/repo/jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [DEBUG] proxy.config.FileRepoConfiguration  - 
Repo[local-repo]: Checking last modified time 
for ./maven/repo-local/jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified 
1132809499000
2006-04-25 09:38:10,956 [INFO ] components.impl.DefaultSnapshotCache  - 
Updating /jaxen/poms/jaxen-1.1-beta-8.pom in snapshot cache
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[dist-codehaus-org]: /jaxen/poms/jaxen-1.1-beta-8.pom last modified 
1127681978000
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Found most up-to-date version 
of /jaxen/poms/jaxen-1.1-beta-8.pom
2006-04-25 09:38:10,956 [INFO ] proxy.engine.DownloadEngine  - 
Repo[www-ibiblio-org]: Sending NOT-MODIFIED response

There's more before that indicating it tried to look first in the cache but 
couldn't find jaxen. I'm not sure what's going on but it does look a little 
like it can get out to the net now. I'll write more in a few if I can make 
heads or tails of things. In the meantime can you help me figureout what's 
wrong? I will add that our http proxy has been responding slow so maybe it's 
a timeout?

--------------------------------------------------- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

Reply via email to