Hmm, I've think we've reached the extent of my ability to help here. 
I don't use a proxy for my internal remote repository, so I don't know
if you can make it selective.  If it was me, if no one else on the
list (ie: one of the developers) chimes in, then I'd start grepping
for maven.proxy.host in the source and see how proxies are used and
hopefully you can find some undocumented feature that would allow for
that.

Alex

On 5/4/05, Paul Kuykendall <TX/EUS> <[EMAIL PROTECTED]> wrote:
> That helped quite a bit.  Is there a way of configuring Maven to not use
> a proxy for a certain remote repository?  That was what was getting me.
> It was trying to hit the proxy for the internal repository.
> 
> Thanks for the help!
> 
> /Paul
> 
> Alex Soto wrote:
> 
> > Ok, well the next thing I'd look at is watch the apache access and
> > error logs and see what the difference is between a regular browser
> > request and a maven request.
> >
> > On 5/4/05, Paul Kuykendall <TX/EUS> <[EMAIL PROTECTED]> wrote:
> > >  Hi,
> > >
> > >  No, I have correctly set the proxy settings.  Maven is able to grab
> > all the
> > > libraries and such from ibiblio.  It just isn't able to find the
> > internal
> > > repository.  I tried swapping the two repository entries (ibiblio
> > and my
> > > internal one) but got the same results.
> > >
> > >  I also removed ibiblio from my repository list.  Again, I receive
> > the 503
> > > error.
> > >
> > >  /Paul
> > >
> > >  Alex Soto wrote:
> > >
> > >
> > > First guess is that since you got a 503 from a request to ibiblio, did
> > >  you set, or forget to set some http proxy properties?
> > >
> > > On 5/4/05, Paul Kuykendall <TX/EUS> <[EMAIL PROTECTED]>
> > wrote:
> > >  > Hi,
> > >  >
> > >  > I've recently started to investigate Maven, but have run into some
> > >  > issues when trying to set up an internal repository for our internal
> > >  > libraries.  I've googled and searched the Maven mailing lists for
> > the
> > >  > past 3 days and have yet to find the answers.  Please excuse the
> > length
> > >  > of the email.  If I can get everything working for some small
> > projects,
> > >  > I may be able to sell the idea to my department at work which
> > would be a
> > >  > godsend.  Thanks in advance.
> > >  >
> > >  > Configuration:
> > >  > I have configured my /etc/hosts file so that www.openlibrary.info
> > points
> > >  > to 127.0.0.1
> > >  > Apache is configured and works fine using the www.openlibrary.info
> > >  > address, at least for me locally.
> > >  >
> > >  > The internal repository is located at
> > > http://www.openlibrary.info/maven
> > >  > Permissions on all maven files allow read access and read/execute
> > for
> > >  > directories.  SELinux security roles were inherited correctly for
> > the
> > >  > files.  Apache will serve the files with no problems from a web
> > browser.
> > >  >
> > >  > My project.properties file has the following line:
> > >  >
> > >
> > maven.repo.remote=http://www.ibiblio.org/maven,http://www.openlibrary.info/maven
> >
> > >  >
> > >  > I am able to browse there correctly with Firefox, including
> > downloading
> > >  > the files by following the links.
> > >  >
> > >  > The dependency section is as follows:
> > >  >    :
> > >  > <dependency>
> > >  >   <groupId>ldapsp</groupId>
> > >  >   <artifactId>ldapsp</artifactId>
> > >  >   <version>1.0</version>
> > >  >   <type>jar</type>
> > >  > </dependency>
> > >  >   :
> > >  >
> > >  > I run Maven and receive the following for each file in my internal
> > >  > repository:
> > >  >
> > >  > Attempting to download ldapsp-1.0.jar.
> > >  > Error retrieving artifact from
> > >  >
> > > [http://www.ibiblio.org/maven/ldapsp/jars/ldapsp-1.0.jar]:
> > >  > java.io.IOException: Unknown error downloading; status code was: 503
> > >  > Error retrieving artifact from
> > >  >
> > > [http://www.openlibrary.info/maven/ldapsp/jars/ldapsp-1.0.jar]:
> > >  > java.io.IOException: Unknown error downloading; status code was: 503
> > >  > WARNING: Failed to download ldapsp-1.0.jar.
> > >  >
> > >  > I also tried changing the maven.repo.remote property to use
> > >  > file:///var/www/html/maven instead (giving the full path name to the
> > >  > repository).  When I did this, I received some files, however I
> > looked
> > >  > in my local maven repository and they all had contents like:
> > >  >
> > >  > <HTML>
> > >  > <HEAD><TITLE>Redirection</TITLE></HEAD>
> > >  > <BODY><H1>Redirect</H1></BODY>
> > >  > </HTML>
> > >  >
> > >  > Again, thank you for any help.
> > >  >
> > >  > /Paul Kuykendall
> > >  >
> > >  >
> > > ---------------------------------------------------------------------
> > >  > 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]
> > >
> >
> > ---------------------------------------------------------------------
> > 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]
> 
>

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

Reply via email to