When trying to run maven-proxy, I get the following error: Error while loading properties: Missing property: repo.dist-codehaus-org#.url
This has to be wrong. Having a # sign in a line like that makes the rest of the line a comment. Has anyone gotten the maven-proxy to work, because I'm not having any luck? It makes me a little nervous that this is a 0.1 version only as well. We need a solution that is going to be production ready. What are people using out there for production? Is anyone using Maven 2 for production at all? Thanks... Frank Russo Senior Developer FX Alliance, LLC -----Original Message----- From: Tom Joad [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 24, 2006 9:22 AM To: Maven Users List Subject: Re: m2: I'd like some help with maven-proxy Hello , I can only give you some hints how I do it. All things are on the properties file. My Configuration A machine with internet connection. First maven proxy .I declare my company http-proxy and public maven repositories on which to search artifacts. repo.list=local-repo,www-ibiblio-org,www-ibiblio-pub-org,,dist-codehaus- org # This could also be achieved by having a local http repository, but this is less cumbersome repo.local-repo.url=file:///./ repo.local-repo.description=Super Secret Custom Repository #If copy is true, jars are copied from the store to the proxy-repo. Only configurable for file:/// repos repo.local-repo.copy=false #If hardfail is true, any unexpected errors from the repository will cause #the client download to fail (typically with a 500 error) repo.local-repo.hardfail=true #Don't cache a file repository repo.local-repo.cache.period=0 #www.ibiblio.org repo.www-ibiblio-org.url=http://www.ibiblio.org/maven2 repo.www-ibiblio-org.description=www.ibiblio.org repo.www-ibiblio-org.proxy=one repo.www-ibiblio-org.hardfail=true #Cache this repository for 1 hour repo.www-ibiblio-org.cache.period=3600 repo.www-ibiblio-org.cache.failures=true etc.... On a second machine with no internet connection, this is our internal repository. On the propertie file , I declare no proxy . In repo-list paragraph I declare the first maven-proxy like above repo.list=Myfirstrepo #www.ibiblio.org repo.www-ibiblio-org.url=http://myfirstrepo.org repo.www-ibiblio-org.description=myfirstrepo repo.www-ibiblio-org.proxy=one repo.www-ibiblio-org.hardfail=true On setings.xml, Developpers declare the internal repository in mirror tag First maven-proxy is accessible only ,because of a private network configuration, by the second one. so developpers can't directly refer to it. It works fine. There is a good synchronisation between my two maven-proxies. I wish that can help you, Tom 2006/1/23, Frank Russo <[EMAIL PROTECTED]>: > Can anyone point me to a good writeup on using maven-proxy in maven 2? > The docs on the maven-proxy site at codehaus are not only subpar, but > pretty much non-existant. > > Any help is much appreciated... > > Frank Russo > Senior Developer > FX Alliance, LLC > 900 Third Avenue, 3rd Floor > New York, NY 10022 > 646.268.9949 > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]