> If you'd like, you can use the same code Maven does:
> maven-model-2.0-alpha-1.jar (you'll also need plexus-utils-1.0-alpha-
> 2.jar)
> 
> MavenXppReader reader = new MavenXpp3Reader();
> Model pom = reader.read( new FileReader( new File( "pom.xml" ) ) );
> (with suitable error handling on the FileReader, of course)
> 
> >From that, you have pom.getName(), pom.getBuild(),
> pom.getDependencies(), etc - basically the same as XMLBeans would give
> you.

Cool, I will do this ;-)
Thanks!

yo





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

Reply via email to