Hi Brett,

I actually first renamed the folder on the hard drive and then
re-configured the settings in the Administration dialog.  Only after
those changes the indexer would work.  And I do not think I had a typo
in my configuration since I am pretty sure I copied the folder name into
the administration dialog.  I also could see the changes with a manual
kick-off of the indexer (Run Now).  Before the changes it was running
over night for about 12 hours without being able to index.


Andreas

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 03, 2006 8:30 PM
To: [email protected]
Subject: Re: Using Archiva as a Mirror


On 04/09/2006, at 10:50 AM, Andreas Guther wrote:

> The indexing issue I could resolve.  After changing the folder name  
> for
> the index directory from "maven-archiva-index" to "index" only, the
> index was correctly created.  Could that be a bug in the application?

No, it's just that it detected that it didn't exist and ran the  
indexer instead of waiting an hour (I'm assuming you now have both  
directories existing).

>
> I still could not figure out how to configure that the installation
> proxies the ibiblio repository.
>
> Andreas
>
>
> -----Original Message-----
> From: Andreas Guther
> Sent: Sunday, September 03, 2006 11:57 AM
> To: '[email protected]'
> Subject: Using Archiva as a Mirror
>
> How to use Archiva as Maven2 Mirror
>
>
>
> Hi,
>
> I have build and installed the Archiva Maven Repository Manager  
> (MRM) on
> a Tomcat 5.5.17 instance on the same server I have running an Apache
> server which serves as our internal Maven Repository.
>
> From what I read in the book "Better Builds with Maven" I can use the
> MRM as a proxy and that is exactly what I am trying to get to run  
> right
> now.
>
> I would like to start a mirror on that server.  I have created a new
> folder (maven2-central-proxy) in the same space that is used by Apache
> to server our internal Maven repositories. I have added the  
> directory to
> the Managed Repositories in the Administration dialog of MRM. (BTW:  
> Copy
> and Paste from my configuration can be found at the bottom of this
> email.)
>
> Under "Proxied Repositories" I have added the Ibiblio URL
> http://www.ibiblio.org/maven2/.
>
> Unfortunately I can not figure out how to connect the dots now.   
> How can
> I use this set-up as a proxy?  I am missing some configuration  
> steps and
> hope someone on this list can point me to some documentation or  
> explain
> his or her configuration similar to what I want to achieve.
>
> Oh, another thing:  the maven-metadata.xml file is updated but nothing
> is indexed in the assigned index folder though I have manually  
> copied a
> few folders from our current internal repository.
>
> Is there any documentation I am missing that could help me better in
> understanding the configuration settings?
>
> Thanks in advance for any hint or help.
>
> Andreas
>
>
>
> Below is a copy and paste from the two configuration dialogs of MRM.
>
> Configuration
> Index Directory
> E:\maven\repositories\maven2-central-proxy\maven-archiva-index        
> Indexing Schedule     0 0 * * * ?     Run Now
>
> Edit Configuration
> Managed Repositories
> Edit Repository | Delete Repository
> MarketTools Maven2 Central Repository Proxy
> Identifier    maven2-central-proxy
> Directory     E:\maven\repositories\maven2-central-proxy
> Type  Maven 2.x Repository
> Snapshots Included    
> Indexed       
>
> Add Repository
>
>
> Proxied Repositories
> Edit Repository | Delete Repository
> Maven Central Repository
> Identifier    ibiblio
> URL   http://www.ibiblio.org/maven2/
> Type  Maven 2.x Repository
> Snapshots     
> Releases      Updated daily
> Proxied through       MarketTools Maven2 Central Repository Proxy
> (maven2-central-proxy)
> Use HTTP Proxy        
> Cache Failures        
> Fail Whole Group      
>
> Add Repository
>

Reply via email to