Skip to content
Advertisement

How can I scan a maven repository?

I’m developing a code-sharing plugin for eclipse (for a bachelor thesis project).

Currently I’m trying to scan a maven repository and generate a package list.

I can download and parse a pom.xml using the maven.model classes, but I can’t figure out which maven classes are responsible for parsing of archetype-catalog.xml

Is there a non maven parser?

Can I just scan the entire repository tree for pom.xml files?

edit: Ive found nexus-indexer but i have no idea hot to use it 🙁

Advertisement

Answer

It took ages but i finally found a working example

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement