What's the easiest way to parse a pom file to pull out some limited
information like artifact name and version?

I know how to declare a MavenProject for automatically parsing my main
pom, but what I need here is to parse some random poms from other
directories.

Should I use MavenXpp3Reader, or just XmlPullParser, or is there an
easy way to construct a MavenProject from a pom filename?

I see that MavenProject has a CTOR that takes a Model, but I don't see
how to create a Model from a pom file.

Phillip

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to