Hello,

i've recently added maven repository indexing features to the netbeans
maven support. I index the local repository. I query it for
artifactsId/groupId for code-completion in pom.xml, for achetypes when
creating new project. Will also be used for adding dependecies and
general searching features.

a natural next step is to include repome repository content as well,
however the question is how to get it's index. One way would be
probably to distribute the index with the netbeans modules and create
the index manually once in a while. Of course it will be often out of
synch.

Another option is that each repository  exposes the index at a
predefined place and one could retrieve it through wagon. Then it
would be the repository's responsibility to update the index when new
artifacts arrive and the client code would be responsible for updating
the local cached copy regularly.

Here goes the proposal:
let's have
1-  .artifactIndex/ folder for the Artifact index
2- .pomindex/ for Pom index (it would be nice if the pom index
contained completely resolved models with injected parent pom's
content, for details see http://jira.codehaus.org/browse/MRM-121
3- .metadataIndex for indexing metata.

I'm not entirely sure on the content of the folders, will zipping it
up help for download size?
Where would such a remote repository indexing code reside? the maven
repository webapp?

Regards

Milos

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

Reply via email to