There are already stub consumers for this in archiva-lucene-consumers (IndexArchiveTableOfContentsConsumer and IndexJavaPublicMethodsConsumer). Only the implementation code is needed.
This would be a good thing to add, it comes up on users@maven occasionally.
See post in archiva-dev titled "WIP/POC archiva-jarinfo" as a potential solution.
I'll implement this feature for now using the consumers, we can just switch over to archiva-jarinfo later if we decide to use it instead
Fixed in trunk -r674740 and -r674768.
This would also be included in the advanced search..