Hello, I've been using the maven repository manager/indexer for a while now, it seems to work fine for indexing and searching local repository however when trying to incorporate remote repositories content I ran into trouble that seem to be on the design level.
Ideal usecase: each remote repository contains the zipped lucene index at a predefined location. Then the IDE integration can have a separate index for each remote repository and the index is easily discoverable without the intervention of the user. The IDE collects the various repository URLs and downloads the indices on request or automatically. Then features like addition of dependencies or plugins can check easily if the dependency can be satisfied by the current project's set of remote repositories, offer to add new repositories or offer to remove a repository that is not used anymore. etc.. That doesn't work however. The feature that would place the index into the repository is not done and it won't work currently because there's a 1:N ratio between the index and the repositories it manages in the maven-repository manager implementation. less ideal usecase: Have at least a set of well known repository indices for download and allow the user to manage that list (by adding their internal company-wide repository index location) That's not an automatic thing but requires intervention from the user (which is a bad thing) but it still ought to work. However here the "1:N" relationship between the index and repositories strikes back again. The search results return back items which are marked as coming from a certain repository. But unfortunately this is a plain text value, that actually describes the name/id the repository got at the server. it has not relation whatsover to the names of repositories that the user's project defines and there's no way to figure out the repository's URL. obscure usecase: So my IDE code has to maintain a list of URL where to get the repository indices. On top of that maintain a list of tokens that the index considers repositories and for these tokens have a configurable ways of mapping them to actual repository URL. Noone is ever going to understand that or be able to setup correctly. Please advise. Milos --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]